I try to use Salesforce Tooling API or Metadata API to get Flow metadata information. I check follow salesforce documents:
Both of document has a similar description:
Metadata: You can’t use Metadata API to access a flow installed from a managed package, unless the flow is a template.
Tooling: If the flow is part of a managed package this field will be Null. Metadata isn’t returned for flows in managed packages, unless the flows are templates.
I test in develop console please see follow image about result:
You can see two flow in managed package and not template can query out, but another flows in managed flow and is template can not query out. It looks not match document's description.
Please corrected me if I have some misunderstand and share your idea about these.