Skip to main content
Glama

Power Automate MCP Server by FlowStudio

Run flow

trigger_live_flow

Run a flow on demand — the same as the maker portal's "Run flow" button. Works with Request triggers (HTTP request, manual Button, PowerApps) and with scheduled RECURRENCE flows, which run immediately; a scheduled flow takes no inputs, so passing body to one is refused. Pass trigger inputs as body. Automated connector triggers only fire from their source event.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "environmentName": "<environmentName>",
      "flowName": "<flowName>"
    },
    "name": "trigger_live_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body to POST to the trigger URL. Omit for flows that expect an empty body.
flowNameYesName (ID) of the flow.
connectionsNoOnly for a flow whose connections are provided by whoever runs it. Map of connection-reference name to the connection id to run it with, e.g. {"shared_office365users":"shared-office365user-…"}. Omit unless the result told you the connection picked was wrong; ids come from list_live_connections.
environmentNameYesName of the Power Platform environment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / body / additionalProperties
      Added value: +true
    • addedInput schema / properties / connections / additionalProperties
      Added value: +{
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / connections
      Added value: +{
      +  "description": "Only for a flow whose connections are provided by whoever runs it. Map of connection-reference name to the connection id to run it with, e.g. {\"shared_office365users\":\"shared-office365user-…\"}. Omit unless the result told you the connection picked was wrong; ids come from list_live_connections.",
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and non-idempotent, so the agent knows this starts a real execution; the description adds useful context such as the input-refusal rule for scheduled flows and the connection-override escape hatch. However, it says nothing about what the call returns (run id, run status), which matters for a non-idempotent action whose follow-up is inspecting a run.

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?

Three sentences, front-loaded with the identity of the action, with every sentence carrying a distinct constraint (trigger types, body refusal, connector-trigger exclusion). Minor overlap between 'Pass trigger inputs as body' and the scheduled-flow clause keeps it from a 5.

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

Completeness3/5

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

For a non-destructive but state-changing action with 4 fully documented parameters, the description covers invocation correctly, but with no output schema it leaves the return value undescribed, so the agent cannot tell whether it gets a run id to feed into get_live_flow_run_action_outputs or must poll get_live_flow_runs.

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 coverage is 100%, so the baseline is 3; the description adds meaning by tying body to trigger inputs and stating the constraint that a scheduled flow takes no inputs and refuses body. The connections guidance is already in the schema, so there is little net addition there.

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?

States a specific verb and resource ('Run a flow on demand') and pins the semantics to the maker portal's Run flow button, so the agent knows this starts an execution rather than inspecting one. It further scopes which trigger types qualify, which separates it from run-inspection siblings like get_live_flow_runs and resubmit_live_flow_run, though no sibling is named outright.

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?

Gives clear when-to-use conditions (Request triggers, manual Button, PowerApps, scheduled RECURRENCE flows) and an explicit when-not-to-use ('automated connector triggers only fire from their source event'), plus the refusal case for passing body to a scheduled flow. It does not name an alternative for re-running a failed run, where resubmit_live_flow_run might be the better choice.

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.