Skip to main content
Glama

read any sync job

jobs_get
Idempotent

Check the status of any sync job by kind and id using one status vocabulary across all six job kinds. Use it to track a single job or compare jobs of different kinds without waiting.

Instructions

Read any sync. job once, by kind and id, with one status vocabulary for all six kinds. Use it to check a job without waiting or to track jobs of different kinds the same way. Not for waiting: use jobs_wait instead of calling this in a loop. For a kind's extra read options, such as generations_get include or batches_get results, call that tool directly. Ids by kind:

  • generation: the id from lipsync_create, dubbing_create, lipsync_create-timeline or dialogue-videos_create

  • transcription: the id from transcriptions_create or dialogue-transcriptions_create

  • speaker_analysis: the transcription id

  • translation_preview: the translation-previews_create id, plus its projectId

  • import: the social video link passed to assets_create, plus the same projectId (and projectIntent if that call needed it)

  • batch: the batches_create id PENDING and PROCESSING mean still running: never create the job again. COMPLETED, FAILED, REJECTED (the API refused it, such as an import limit or a moderation rejection) and CANCELED are final. A generation that lip-synced no frame (its own status NO_OP) reads as FAILED. result is the job as the kind's own read tool returns it, with its original status; a COMPLETED import's result is the saved asset, whose id is the asset id, and a finished batch's result.results lists each item's generation status and output. A translation_preview with result.recoveryRequired true has uncertain provider acceptance: do not create another job. Reading an import resends the identical assets_create request, which returns the running import or its saved asset and starts the import if none exists; that is why this is not read-only. An unknown id, an auth failure or a translation_preview without projectId returns a tool error, not a status.

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": {
      "kind": "<kind>",
      "id": "<id>"
    },
    "name": "jobs_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe job id for the chosen kind, as listed in the tool description; for import it is the social video link itself.
kindYesWhich kind of job id is.
projectIdNoRequired for translation_preview; for import, the project passed to assets_create.
projectIntentNoimport only: pass it when the assets_create call for this link needed it.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.4
    • changedInput schema / properties / id / description
      Previous value: -"The job to read; see the tool description per kind."New value: +"The job id for the chosen kind, as listed in the tool description; for import it is the social video link itself."
  2. Addedv0.1.5

TDQS

A4.6/5.0
Behavior4/5

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

Substantially exceeds what annotations declare, notably explaining why readOnlyHint=false despite being a read: reading an import resends the identical assets_create request and can start the import. It also documents the full status vocabulary and terminal states, the NO_OP-to-FAILED mapping, and warns not to create another job when result.recoveryRequired is true. Slight deduction because the interaction between idempotentHint=true and the import side effect is asserted rather than reconciled.

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?

Long but dense and front-loaded, with the purpose, the jobs_wait exclusion, and the ids-by-kind list in a scannable structure. A few phrases are redundant with the per-kind notes, and there is a stray period in "Read any sync. job," but nothing that should be cut wholesale given six kinds and several edge cases.

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 multi-kind read tool with an output schema and rich annotations, this is essentially complete: input sourcing per kind, status interpretation, result shape per kind (imports yield the saved asset id, batches expose per-item results), error conditions, and the non-read-only caveat are all covered. Nothing an agent needs to call it correctly and interpret the response 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 100%, so the baseline is 3, but the description adds real semantics the schema defers to it for: the per-kind id sourcing (generation ids from lipsync_create/dubbing_create/timeline/dialogue-videos, speaker_analysis reuses the transcription id, import takes the social video link plus projectId and projectIntent). This resolves ambiguity the schema explicitly punts on ("as listed in the tool description").

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 with scope: "Read any sync. job once, by kind and id, with one status vocabulary for all six kinds." It distinguishes itself from siblings by naming jobs_wait as the waiting alternative and pointing to kind-specific read tools (generations_get, batches_get) for extra read options.

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 explicit when-to-use (check a job without waiting, track heterogeneous jobs uniformly) and when-not-to ("Not for waiting: use jobs_wait instead of calling this in a loop"; use the kind's own read tool for extra options). It also supplies required ids per kind and states which inputs (unknown id, auth failure, missing projectId) produce a tool error rather than a status.

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