Skip to main content
Glama

Trace a workflow run

get_workflow_run
Read-onlyIdempotent

Use this when the user wants to read one CronCool workflow execution and a bounded page of its step statuses for troubleshooting. Returns the run's status, timings and error code plus its steps with status, attempt, timings and error code, 50 steps by default and 200 at most. Not for listing runs.

Input Schema

NameRequiredDescriptionDefault
runIdYesWorkflow run id
projectIdYesProject id that owns the run
stepLimitNoHow many steps to return, from 1 to 200; defaults to 50

Output Schema

NameRequiredDescriptionDefault
runYes
stepsYesStep status, attempt, timings and machine error code. Workflow inputs, outputs, error messages, deployment details and ownership fields are excluded.
statusYes
stepsTruncatedYesTrue when the run has more steps than were returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / projectId / description
      Previous value: -"Project id owning the run (required)"New value: +"Project id that owns the run"
    • changedInput schema / properties / stepLimit / description
      Previous value: -"Maximum number of steps to return (default 50, max 200)"New value: +"How many steps to return, from 1 to 200; defaults to 50"
    • addedOutput schema / properties / steps / description
      Added value: +"Step status, attempt, timings and machine error code. Workflow inputs, outputs, error messages, deployment details and ownership fields are excluded."
    • addedOutput schema / properties / stepsTruncated / description
      Added value: +"True when the run has more steps than were returned"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/indempotent/non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context: the step list is paginated and bounded (50 default, 200 max), so the agent knows results may be partial and may need the limit raised — though the returned field list largely duplicates the 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the trigger condition, then return contents, then the exclusion. No filler or redundancy; every clause carries information.

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?

For a read-only trace tool with a full input schema, an output schema, and complete annotations, the description supplies everything else an agent needs: purpose, trigger, exclusion, and the bounded nature of the step page.

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%, so runId, projectId and stepLimit are already documented in the schema; the description's restatement of the 50/200 step bounds adds no syntax or semantics beyond that. 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?

Names a specific verb and resource (read one CronCool workflow execution plus a bounded page of its step statuses) and gives the intent (troubleshooting). The closing 'Not for listing runs' separates it from list_workflow_runs without the agent needing to open either schema.

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?

Opens with an explicit trigger condition ('Use this when the user wants to read one ... for troubleshooting') and closes with an explicit exclusion ('Not for listing runs'), pointing the agent at the listing sibling by implication. Both when-to-use and when-not are stated.

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