Skip to main content
Glama

Check a background job

get_job
Read-only

Status, progress, and result for a background job. Free. Available to any credential — if you can start a job, you can always poll 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": {
      "jobId": "<jobId>"
    },
    "name": "get_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesjobId returned by an async tool.
formatNoRendering of the human-readable text channel. "prose" (default) is the full result as a formatted document, every field included; "json" repeats the data verbatim; "report" is a formatted Markdown report to show a person; "html" is a standalone HTML document for saving, printing or PDF. Machine-readable structuredContent is always included either way.

Output Schema

NameRequiredDescriptionDefault
dataYes
displayNo
apiVersionYes
disclaimerYes
limitNoticeNo
balanceNoticeNo
suggestedNextNo
criminalCaveatNo
notConsumerReportYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / limitNotice
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "const": "approaching_daily_limit",
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "usage": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "criminalSameSubjectPerDay": {
      +          "type": "number"
      +        },
      +        "distinctSubjectsPerDay": {
      +          "type": "number"
      +        },
      +        "distinctSubjectsUsed": {
      +          "type": "number"
      +        },
      +        "resetAt": {
      +          "type": "string"
      +        },
      +        "sameSubjectPerDay": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "distinctSubjectsUsed",
      +        "distinctSubjectsPerDay",
      +        "sameSubjectPerDay",
      +        "criminalSameSubjectPerDay",
      +        "resetAt"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "usage",
      +    "message"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / display
      Added value: +{
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / format / description
      Previous value: -"Rendering of the human-readable text channel. \"prose\" (default) is a compact summary an agent can reason over; \"json\" repeats the data verbatim; \"report\" is a formatted Markdown report to show a person; \"html\" is a standalone HTML document for saving, printing or PDF. Machine-readable structuredContent is always included either way."New value: +"Rendering of the human-readable text channel. \"prose\" (default) is the full result as a formatted document, every field included; \"json\" repeats the data verbatim; \"report\" is a formatted Markdown report to show a person; \"html\" is a standalone HTML document for saving, printing or PDF. Machine-readable structuredContent is always included either way."
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, closed-world safety profile, and the description adds two things they don't: that calls are free and that no elevated credential is needed to poll. That cost and authorization context is genuinely useful for an agent deciding whether to poll repeatedly. It stops short of disclosing result retention, expiry, or rate limits on repeated polling.

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?

Two short sentences, zero filler, with the core purpose front-loaded before the cost and access notes. Every clause earns its place.

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

Completeness4/5

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

With an output schema present and full schema coverage, the description doesn't need to explain return values, and it correctly focuses on purpose and access. The remaining gap is polling behavior — terminal states and how often to call — which matters for a job-status tool. Otherwise it is complete for the tool's complexity.

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 description coverage is 100%, so both jobId and the format enum are already fully documented, including what each rendering mode produces. The description adds no parameter meaning beyond that and never mentions the format option at all. Baseline 3 is appropriate when the schema carries the full burden.

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 names a specific resource and the three things it returns: status, progress, and result for a background job. An agent can immediately tell this is the polling endpoint for async work. It doesn't need to differentiate from a named sibling because no other job-polling tool appears in the catalog, but it also doesn't explicitly say so.

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?

Usage is only implied: the agent must infer that this is called after an async tool returns a jobId, and that it should be re-called until the job reaches a terminal state. There is no guidance on polling cadence, how to detect completion, or what to do if a job is still running. The one explicit condition ('if you can start a job, you can always poll it') is about authorization, not selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources