Skip to main content
Glama

job_status

Read-onlyIdempotent

Check a background job started with job_start: whether it is still running or finished (with its exit code), when it started, and the last lines of its output.

Input Schema

NameRequiredDescriptionDefault
jobYesJob id returned by job_start
hostYesServer id (or exact name) from hosts_list
linesNoHow many last lines of output to return (default 40, at most 500)
usernameNoLogin user the job was started as (if one was given to job_start)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds substantive non-annotation detail by describing the return contract (running vs finished, exit code, start time, tail of output), which matters since there is no output schema.

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?

A single front-loaded sentence with the action first and the payload of results following. No filler or repetition of the title.

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 no output schema, the description usefully explains what a status check returns, and the schema fully covers all four inputs. It is close to complete; minor gaps remain around unknown-job behavior and output truncation limits, which the schema only partially covers.

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%, so job/host/lines/username are each documented in the schema. The description only restates "last lines of its output" for the lines parameter without adding format or truncation guidance beyond the schema; baseline 3 applies.

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 (Check) and resource (background job), and uniquely ties it to the job_start lifecycle. It also enumerates what a check yields (running/finished, exit code, start time, tail output), which no sibling (job_list, job_stop) claims.

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?

"Check a background job started with job_start" anchors the situation clearly, implying use for a specific known job id rather than enumerating jobs (job_list) or terminating one (job_stop). No explicit exclusions or named 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources