Skip to main content
Glama

GetBackgroundRun

Read a background run by its run_handle to check whether it is still running or retrieve the system answer, including errors. This read preserves the run for later inspection or discard.

Instructions

[read-only] [runtime] Reads one of your background runs by its run_handle: running, or finished with what the run tool answered (the system answer as it is, an error included). A read keeps the run; a finished run is kept until you discard it. Runs outside batch mode.

Input Schema

NameRequiredDescriptionDefault
run_handleYesThe run_handle a run started with background=true answered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv20.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it tags itself read-only and runtime, notes a read keeps the run, explains a finished run persists until discarded, and states the system answer is returned verbatim including errors. Missing only rate-limit/polling behavior.

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?

Three dense sentences with bracketed mode tags front-loaded and no filler; each clause conveys distinct information about state, retention, and return content.

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?

No output schema exists, and the description compensates by explaining what is returned (the run tool's answer, errors included) and the retention lifecycle. Adequate for a single-parameter read tool, though polling guidance for in-progress runs is absent.

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 100% and the single parameter is already fully documented as 'the run_handle a run started with background=true answered'. The description restates this without adding format or sourcing detail, so the schema does the real 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?

States a specific verb and resource: reads one background run by its run_handle, covering both running and finished states. It implicitly distinguishes itself from ListBackgroundRuns by being handle-scoped, but never names the sibling, so the differentiation is inferred 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?

The closing line 'Runs outside batch mode' hints that batch-mode runs should be retrieved elsewhere (BatchAnswers), which is genuinely useful routing. However no explicit when/when-not or named alternatives are given, so usage must be inferred.

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

Deploy Server

Other Tools