Skip to main content
Glama

Get Job Status

get_job_status

Check a background job's status to retrieve collected stdout/stderr, exit code, and running state. Completed jobs are cleaned up after their status is read.

Instructions

Check status of a background job.

Returns stdout/stderr collected so far, exit code (null if still running), and whether the job is still running.

Completed jobs are cleaned up after their status is read.

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe job ID returned from execute with background: true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does meaningful work: it discloses the return payload shape (stdout/stderr so far, exit code null while running, running flag) and, critically, that completed jobs are cleaned up after their status is read — a side effect an agent must know before calling. It omits error behavior for unknown/expired IDs and any rate/polling constraints.

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, zero filler, with the core purpose front-loaded and the cleanup caveat placed last where it reads as an important aside rather than burying the primary action.

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?

There is no output schema, so the description must explain return values, and it does so concisely and accurately. The remaining gap is operational: no guidance on polling cadence, timeout/waiting behavior, or what happens when the job ID is unknown or already cleaned up.

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% and the single `jobId` parameter is fully documented in the schema, including that it comes from `execute` with `background: true`. The description adds no parameter-level meaning beyond that, so the baseline of 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?

Specific verb+resource: 'Check status of a background job', with a clear object (job status) that is distinct from the sibling `execute`. However, the description never names `execute` or explicitly ties itself to jobs launched with `background: true`, so the sibling relationship is only inferable from the schema's param description.

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 implied rather than stated: an agent can infer this is used after starting a background job via `execute`, but there is no explicit when-to-use, when-not-to-use, or polling guidance. No alternatives are named or excluded.

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