Skip to main content
Glama

Follow file job

job
Destructive

Follow a file-tool job started by run_tool. get returns status (queued, running, done, failed, cancelled), percent, message, queue position and estimate; when done, result and files (each with url and ref); when failed, an error with a fix. wait blocks up to wait_seconds (default 20) until it finishes, or until the next progress event after since (pass last_event to step through progress). A wait that ends with the job still running is normal: call wait again. A finished job's ID works as a file reference for the next tool.

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": {
      "action": "<action>"
    },
    "name": "job"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
sinceNo
actionYes
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, so the safety profile is already structured; the description adds real value by documenting the status lifecycle and the blocking semantics of wait. However, the destructive surface is never explained: the cancel and delete actions in the enum are not mentioned at all, so the agent cannot learn from the prose what gets destroyed or whether deletion is reversible.

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 dense and front-loads the most important information (what the tool follows and what get returns) before the wait mechanics. It is slightly muddled in the progress-stepping clause, which tells the reader to 'pass last_event' although no such parameter exists in the schema — the parameter is `since`.

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?

There is no output schema, so the description usefully enumerates the return fields for done and failed states, which is the right call. For a tool whose annotations flag it as destructive and non-idempotent, the total silence on the cancel and delete actions leaves a material gap in what an agent needs before invoking it.

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 0%, so the description must carry all parameter meaning, and it does explain `since` in detail and gives wait_seconds a default of 20 while describing the step-through progress pattern. It leaves the action values cancel and delete entirely undefined and does not describe the `id` format or where a valid ID comes from beyond 'started by run_tool', so coverage remains partial.

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 opens with a specific verb and resource, 'Follow a file-tool job started by run_tool', which pins the object of the tool to jobs created elsewhere and implicitly distinguishes it from run_tool itself. It then enumerates the concrete payload per status (percent, queue position, estimate, result, files with url and ref), so an agent knows exactly what this tool returns.

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?

It clearly explains the get-versus-wait choice and tells the agent that a wait ending while still running is normal and should be repeated, plus that a finished job's ID becomes a file reference for the next tool. What it lacks is any explicit guidance for the cancel and delete actions, or a statement of when not to follow a job at all.

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