Skip to main content
Glama

Get an automation run

get_task_run
Read-onlyIdempotent

Read one run of an automation: whether it is pending, running, succeeded or failed, its final reply (what it made, with links), and whether it reached each place its results go. Use the taskId and runId from run_playbook. For multi-step Replo work, call skills with name "replo".

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>",
      "runId": "<runId>"
    },
    "name": "get_task_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesThe run, as run_playbook or the Automations app gave it.
taskIdYesThe task the run belongs to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds substantive behavioral detail beyond them: the status lifecycle values, the presence of a final reply with links, and per-destination result delivery — valuable given there is no output schema.

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?

Front-loaded with the core purpose, and the returned-data enumeration is dense but useful. The trailing Replo/`skills` sentence is somewhat tangential to reading a run and slightly dilutes focus, but nothing is padded.

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 two-parameter read tool with full annotation coverage and no output schema, the description explains what comes back well enough to act on. It could note whether a pending/running run should be re-polled, but nothing essential is missing.

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% and the schema already explains that runId comes from run_playbook or the Automations app, so the description's provenance note largely repeats it. It adds no format, range, or failure-mode detail for either parameter, so baseline 3 applies.

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?

States a specific verb and resource ('Read one run of an automation') and enumerates what the run represents: status (pending/running/succeeded/failed), final reply with links, and per-destination delivery status. This clearly separates it from get_task, which operates on the task rather than a single run.

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 an explicit source for the identifiers ('Use the taskId and runId from run_playbook'), which tells the agent the prerequisite call. It also routes multi-step Replo work to the `skills` tool, though that pointer is not framed as a strict when-not-to-use rule.

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.

Resources