Skip to main content
Glama
sapientsai

power-automate-mcp-server

by sapientsai

list_flow_runs

Read-only

List recent runs of a Power Automate flow, newest first, with status, start time, duration, and error details. Filter by status to find failures or monitor execution history.

Instructions

List recent runs of a flow, newest first. Returns: array of { name, status, startTime, endTime, durationMs, triggerName, error }. name is the run id used by get_flow_run. Parameters: flow (required), environment (optional), top (optional, default 20, max 100), status (optional: Succeeded/Failed/Running/Cancelled). Uses Microsoft's unofficial api.flow.microsoft.com endpoint, which Microsoft labels unsupported; behavior may change. Example: list_flow_runs { "flow": "", "status": "Failed", "top": 10 }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoMax runs to return (default 20, max 100).
flowYesFlow GUID name (from list_flows).
statusNoFilter by run status.
environmentNoEnvironment id (from list_environments). Omit to use the user's default environment.
Behavior4/5

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

Annotations already indicate readOnlyHint=true, and the description adds a valuable disclosure that the tool uses Microsoft's unofficial api.flow.microsoft.com endpoint, which is unsupported and may change behavior. This is beyond what annotations provide.

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 structured with purpose, return type, parameters, caveat, and example. It is longer than minimal but every section adds value, with the caveat and example being useful.

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?

No output schema exists, but the description explains the return array format and fields. It also includes parameter details, an example, and a stability warning, making it complete for a read-only listing tool.

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 baseline is 3. The description reiterates parameter details (defaults, enums) already in the schema but does not add new meaning beyond providing a usage example.

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 'List recent runs of a flow, newest first,' which is a specific verb+resource. It clearly distinguishes from siblings like get_flow_run by mentioning that the returned `name` is the run id used by get_flow_run.

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?

The description implies usage by showing an example and referencing get_flow_run, but it does not explicitly state when to use this tool versus alternatives or when not to use it. The context is clear but exclusions/alternatives are not directly addressed.

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