Skip to main content
Glama

Check a background job

check_job
Read-onlyIdempotent

Retrieve the status and final result of a background trading job started by start_job; omit job_id to list all jobs this server still holds. Safe to poll.

Instructions

Check a background job started by start_job. Returns its status and, once it has finished, the full result in the same form the direct tool returns. Omit job_id to list every job this server still holds. Changes nothing, so it is safe to poll.

Input Schema

NameRequiredDescriptionDefault
job_idNoAn id exactly as start_job returned it. Omit to list every job this server process holds.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.1
    • changedInput schema / properties / job_id / description
      Previous value: -"An id from start_job, such as \"job-1\". Omit to list every job this server process holds."New value: +"An id exactly as start_job returned it. Omit to list every job this server process holds."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is largely pre-covered; the description nonetheless reinforces this with 'Changes nothing, so it is safe to poll'. It additionally discloses the result-form equivalence ('the full result in the same form the direct tool returns'), which is useful context an agent cannot get from annotations. No auth or rate-limit detail is given.

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 load-bearing: purpose, return behavior, fallback mode, and safety. The most important facts (what it checks, safe to poll) are front-loaded with no filler.

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?

For a single-optional-parameter read tool with an output schema, nothing essential is missing. It covers the create/check relationship, the empty-argument behavior, and the safety profile, and it correctly avoids re-specifying return values at length.

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 100% and the single parameter already documents omission behavior, so the baseline is 3. The description adds provenance the schema does not ('an id exactly as start_job returned it') and restates the list-all fallback, giving slightly more than the structured field alone.

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?

Specific verb+resource ('Check a background job') with explicit lineage to the sibling tool that creates the job ('started by start_job'). It also states what is returned (status, then full result) so an agent can distinguish it from start_job or the synchronous tools.

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?

States both operating modes clearly: pass an id to check one job, omit it to enumerate all held jobs. It also notes it is 'safe to poll', which tells the agent when repeated calls are appropriate. It does not explicitly name a when-not-to-use condition or a competing alternative, so it stops short of a 5.

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