Skip to main content
Glama

Power Automate MCP Server by Flow Studio

List flow runs

get_live_flow_runs
Read-only

Fetch run history for a flow directly from Power Automate. Returns { runs, runCount, triggerChecks }: each run has name, status, startTime, endTime, trigger name/code, and any top-level error. IMPORTANT — no runs does NOT mean the flow is healthy. A trigger that fires and evaluates to nothing, or fails to evaluate, records a TRIGGER CHECK and never becomes a run. When there are no runs (or when includeTriggerChecks is set) this tool also reports the trigger check history, so "nothing ran" can be told apart from "the trigger has been failing". Read triggerChecks.byStatus before concluding a flow is fine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoMax runs to return. Paginates automatically. Default 30.
flowNameYesName (ID) of the flow.
environmentNameYesName of the Power Platform environment.
includeTriggerChecksNoAlso report trigger check history when runs DO exist. Checks are always reported when there are no runs. Costs two extra API calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / includeTriggerChecks
      Added value: +{
      +  "description": "Also report trigger check history when runs DO exist. Checks are always reported when there are no runs. Costs two extra API calls.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description goes far beyond that by disclosing the return shape, the critical caveat that no runs does not mean the flow is healthy, the trigger-check mechanism, and the extra API-call cost of includeTriggerChecks.

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

Conciseness4/5

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

The description is front-loaded with purpose, then return shape, then the important caveat. Most sentences earn their place, but there is mild redundancy in the two sentences explaining trigger checks, and the warning could be tightened slightly.

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

Completeness5/5

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

With no output schema, the description adequately explains the return object (runs, runCount, triggerChecks) and the fields of each run. It also covers the critical interpretation nuance about trigger checks, leaving nothing essential missing for correct invocation and understanding.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds real meaning for includeTriggerChecks by explaining when trigger check history is returned and why it matters (distinguishing 'nothing ran' from 'the trigger is failing'), which goes beyond the schema's brief note.

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

Purpose4/5

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

The description states a specific verb (Fetch) and resource (run history for a flow) and sources it to Power Automate, which implicitly separates it from store-flow siblings. However, it never explicitly names or contrasts with siblings like get_live_flow_run_error or get_store_flow_runs, so sibling differentiation is left to inference.

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

Usage Guidelines3/5

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

There is no explicit when-to-use versus alternatives; the agent must infer that this tool is for retrieving run history. The directive 'Read triggerChecks.byStatus before concluding a flow is fine' is a useful scenario cue, but it does not guide selection among sibling tools.

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.