Skip to main content
Glama

Get run

get_run
Read-onlyIdempotent

Read a run: its status, the question it is waiting on, or its result and per-step record. Pass wait_seconds to wait for a running run to finish or pause.

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_idYes
wait_secondsNoSeconds to wait for the run to finish or ask a question (0-120, default 0). The run carries on after the wait either way; call get_run to pick it up again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds genuine behavioral information: a run can be running, waiting on a question, or finished, and waiting causes a pause point rather than termination. It stops short of describing error behavior for an invalid or unknown run_id.

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?

Two tight sentences with the primary capability front-loaded and the optional waiting behavior second. Every clause carries meaning and nothing is redundant filler.

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 usefully compensates by naming the response shapes an agent will receive. For a two-parameter read tool this is nearly complete, with only run_id acquisition and not-found behavior left implicit.

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 only 50% – run_id has no schema description – and the description does not explain its format or where to obtain it, though "Read a run" makes its role obvious. The wait_seconds explanation largely restates the schema's own parameter description, so the added value is modest.

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 a run") and enumerates the concrete things it can return: status, the pending question, or result plus per-step record. This enumeration implicitly distinguishes it from answer_run and cancel_run, which act on a run rather than read it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second sentence tells the agent to pass wait_seconds to wait for a running run to finish or pause, which is real usage context. However, it offers no explicit when-not guidance or pointer to alternatives for answering the pending question or cancelling, leaving the agent to infer the routing from sibling names.

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.