Skip to main content
Glama

job_status

Give the background jobs of the tool calls, the state or the result of one job, or cancel a job.

Instructions

Give the background jobs of the tool calls, the state or the result of one job, or cancel a job.

A tool call that takes longer than 20 s becomes a background job: its answer starts with "⏳" and gives the job ID, and the work continues (also when the client stops to wait for the call). This tool gives the result of the job: the same text that the tool gives, or the same error. A call of the same tool with the same arguments while its job runs starts no second run: it waits for that job again (up to 20 s) and gives its result or its ID. The list also has the calls that run in their first 20 s. The jobs are in the memory of the server process: a restart of the server (of the MCP client) loses them. A finished job stays 1 h (the 50 newest finished jobs).

A cancel stops the task of the job at its next step. Work in a thread does not stop: kicad-cli, the Python of KiCad or a file write can still end and change files. Only the schematic edit tools (add_component_from_library, add_wire and the label tools) do not save when the cancel comes before their save. Check the files after a cancel. Cancel a job only when the user asks.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "job_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
cancelNoTrue: cancel the running job job_id.
job_idNoThe ID of a job. Empty: the list of the jobs of the server process.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so: jobs live in server-process memory and are lost on restart, finished jobs persist 1 h / newest 50, and results or errors are returned verbatim. The cancel semantics are unusually candid — cancellation stops at the next step, thread work (kicad-cli, KiCad Python, file writes) can still complete and mutate files, only the schematic edit tools skip their save, so files must be checked afterward.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The three modes are front-loaded in the first sentence, which is good structure, but the prose is long, repetitive ('gives the result of the job: the same text that the tool gives') and grammatically awkward, forcing the agent to parse run-on sentences to extract the retention and cancel rules.

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?

There is no output schema, yet the description tells the agent what comes back (identical text or identical error to the original tool call) plus retention limits and the destructive side effects of cancellation. For a two-parameter status/cancel tool this covers everything needed to call it safely.

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 schema already documents both fields (job_id empty = list, cancel = cancel job_id). The description reinforces the empty-job_id list mode and the reuse of a job ID from a '⏳' response, but adds no format or syntax details beyond what the schema states, so the baseline 3 applies.

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 opening sentence enumerates the three distinct modes (list background jobs, fetch state/result of one job, cancel a job), which is a specific verb+resource set an agent can act on. The wording is slightly garbled ('Give the background jobs of the tool calls'), but the scope is unmistakable and clearly different from the schematic/PCB siblings.

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

Usage Guidelines5/5

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

It explains exactly when this tool applies: any call exceeding 20 s returns a '⏳' answer with a job ID, and that ID is what you feed back here. It also states the deduplication behavior (same tool + same args while a job runs waits rather than re-running) and gives an explicit when-not: 'Cancel a job only when the user asks.'

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