Skip to main content
Glama

check_agent_job

Checks the status of a delegated agent job by job ID and optionally waits up to 240 seconds for completion; use full=false for a compact response.

Instructions

Check a job, optionally wait up to 240 seconds; full=False returns a compact result.

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": {
      "job_id": "<job_id>"
    },
    "name": "check_agent_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNo
job_idYes
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/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 burden, and it does disclose a meaningful behavioral trait: the call can block for up to 240 seconds, and full=False yields a compact result. It omits what happens when the wait expires, whether the call errors on an unknown job_id, and what the default (full=True) response 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?

A single front-loaded clause with zero filler; the wait and full behaviors follow immediately. It is arguably too terse in places ('Check a job' does not say what is returned), but nothing is wasted.

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

Completeness3/5

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

There is no output schema, so the description is the only source of return-value information, and it only says the result is 'compact' when full=False without describing the fields (state, result, error). For a polling tool with three undocumented-in-schema parameters, this leaves a real gap.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it does for the two non-obvious parameters: full=False is explained as a compact result (implying full=True is verbose, matching the default), and wait_seconds is bounded at 240 seconds, a limit absent from the schema. job_id is left implicit but is self-explanatory.

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 concrete verb and resource ('Check a job') scoped to a single job by job_id, which distinguishes it from list_agent_jobs, but the word 'check' leaves open what is being checked (status, progress, or output). It does not name a sibling explicitly, so the differentiation is implied 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 mention of an optional wait implies this is a polling tool, which is useful usage context, but it never says when to use it versus list_agent_jobs or how often to poll. No exclusions or prerequisites are given.

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