Skip to main content
Glama
sapientsai

power-automate-mcp-server

by sapientsai

list_flows

Read-only

List all cloud flows in an environment, returning each flow's GUID, name, and state. Use this first to discover flow IDs needed by other flow management tools.

Instructions

List / enumerate all cloud flows in an environment — get every flow's GUID, name, and state. The flow inventory / directory. START HERE to discover flows: this is the only tool that returns flow GUIDs (ids). Every per-flow tool (get_flow, enable_flow, disable_flow, list_flow_runs, list_flow_owners, update_flow, delete_flow) needs a GUID that ONLY this tool produces — so call this first to find flows. Returns: array of { name, displayName, state, createdTime, lastModifiedTime, owner }. name is the flow GUID used by the other flow tools; state is Started/Stopped/Suspended. Parameters: environment (optional), owner (optional — filter by creator userId/email). Uses Microsoft's unofficial api.flow.microsoft.com endpoint, which Microsoft labels unsupported; behavior may change. Example: list_flows { "owner": "user@contoso.com" }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerNoFilter to flows created by this principal (userId or email).
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 declare readOnlyHint=true, and the description aligns with that by framing the action as inventory/list. It adds important context beyond annotations by revealing the unofficial, unsupported endpoint and warning that behavior may change. It also details the return structure and state values, though it does not cover pagination or error conditions.

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?

The description is well-organized in short, labeled segments (purpose, usage, returns, parameters, caveat, example). Every sentence adds distinct value—from the 'START HERE' directive to the unofficial endpoint warning—without redundancy. It is appropriately sized for the tool's complexity.

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 takes on the responsibility of explaining return values, and it does so clearly (array of fields, GUID meaning, state values). It also covers usage context, parameter behavior, example call, and a stability caveat. This is complete for a simple read-only list tool with two optional parameters.

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%, so the baseline is 3. The description adds minimal value over the schema for parameters themselves: it repeats 'environment (optional)' and 'owner (optional — filter by creator userId/email)' almost exactly as the schema descriptions. It does clarify that 'name' in the output is the flow GUID, but that is output rather than parameter semantics.

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 uses specific verbs 'List / enumerate' and clearly identifies the resource ('all cloud flows in an environment') and the key outcome (returning flow GUIDs). It distinguishes itself from siblings by stating it is the only tool that produces flow GUIDs, making its purpose unambiguous.

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

Usage Guidelines5/5

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

The description explicitly instructs 'START HERE to discover flows' and explains that every per-flow tool needs a GUID that only this tool produces. It also names the sibling tools that depend on this output, providing strong when-to-use guidance and creating a clear workflow.

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