Skip to main content
Glama

get_job_status

Read-only

Check an import job's phase, outcome totals, per-video results, and next steps. Filter by item status to see failed or pending videos and paginate results.

Instructions

Report an import job's phase, totals per outcome, per-video results and what to do next.

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

Input Schema

NameRequiredDescriptionDefault
limitNoItems per page; 0 for totals only.
cursorNonext_cursor from a previous call, to page items.
job_idYesJob ID such as 'job_3'.
item_statusNoOnly list items with these statuses, e.g. ['failed'] to see what went wrong.

Output Schema

NameRequiredDescriptionDefault
kindYes
itemsYes
limitYes
scopeYes
job_idYes
statusYes
totalsYes
channelYes
guidanceYesWhat the assistant should do next.
languageYes
created_atYes
error_codeYes
updated_atYes
finished_atYes
next_cursorYes
next_run_atYes
error_messageYes
discovery_completeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description is only responsible for adding context beyond that. It does add value by disclosing that the response includes per-item results plus remediation advice rather than raw state alone, but it says nothing about pagination behavior, cost, or how stale a phase reading may be while a job is running.

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 sentence, front-loaded with the verb and resource, that packs in the return contents and the decision support without a wasted word.

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?

For a small read-only status tool with a fully documented 4-parameter schema and an output schema, the description covers purpose and the shape of what comes back, so an agent can call it correctly. The remaining gap is relational: it never connects this tool to polling workflows or to the cancel/retry siblings that the "what to do next" advice presumably points at.

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 100%, and each parameter (limit with its 0-for-totals-only rule, cursor, job_id with an example, item_status with its enum values) is documented in the schema itself. The description adds no parameter-level meaning, so the baseline of 3 applies.

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?

"Report an import job's phase, totals per outcome, per-video results and what to do next" names a specific verb (Report) and resource (import job), and enumerates the contents returned, which distinguishes it from list_jobs and the mutating cancel_job/retry_job siblings. It stops short of naming any sibling explicitly, so the separation is inferred rather than stated.

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?

No when-to-use or when-not-to-use guidance is given; nothing tells the agent whether this is for polling during an active import, for post-mortem inspection of a failed one, or how it relates to list_jobs, cancel_job, or retry_job. The phrase "what to do next" hints that the tool surfaces recommended follow-up actions, but that is context for what it returns, not guidance on when to call it.

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