Skip to main content
Glama

Get a run

get_run
Read-only

Returns a run's status, steps, evaluations, credits, and error (metadata only; Kovca never stores inputs or outputs). For a workflow run, detail is what the console's run page shows: the workflow, whether it's still running or waiting (live), progress step by step over the version it runs (done, waiting, running, pending, skipped, not reached), every step's node, branch, error, HTTP attempts, and AI tokens, its waits, the failure with what to do next, its webhook notifications, and the page's URL. Poll it to follow a run that's in progress.

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": {
      "run_id": "<run_id>"
    },
    "name": "get_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesA run ID, like run_…

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, but the description adds genuinely new behavior: 'metadata only; Kovca never stores inputs or outputs' is a data-retention disclosure an agent cannot get from annotations. It also details the step lifecycle states and includes webhook notifications and a page URL, though it says nothing about rate limits or what happens when the run_id is unknown.

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 correctly: the payload summary comes first, the detail expansion second, the polling advice last. The middle sentence is long and re-enumerates fields already listed in sentence one, and the parenthetical step-state list ('done, waiting, running, pending, skipped, not reached') is heavier than needed, but nothing is truly wasted.

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 bears the full burden of explaining returns and does so thoroughly, including progress semantics and failure guidance. An agent still lacks the error/not-found behavior and any pagination or size expectations, which keeps it just short of complete.

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?

There is a single parameter with 100% schema description coverage (including the 'run_…' format and maxLength), so the schema already carries the semantics. The description adds nothing about run_id itself, leaving this at the baseline for fully documented schemas.

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 ('Returns a run's ...') and enumerates the exact payload (status, steps, evaluations, credits, error), which makes it unmistakably the single-run detail fetch rather than the sibling list_runs. The console-run-page framing further pins down what 'detail' means.

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 explicit operational guidance: 'Poll it to follow a run that's in progress,' which tells the agent the intended access pattern. It stops short of naming when not to use it or pointing to retry_run/list_runs for other needs, so no exclusions or alternatives 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