Skip to main content
Glama

Power Automate MCP Server by Flow Studio

set_live_flow_state

Idempotent

Start or stop the flow you name. Reads the current state first and only calls Power Automate if a change is actually needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYesDesired state for the flow.
flowNameYesName (ID) of the flow.
environmentNameYesName of the Power Platform environment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already provide idempotentHint and destructiveHint, but the description adds valuable context by explaining how idempotency is achieved (reads current state first, only calls Power Automate if a change is needed). This goes beyond the hints and is consistent with them. No contradictions.

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?

Two concise sentences: one gives the purpose, the second explains a key behavioral trait. No redundant words, front-loaded, and easily scannable.

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?

For a simple state-toggle tool with fully documented parameters and idempotency annotations, this description is complete enough. It doesn't describe return values, but no output schema exists and that is not necessary here. The only minor gap is lack of explicit alternatives or preconditions, but the tool is simple.

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%, and each parameter already has a clear description in the schema. The tool description adds no meaning beyond that baseline, so a 3 is appropriate.

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 (start/stop a flow) and is clearly distinct from siblings like trigger_live_flow, which runs a flow, and update_live_flow, which modifies flow settings. No ambiguity about what the tool does.

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 purpose implies when to use it (when you want to start or stop a flow), but it never explicitly contrasts with sibling tools or states cases where it should not be used. The read-before-write note is more behavioral than usage guidance, so coverage is adequate but not rich.

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.