Skip to main content
Glama
sapientsai

power-automate-mcp-server

by sapientsai

get_flow_run

Read-only

Retrieve a flow run's status, timing, triggering action, and first-failure error code/message for debugging, with full properties included.

Instructions

Get one run in detail for debugging: status, timing, the triggering action, and the first-failure error code/message. The original run properties are included under raw (per-action breakdown lives there when the API provides it). Parameters: flow (required), run (required, from list_flow_runs), environment (optional). Uses Microsoft's unofficial api.flow.microsoft.com endpoint, which Microsoft labels unsupported; behavior may change. Example: get_flow_run { "flow": "", "run": "" }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runYesRun id (from list_flow_runs).
flowYesFlow GUID name (from list_flows).
environmentNoEnvironment id (from list_environments). Omit to use the user's default environment.
Behavior5/5

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

Beyond the readOnlyHint annotation, the description warns that it uses Microsoft's unofficial api.flow.microsoft.com endpoint, labels it unsupported, and cautions that behavior may change. It also explains that original run properties are under `raw` and that per-action breakdown appears only when the API provides it, adding valuable context not captured in annotations.

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?

Four concise sentences, front-loaded with the primary purpose, then a useful output note, parameter summary, and example. No filler or redundancy.

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?

Despite the lack of an output schema, the description covers key return fields, parameter requirements, an example invocation, and a critical unsupported-endpoint caveat. It adequately prepares the agent for debugging a run, though a little more on response structure would make it fully complete.

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 coverage is 100% with each parameter already described (e.g., 'Omit to use the user's default environment'). The description reiterates the parameters but adds little new meaning, with the exception of a usage example. Per the rubric, high schema coverage yields a baseline of 3.

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 clearly states the tool's function: 'Get one run in detail for debugging' and lists specific outputs (status, timing, triggering action, first-failure error). It differentiates from siblings like list_flow_runs (which lists runs) and get_flow (which retrieves flow details).

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?

The phrase 'for debugging' offers clear context for when to use the tool, and parameter provenance ('from list_flow_runs', 'from list_flows') indicates dependencies. However, it does not explicitly mention alternative tools or when not to use it, so it stops short of full exclusion guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sapientsai/power-automate-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server