Skip to main content
Glama

Power Automate MCP Server by FlowStudio

Get task

get_task
Read-only

Get the status and result of a long-running tool call. When a tool replies with a taskId and status "working", the work is still running on the server: do not call that tool again. Wait pollIntervalMs, then call this with the taskId until status is completed or failed. Free.

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": {
      "taskId": "<taskId>"
    },
    "name": "get_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesThe taskId from the tool's reply.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/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 safety is covered; the description adds the task lifecycle (working → completed/failed), the polling cadence requirement, the warning against re-invoking the originating tool, and a cost note ("Free"). It stops short of describing the shape of the returned status/result payload, which is the main remaining gap.

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?

Four short sentences, front-loaded with the purpose, then the trigger, the procedure, and the cost note. Every sentence carries operational information and none is redundant.

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?

With no output schema, the description carries the burden of return semantics, and it does indicate that status and result are returned and that terminal states are completed or failed. It could say more about what the result contains or how long polling may take, but it is adequate for a single-parameter polling 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?

Only one parameter, and the schema already describes taskId at 100% coverage as "the taskId from the tool's reply". The description restates that provenance and mentions pollIntervalMs, which is not actually a parameter of this tool, so it adds little semantics the schema does not already carry.

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?

"Get the status and result of a long-running tool call" names a specific verb and resource and makes the async-task scope explicit. Sibling tools all concern flows, runs, connections and stores, so this polling tool is clearly distinguishable from them.

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?

Gives an explicit trigger (a tool returned a taskId with status "working"), an explicit prohibition (do not call that tool again), a procedure (wait pollIntervalMs, then poll), and a termination condition (until completed or failed). Nothing about when to invoke versus stop is left to inference.

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.