Skip to main content
Glama

Get job status

get_job_status
Read-only

Read a job's status, progress and compact terminal summary with persisted record IDs. Status is pending, running, paused, completed, failed or cancelled. Relay pause questions with answer_job_question; answer a delegated job's llm_requests with answer_llm_request. include_result=true returns full terminal details; batch summaries count entities and database outcomes. A failed job is not usable output; inspect individual records for partial recovery. An unknown job ID says nothing about the outcome: look for persisted outputs with list_records(job_id=...). events_after= adds the job's event log past that cursor (per-model completions, scoring progress, pauses) — the poll equivalent of the SSE stream; pass the returned last_seq next time. On a delegated job, llm_requests lists the pending model calls: the first complete, the rest as envelopes; llm_request_id= returns that one complete. No LLM call. Polling, failure and recovery guidance: enricher://docs/enrichment-and-fusion.

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

Input Schema

NameRequiredDescriptionDefault
job_idYesJob ID returned by a start tool.
events_afterNoEvent-log cursor: 0 returns the job's events from the start, a previous call's last_seq returns only the newer ones (at most 100 per call; events_has_more says when to call again). Omit to skip the log.
include_resultNoInclude the full terminal result payload (can be large). Default returns a compact scalar summary per model.
llm_request_idNoOn a job delegating its LLM calls: return this pending request complete (messages, systemPrompt, tools, toolChoice, attachments) as the only entry of llm_requests. request_not_pending when it is no longer waiting.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / llm_request_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "On a job delegating its LLM calls: return this pending request complete (messages, systemPrompt, tools, toolChoice, attachments) as the only entry of llm_requests. request_not_pending when it is no longer waiting.",
      +  "title": "Llm Request Id"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description usefully confirms "No LLM call" and warns that a failed job is not usable output requiring per-record recovery. Beyond that it is largely explaining parameter mechanics and result shapes rather than adding hidden behavioral traits such as cost, rate limits or permission requirements. Solid added context on top of the annotations, but not exceptional.

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?

Content is front-loaded with purpose and status vocabulary first, then escalation targets, then parameter behavior, and essentially every sentence carries information. It is dense to the point of being run-on, chaining several em-dash clauses, so it loses a point for parseability rather than for waste.

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?

An output schema exists, so return values need no explanation, yet the description still telegraphs the cursor contract (last_seq, events_has_more) an agent needs to poll correctly. For a four-parameter read tool with delegation, paging and failure-recovery concerns, nothing an agent needs to call it correctly is missing.

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%, so the baseline is 3; the description nonetheless adds real meaning beyond the schema by framing events_after as the poll equivalent of the SSE stream and by saying to feed back the returned last_seq, and by disclosing that on a delegated job llm_requests shows the first call complete with the rest as envelopes. include_result is also contrasted against the compact scalar summary. That is genuine semantic enrichment rather than restatement.

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?

States a specific verb and resource ("Read a job's status, progress and compact terminal summary with persisted record IDs") and enumerates the exact status vocabulary, so an agent knows precisely what comes back. It explicitly demarcates itself from answer_job_question, answer_llm_request and list_records rather than leaving the sibling boundary implicit.

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?

Gives explicit routing rules: relay pause questions to answer_job_question, answer delegated llm_requests with answer_llm_request, and for an unknown job ID look for persisted outputs via list_records(job_id=...). It also names the docs resource for polling/failure/recovery guidance, so both the when and the where-next are covered.

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.