Skip to main content
Glama

run_result

Read-onlyIdempotent

Retrieve a completed run's final answer, verdict, and list of changed files by run ID. Use it to review the outcome of a subagent run started via agent-mcp.

Instructions

Fetch a finished run's answer, verdict and changed files.

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": "run_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes

Output Schema

NameRequiredDescriptionDefault
logNo
errorNo
stateYes
usageNo
reasonNo
run_idYes
verdictNo
final_textNo
session_idNo
changed_filesNo
structured_outputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world behavior, so the safety profile is covered. The description adds the important behavioral constraint that the run must be 'finished' and names the returned artifacts, but does not say what happens if the run is still running or failed.

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?

A single front-loaded sentence with no filler. Every word earns its place and the key constraint ('finished') appears immediately.

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 simple one-parameter read tool with rich annotations and an output schema, the description covers what is needed to call it correctly. The main omission is the behavior when the run is not finished.

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?

Only one parameter exists (run_id) and its name is self-explanatory, but schema description coverage is 0% and the description never mentions it—no format, source, or constraint guidance. The schema does carry minLength/maxLength, which helps slightly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Fetch) and resource (a finished run's answer, verdict, and changed files). The word 'finished' implicitly distinguishes it from run_status and runs_list, though no sibling is named explicitly.

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?

Usage is implied: use this after a run has finished to retrieve its outputs. There is no explicit guidance on what to do when the run is not finished (e.g., use run_status instead) and no named alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.