Skip to main content
Glama

Power Automate MCP Server by FlowStudio

Get flow definition

get_live_flow
Read-only

Fetch the full native Power Automate flow JSON from the PA API, including the complete flow definition (triggers, actions, parameters, outputs). Returns the raw properties object exactly as the PA API returns it. Use this to inspect the full definition before calling update_live_flow with a modified definition.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "environmentName": "<environmentName>",
      "flowName": "<flowName>"
    },
    "name": "get_live_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNofull (default): the whole definition. summary: the action tree — name, type, operation, runAfter, nesting — with no inputs. Use summary on a large flow, then ask for the actions you need.
actionsNoReturn only these actions, found at any nesting depth and each reported with the scopes it sits in, plus triggers. Combine with depth:"summary" to get the tree as well.
versionNoAn earlier version to read instead of the current flow: a version from get_live_flow_versions, or a date.
flowNameYesName (ID) of the flow.
environmentNameYesName of the Power Platform environment.
includeTriggerUrlNoAlso return the HTTP trigger URL. It is a credential: anyone holding it can run the flow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / version
      Added value: +{
      +  "description": "An earlier version to read instead of the current flow: a version from get_live_flow_versions, or a date.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / includeTriggerUrl
      Added value: +{
      +  "description": "Also return the HTTP trigger URL. It is a credential: anyone holding it can run the flow.",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / actions
      Added value: +{
      +  "description": "Return only these actions, found at any nesting depth and each reported with the scopes it sits in, plus triggers. Combine with depth:\"summary\" to get the tree as well.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / depth
      Added value: +{
      +  "description": "full (default): the whole definition. summary: the action tree — name, type, operation, runAfter, nesting — with no inputs. Use summary on a large flow, then ask for the actions you need.",
      +  "enum": [
      +    "summary",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false and closed-world scope, so safety is covered. The description adds genuinely useful behavior beyond that: the return is the raw properties object exactly as the PA API returns it, meaning no normalization or field pruning — important since no output schema exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the action and payload, followed by the return-shape caveat and the intended follow-up call. No filler or repetition of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six parameters and no output schema, the description does enough: it explains what comes back (raw properties object) and why to call it. It omits failure behavior for unknown flows/environments and the versioning path, though the schema covers the version parameter and depth/actions modes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all six parameters (depth, actions, version, flowName, environmentName, includeTriggerUrl) are already well documented in the schema, including the credential warning on the trigger URL. The description adds no parameter-level meaning beyond that, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Fetch the full native Power Automate flow JSON from the PA API') and enumerates what the definition contains (triggers, actions, parameters, outputs). It distinguishes itself from get_store_flow by emphasizing native PA API JSON and names update_live_flow as the consumer of this data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear workflow condition: inspect the full definition before calling update_live_flow with a modified definition. It does not, however, contrast with siblings that also read definitions (get_live_flow_versions, diff_live_flow, get_store_flow) or say when a summary read is preferable — that routing lives only in the schema's depth description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.