Skip to main content
Glama

collect

Retrieves the result of a background delegation by run_id, waiting up to 20 seconds; set cancel to true to stop the run.

Instructions

Result of a background delegation (waits 20 s); cancel=True stops it.

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

Input Schema

NameRequiredDescriptionDefault
cancelNo
run_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the call waits 20 seconds and that cancel=True stops it, but it omits timeout behavior, error handling, and what the returned result looks like.

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?

The definition is a single compact sentence with the most important detail first. There is no wasted wording, though the fragmentary style could be slightly clearer.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool that blocks, supports cancellation, and requires a run identifier, the description is too thin. It lacks details on run_id, timeout behavior, and return semantics, and there is no output schema or annotations to fill those gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for both parameters. It explains cancel=True stops the operation, but it provides no meaning for the required run_id parameter, leaving a significant gap.

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 identifies the resource as the result of a background delegation and implies retrieval via the tool name 'collect'. It is clear enough to distinguish from starting a delegation, but it does not explicitly state the verb or distinguish itself from sibling tools such as status.

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

Usage Guidelines2/5

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

The phrase 'Result of a background delegation' implies usage after delegation, but there is no explicit guidance on when to use this versus alternatives like status or delegate. The 20-second wait and cancel option describe mechanics rather than usage conditions.

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