Skip to main content
Glama

get_run

Read-only

Read an existing run's status and available results, files, and error details. Status is queued, running, succeeded, failed, stopped, or unknown. Unknown is terminal. Verify what happened before deciding whether to run again, and never auto-retry unknown or RESULT_UNKNOWN. An empty outputs object with outputsAvailable=true means the execution can report outputs and has none to show. Each file of a cloud run includes a download_url that opens AIVane and downloads the file after the user signs in; give it to the user as a link. Errors can include NOT_FOUND, BUSY (retryable), SESSION_REQUIRED, or UNAUTHORIZED.

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_idYesThe id returned by run_automation.
include_screenshotNoRequest a screenshot, if available, up to 1 MB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare a safe read operation; the description goes well beyond that by enumerating all status values, declaring 'unknown' terminal, explaining the outputsAvailable semantics for empty outputs, noting that cloud-run files carry a download_url that requires sign-in to work, and listing error codes with BUSY flagged retryable. This is exactly the extra behavioral context annotations cannot provide.

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?

Dense but front-loaded: purpose first, then status semantics, then the action rule, then output/error semantics. Most sentences carry operational weight, though the RESULT_UNKNOWN reference is never defined and slightly muddies an otherwise tight block.

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?

There is no output schema, so the description takes on the burden of describing returns — status enum, the outputs object and outputsAvailable flag, file download_url behavior, and the error code set. That is sufficient for a two-parameter read tool and leaves nothing an agent needs in order to call it correctly.

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%, and both run_id and include_screenshot are already documented in the schema, including the 1 MB screenshot cap. The description adds no further meaning about either parameter, so the 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 — reading an existing run's status, results, files, and error details — and the required run_id ('returned by run_automation') makes clear this is single-run inspection rather than the sibling list_runs. An agent can distinguish it from the other tools in the family without opening a 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?

Explicitly says when to call it ('verify what happened before deciding whether to run again') and adds a hard constraint against auto-retrying on unknown or RESULT_UNKNOWN states. That is a real when/when-not rule, not just an implied use case.

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