Skip to main content
Glama

Get Job Status

get_job_status
Read-onlyIdempotent

Poll the status of a transcode or convert job. Call every 5 seconds until status is 'complete' or 'failed'. Status 'queued' or 'processing' is normal — large files take 5–15 minutes. Keep polling indefinitely until a terminal status is reached. Do not stop polling after a fixed number of attempts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesJob ID returned by transcode_video, transcode_from_url, convert_file, convert_from_url, or convert_content.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesThe job identifier.
statusYesCurrent job state.
cost_usdNoAmount debited from the wallet on completion, in USD.
output_keyNoStorage key of the completed output. Present when status is 'complete'. Pass to get_download_url.
progress_pctNoEncoding progress 0–100. Only present while status is 'processing'.
error_messageNoHuman-readable error description. Present when status is 'failed'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / output_key / description
      Previous value: -"S3 object key of the completed output. Present when status is 'complete'. Pass to get_download_url."New value: +"Storage key of the completed output. Present when status is 'complete'. Pass to get_download_url."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, but the description adds genuine operational behavior: polling cadence, expected latency, the meaning of intermediate statuses, and the indefinite-polling contract. These are traits an agent cannot infer from the annotations alone.

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?

Front-loaded and efficient, with the core instruction (poll every 5 seconds) leading. The final two sentences overlap, since 'keep polling indefinitely' and 'do not stop polling after a fixed number of attempts' express the same rule, creating mild redundancy.

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?

For a polling tool with an output schema and rich annotations, the description supplies everything the agent needs: cadence, terminal states, interim states, and duration expectations. Return-value shape is handled by the output schema, so nothing material is missing.

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 coverage is 100% and the single job_id parameter is fully documented in the schema, including the producing tools. The description adds no syntax, format, or sourcing detail beyond the schema, 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?

States a specific verb ('poll') and resource ('status of a transcode or convert job'), which scopes it away from unrelated siblings. It does not explicitly address the closely-named sibling get_workflow_status, so an agent must infer the job-vs-workflow boundary.

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

Usage Guidelines5/5

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

Gives unusually prescriptive usage guidance: call every 5 seconds, treat queued/processing as normal, expect 5–15 minutes for large files, and continue until a terminal status. It explicitly says not to stop after a fixed number of attempts, closing the most common misuse path.

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