Skip to main content
Glama

Get a job

get_job
Read-onlyIdempotent

Status of a long-running job (make_clips, render_clip, plan_clip): queued, running, done or failed. Pass wait_seconds (up to 50) and the call itself waits for the job to finish instead of you asking again and again; if it is still running when the wait ends, call again. When done, result has what was produced (for a render: url of the mp4, fps, frames, duration; without a plan, watch_page instead of url: the clip's page in Clipzi, where the person watches it). For make_clips, result.clips lists every clip with its status and its url once finished, and fills in while the job is still running; the job is done when every clip finished or failed. When failed, error says why.

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
wait_secondsNoWait up to this many seconds for it to finish before answering (0 = answer now). Call again if it is still running.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive safety, and the description adds substantial behavior on top: the polling/blocking model, partial results for make_clips that fill in while running, the completion rule ('done when every clip finished or failed'), and the error field on failure. It also clarifies the watch_page vs url return distinction, which is non-obvious.

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?

Purpose and the wait behavior are front-loaded, and each sentence carries real information about returns or status semantics. It is a single dense paragraph with a slightly run-on mid-section, so it loses a little readability but wastes little.

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

Completeness5/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 describe returns, and it does: render fields (url, fps, frames, duration), the watch_page alternative, the per-clip clips list, and the error message on failure. For a two-parameter read tool, nothing an agent needs to call it correctly is missing.

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 50% (wait_seconds documented, job_id not). The description compensates by explaining wait_seconds' intent beyond the schema text and by naming which tools produce the job referenced by job_id. It could be sharper about job_id's origin format, but the meaning is largely conveyed.

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 and resource ('Status of a long-running job') and enumerates the exact producing tools (make_clips, render_clip, plan_clip) plus the status values. An agent can distinguish this from siblings like get_clip or list_clips without opening a schema.

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?

Gives explicit operational guidance: pass wait_seconds (up to 50) so the call blocks instead of repeated polling, and 'call again if it is still running' when the wait expires. It does not state when not to use this tool or name an alternative for status checks, so it stops short of a full 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