Skip to main content
Glama

jobd_status

Get complete job state, exit code, scheduling details, and debug routing failures or stalls with optional blocking wait.

Instructions

The full JobInfo record for one job_id: state, exit_code, timings, host, and the scheduling internals — depends_on + cascade policy (depends_on_any_exit), pending cancel/preempt signal, resolved profile, requires (gpu/tags/idempotent), host pin, fast_path, timeouts, termination_reason. Use for a quick state check AND for debugging why a job routed/failed/stalled. Pass wait=true to block until terminal or wait_timeout_s.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNo
job_idYes
wait_timeout_sNoServer clamps to 270.
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that wait=true blocks until terminal and that the timeout is server-clamped to 270s. However, it does not mention error handling, authentication needs, or whether the operation is read-only (implied but not explicit).

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?

The description is a single paragraph that front-loads the record contents, then provides usage guidance, then wait behavior. It is reasonably concise with no wasted words, though it could be slightly tighter.

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?

Given the tool has 3 parameters and no output schema, the description adequately covers the purpose, parameter behaviors, and usage context. It does not describe return format but lists the fields included in the record, which suffices.

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 only 33% (only wait_timeout_s has a schema description). The description adds meaning by explaining the wait parameter (block until terminal) and that wait_timeout_s is clamped to 270. job_id is straightforward but not elaborated. Thus, the description adds significant value beyond the sparse schema.

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?

The description clearly states it returns the full JobInfo record for a job_id and lists specific fields (state, exit_code, timings, host, scheduling internals). It distinguishes itself from sibling tools like jobd_submit, jobd_logs, and jobd_cancel by focusing on status and debugging.

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?

The description explicitly says 'Use for a quick state check AND for debugging why a job routed/failed/stalled.' It also mentions optional wait behavior. However, it does not explicitly state when not to use this tool (e.g., preferring jobd_logs for logs), but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/musharna/jobd'

If you have feedback or need assistance with the MCP directory API, please join our Discord server