Skip to main content
Glama

Get Job

get_job
Read-only

Retrieve the status, result, and last log lines of a job by its job ID. Use it to check whether a job finished or failed and to inspect recent output.

Instructions

Status, result, and the last log lines of a job.

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

Input Schema

NameRequiredDescriptionDefault
job_idYes
log_linesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds only the shape of the payload, which the output schema already documents, and says nothing about missing-job behavior, log truncation, or polling expectations.

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?

A single compact sentence with no wasted words, front-loading the returned content. It is underspecified rather than verbose, so its brevity costs information without any offsetting bloat.

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

Completeness3/5

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

A job-inspection tool with an output schema is relatively simple, and the description plus schema plus annotations cover the essentials for calling it. The remaining gap is parameter guidance: with 0% schema description coverage the agent gets no explanation of what log_lines does or how large to set it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden for both parameters, yet it only gestures at log_lines via the phrase 'the last log lines' and never states that the count is caller-controlled, nor mentions the default of 40. job_id is self-evident from the name but is likewise unexplained.

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 the concrete payload a caller gets back — status, result, and trailing log lines of a single job — which is specific enough to distinguish it from list_jobs. It is a noun fragment rather than a verb+resource statement, but the resource and the content returned are unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of when to prefer list_jobs for enumeration versus this tool for inspecting one job, and no prerequisites or failure conditions (e.g. unknown job_id). The agent must infer all routing decisions from the name alone.

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