Skip to main content
Glama

Get run

get_run
Read-onlyIdempotent

Retrieve a single DevIntern run by ID, including its stages, retry eligibility, harness logs, and artifacts, to inspect progress or debug delegated coding tasks.

Instructions

One run with its stages, retry eligibility, harness log list, and artifact list (devintern worker runs show <id> --json).

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

Input Schema

NameRequiredDescriptionDefault
runIdYesRun id, as listed by list_runs

Output Schema

NameRequiredDescriptionDefault
runNo
retryNo
stagesNo
messageNo
artifactsNo
errorCodeNoSet on failure: stable error code
nextStepsNoSet on failure: steps to run next (`command` runs on the worker host)
harnessLogsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds that the response bundles stages, retry eligibility, and log/artifact lists — useful context about aggregate scope — but says nothing about payload size, truncation, or error behavior, which matters for a tool that returns collections.

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?

A single front-loaded sentence with the resource first and its contents after; nothing is padding. The backtick-quoted CLI equivalent is arguably an extra clause, but it is compact and does convey the underlying command's semantics.

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 an output schema present, the description need not document return values, yet it still summarizes them, which is more than sufficient for a one-parameter read tool. The only real omission is explicit routing guidance against the sibling readers, which is not required for correct invocation.

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 the single runId parameter is documented there, including the cross-reference to list_runs. The description adds nothing about the parameter beyond that, so it falls exactly at the baseline where the schema does all the work.

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?

The description gives a specific verb+resource (fetch one run) and enumerates the payload: stages, retry eligibility, harness log list, artifact list. It is clearly distinguished from a list operation by 'One run', but it never names the sibling it should be contrasted with (list_runs), so the differentiation is implicit rather than stated.

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?

There is no explicit 'use this when...' statement or exclusion versus list_runs, read_run_log, or read_run_artifact. The phrasing implies usage as the aggregate detail view for a single run id, and mentioning the log/artifact lists softly routes the agent to the dedicated readers for their contents, but that inference is left to the reader.

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