Skip to main content
Glama

check_delegation

Poll a background delegation to get its status (RUNNING, DONE, or TIMED OUT), elapsed time, session ID, and latest output; omit the ID to list all jobs.

Instructions

Check a delegation started with background:true. Returns RUNNING, DONE or TIMED OUT, the elapsed time, the session id, and the last 8,000 characters of the agent's output. Each poll costs context, so wait between polls instead of checking in a tight loop. Call with no id to list all jobs.

Input Schema

NameRequiredDescriptionDefault
idNoJob id returned by delegate with background:true. Omit to list all jobs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.4

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the disclosure burden and does well: it names the three terminal statuses, the elapsed-time and session-id returns, the 8,000-character output truncation, and the context cost of each poll. It stops short of stating auth requirements or backing-store behavior.

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?

Three short sentences, each doing distinct work: payload contents, polling discipline, and the id-omitted mode. No filler, and the core return contract is front-loaded.

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?

With no output schema and no annotations, the description compensates by explaining exactly what comes back (status, elapsed, session id, truncated output) and how to poll responsibly. Nothing an agent needs to invoke it correctly is missing.

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's description already says 'Omit to list all jobs'. The description repeats that hint but adds no format or validation detail beyond the schema, so 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 (check) on a specific resource (a delegation started with background:true). It clearly distinguishes itself from the sibling delegate tool by framing itself as the poller, not the starter, and notes the no-id listing mode.

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

Usage Guidelines4/5

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

Gives concrete operational guidance: wait between polls instead of tight-looping, and omit the id to list all jobs. It doesn't explicitly name a sibling alternative for starting a job, but the when/how is well covered.

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