Skip to main content
Glama

get a generation

generations_get
Read-only

Read a sync generation by id to check status and retrieve its output media URL or error details; waits for completion up to about 50 seconds unless wait is false.

Instructions

Read one sync. generation by id: its status (PENDING or PROCESSING while it runs; COMPLETED, NO_OP, FAILED or REJECTED when final), outputMediaUrl once COMPLETED, and error and errorCode after NO_OP, FAILED or REJECTED. Use it to follow a generation by the id its create call returned (lipsync_create, dubbing_create, lipsync_create-timeline or dialogue-videos_create, when available). jobs_get and jobs_wait, when available, read the same generation in a generic job shape that can add a completion percent while it runs. Not for: finding a past id (generations_list, or projects_list-generations when available); what it cost (generations_get-costs when available); its inputs when the user explicitly continues it (generations_get-continuation). Waiting: it keeps reading on the server for up to about 50 seconds unless you pass wait: false, and returns once the generation is final, or its latest state; leave out timeout. If it is still running, call again with the same id; never resubmit, since a new create starts a separate generation that is billed or counted against free limits. If the result has stalled, it is past its support time: follow stalled.nextStep and stop waiting. Result: copy the exact structuredContent.outputMediaUrl string verbatim; it is signed, so it must not be reconstructed, shortened, or edited (outputUrl is a deprecated alias with the same value). On FAILED or REJECTED, tell the user the error and errorCode. To show a video made earlier, give that outputMediaUrl or, when Studio is open, open its own projectId with studio-views_open-project (or show it with studio-views_show-generation); never a new project. NO_OP: it finished but lip-synced no frame, such as when no face was found; error and errorCode say why. Its outputMediaUrl is the input video unchanged, with any generated speech or dub audio, so never present it as a lipsync result. Lipsync was not charged; generated speech or dubbing was. Tell the user nothing was lip-synced and why, and offer to try again. The same video can end the same way, so also suggest one where the speaker's face is clearly visible, or choosing the speaker explicitly. When automatic speaker detection found no one speaking (a dub ends this way too), the retry has to pick the face: find its center with faces_get-people or faces_get-timeline when available, and pass options.active_speaker_detection { frame_number, coordinates: [x, y] } on the retry. Retrying a NO_OP: read generations_get-continuation and reuse the take's audio inputs by url (speech it generated has generatedBy tts), never its script or dub request, so speech or dubbing is not paid for again. Choose the tool from its segments, not its audio count: with no segments, its one audio goes to lipsync_create as audioUrl, with the same visual, the same projectId and continuation { workflow, parentGenerationId }. With segments, even ones sharing one audio, use lipsync_create-timeline (when available) on the same video and projectId, one clip per segment: its span, the url of the audio input whose refId matches its audioInput.refId, and audioInput.startTime and endTime as audioStartTime and audioEndTime. The retry is a new lipsync, so follow the usual paid-work checks.

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

Input Schema

NameRequiredDescriptionDefault
idYesGeneration id returned by a create tool or generations_list.
waitNoDefaults to true: wait on the server until the generation finishes or about 50 seconds pass, then return its latest state. Pass false only for one immediate read. If it is still running, call again instead of sleeping.
includeNoAdditional information to include in the response. `progress` adds `progress` (measured render progress and expected finish) and `summary` (what the generation is, for a progress display).
timeoutNoSeconds each read holds (1-10). Leave it out; a waiting read lasts about 50 seconds.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.37
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {},
      -      "errorCode": {},
      -      "generationEstimate": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "propertyNames": {
      -              "type": "string"
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Server-provided completion estimate and server clock. Use only for approximate remaining time; do not invent an estimate when absent."
      -      },
      -      "id": {
      -        "description": "Sync generation id.",
      -        "type": "string"
      -      },
      -      "model": {
      -        "description": "Model used for the generation.",
      -        "type": "string"
      -      },
      -      "outputDuration": {
      -        "description": "Output duration in seconds.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "outputMediaUrl": {
      -        "description": "Signed result URL when the generation is complete, named as in the API (GET /v2/generations/{id}). Copy this exact string verbatim; do not reconstruct, shorten, or edit it.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "outputUrl": {
      -        "deprecated": true,
      -        "description": "Deprecated alias of outputMediaUrl, with the same value. Read outputMediaUrl.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "progress": {
      -        "additionalProperties": {},
      -        "description": "Only with include=progress: stage (queued, processing, completed or failed), phase while it runs (queued, dubbing, rendering or finishing), percent (0-100), completedTasks, runningTasks and waitingTasks, estimatedFinishAt and estimatedTimeRemaining in seconds. The tasks are internal render steps, not shots or scenes; never present them as shots.",
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "projectId": {
      -        "description": "Sync project containing this generation.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "stalled": {
      -        "additionalProperties": false,
      -        "description": "Only while it still runs past generationEstimate.supportAt (since): it is delayed and may be stuck. Follow nextStep: stop waiting, tell the user, and never create it again.",
      -        "properties": {
      -          "nextStep": {
      -            "type": "string"
      -          },
      -          "since": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "since",
      -          "nextStep"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "description": "Current generation status.",
      -        "type": "string"
      -      },
      -      "summary": {
      -        "additionalProperties": {},
      -        "description": "Only with include=progress: what the generation is, for display. title, preview ({type: image or video, url}), sourceLanguage and targetLanguage for a dub, and the input duration in seconds; each may be absent.",
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "generationId": {
      -            "type": "string"
      -          },
      -          "importJobId": {
      -            "format": "uuid",
      -            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -            "type": "string"
      -          },
      -          "importStatus": {
      -            "enum": [
      -              "queued",
      -              "downloading",
      -              "processing",
      -              "completed",
      -              "failed"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "type": "string"
      -          },
      -          "progress": {
      -            "maximum": 100,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "retryAfterMs": {
      -            "type": "number"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          },
      -          "status": {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "message"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {},
      +      "errorCode": {},
      +      "generationEstimate": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Server-provided completion estimate and server clock. Use only for approximate remaining time; do not invent an estimate when absent."
      +      },
      +      "id": {
      +        "description": "Sync generation id.",
      +        "type": "string"
      +      },
      +      "model": {
      +        "description": "Model used for the generation.",
      +        "type": "string"
      +      },
      +      "outputDuration": {
      +        "description": "Output duration in seconds.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "outputMediaUrl": {
      +        "description": "Signed result URL when the generation is complete, named as in the API (GET /v2/generations/{id}). Copy this exact string verbatim; do not reconstruct, shorten, or edit it.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "outputUrl": {
      +        "deprecated": true,
      +        "description": "Deprecated alias of outputMediaUrl, with the same value. Read outputMediaUrl.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "progress": {
      +        "additionalProperties": {},
      +        "description": "Only with include=progress: stage (queued, processing, completed or failed), phase while it runs (queued, dubbing, rendering or finishing), percent (0-100), completedTasks, runningTasks and waitingTasks, estimatedFinishAt and estimatedTimeRemaining in seconds. The tasks are internal render steps, not shots or scenes; never present them as shots.",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "projectId": {
      +        "description": "Sync project containing this generation.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "stalled": {
      +        "additionalProperties": false,
      +        "description": "Only while it still runs past generationEstimate.supportAt (since): it is delayed and may be stuck. Follow nextStep: stop waiting, tell the user, and never create it again.",
      +        "properties": {
      +          "nextStep": {
      +            "type": "string"
      +          },
      +          "since": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "since",
      +          "nextStep"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "description": "Current generation status.",
      +        "type": "string"
      +      },
      +      "summary": {
      +        "additionalProperties": {},
      +        "description": "Only with include=progress: what the generation is, for display. title, preview ({type: image or video, url}), sourceLanguage and targetLanguage for a dub, and the input duration in seconds; each may be absent.",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "warnings": {
      +        "description": "Only on a create: what the API did with a face point before starting. face_point_snapped: the point was just off one face (on hair, a hat or an ear) and was moved to its centre (from, to); tell the user which face is being lipsynced. face_point_unverified: no face was found at the point, which was sent unchanged and may fail; nearestFaces lists the faces found on that frame, so a retry can use a box center.",
      +        "items": {
      +          "additionalProperties": {},
      +          "propertyNames": {
      +            "type": "string"
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "generationId": {
      +            "type": "string"
      +          },
      +          "importJobId": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          },
      +          "importStatus": {
      +            "enum": [
      +              "queued",
      +              "downloading",
      +              "processing",
      +              "completed",
      +              "failed"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "progress": {
      +            "maximum": 100,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "retryAfterMs": {
      +            "type": "number"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          },
      +          "status": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "message"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed3 schema fields changedv0.3.34
    • changedInput schema / properties / timeout / description
      Previous value: -"Seconds each read holds (1-10). Leave it out; wait: true reads for about 50 seconds."New value: +"Seconds each read holds (1-10). Leave it out; a waiting read lasts about 50 seconds."
    • changedInput schema / properties / wait / description
      Previous value: -"Wait on the server until the job finishes or about 50 seconds pass, then return its latest state. If it is still running, call again with wait: true instead of sleeping."New value: +"Defaults to true: wait on the server until the generation finishes or about 50 seconds pass, then return its latest state. Pass false only for one immediate read. If it is still running, call again instead of sleeping."
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {},
      -      "errorCode": {},
      -      "generationEstimate": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "propertyNames": {
      -              "type": "string"
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Server-provided completion estimate and server clock. Use only for approximate remaining time; do not invent an estimate when absent."
      -      },
      -      "id": {
      -        "description": "Sync generation id.",
      -        "type": "string"
      -      },
      -      "model": {
      -        "description": "Model used for the generation.",
      -        "type": "string"
      -      },
      -      "outputDuration": {
      -        "description": "Output duration in seconds.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "outputMediaUrl": {
      -        "description": "Signed result URL when the generation is complete, named as in the API (GET /v2/generations/{id}). Copy this exact string verbatim; do not reconstruct, shorten, or edit it.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "outputUrl": {
      -        "deprecated": true,
      -        "description": "Deprecated alias of outputMediaUrl, with the same value. Read outputMediaUrl.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "progress": {
      -        "additionalProperties": {},
      -        "description": "Only with include=progress: stage (queued, processing, completed or failed), phase while it runs (queued, dubbing, rendering or finishing), percent (0-100), completedTasks, runningTasks and waitingTasks, estimatedFinishAt and estimatedTimeRemaining in seconds. The tasks are internal render steps, not shots or scenes; never present them as shots.",
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "projectId": {
      -        "description": "Sync project containing this generation.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "status": {
      -        "description": "Current generation status.",
      -        "type": "string"
      -      },
      -      "summary": {
      -        "additionalProperties": {},
      -        "description": "Only with include=progress: what the generation is, for display. title, preview ({type: image or video, url}), sourceLanguage and targetLanguage for a dub, and the input duration in seconds; each may be absent.",
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "generationId": {
      -            "type": "string"
      -          },
      -          "importJobId": {
      -            "format": "uuid",
      -            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -            "type": "string"
      -          },
      -          "importStatus": {
      -            "enum": [
      -              "queued",
      -              "downloading",
      -              "processing",
      -              "completed",
      -              "failed"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "type": "string"
      -          },
      -          "progress": {
      -            "maximum": 100,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "retryAfterMs": {
      -            "type": "number"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          },
      -          "status": {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "message"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {},
      +      "errorCode": {},
      +      "generationEstimate": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Server-provided completion estimate and server clock. Use only for approximate remaining time; do not invent an estimate when absent."
      +      },
      +      "id": {
      +        "description": "Sync generation id.",
      +        "type": "string"
      +      },
      +      "model": {
      +        "description": "Model used for the generation.",
      +        "type": "string"
      +      },
      +      "outputDuration": {
      +        "description": "Output duration in seconds.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "outputMediaUrl": {
      +        "description": "Signed result URL when the generation is complete, named as in the API (GET /v2/generations/{id}). Copy this exact string verbatim; do not reconstruct, shorten, or edit it.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "outputUrl": {
      +        "deprecated": true,
      +        "description": "Deprecated alias of outputMediaUrl, with the same value. Read outputMediaUrl.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "progress": {
      +        "additionalProperties": {},
      +        "description": "Only with include=progress: stage (queued, processing, completed or failed), phase while it runs (queued, dubbing, rendering or finishing), percent (0-100), completedTasks, runningTasks and waitingTasks, estimatedFinishAt and estimatedTimeRemaining in seconds. The tasks are internal render steps, not shots or scenes; never present them as shots.",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "projectId": {
      +        "description": "Sync project containing this generation.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "stalled": {
      +        "additionalProperties": false,
      +        "description": "Only while it still runs past generationEstimate.supportAt (since): it is delayed and may be stuck. Follow nextStep: stop waiting, tell the user, and never create it again.",
      +        "properties": {
      +          "nextStep": {
      +            "type": "string"
      +          },
      +          "since": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "since",
      +          "nextStep"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "description": "Current generation status.",
      +        "type": "string"
      +      },
      +      "summary": {
      +        "additionalProperties": {},
      +        "description": "Only with include=progress: what the generation is, for display. title, preview ({type: image or video, url}), sourceLanguage and targetLanguage for a dub, and the input duration in seconds; each may be absent.",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "generationId": {
      +            "type": "string"
      +          },
      +          "importJobId": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          },
      +          "importStatus": {
      +            "enum": [
      +              "queued",
      +              "downloading",
      +              "processing",
      +              "completed",
      +              "failed"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "progress": {
      +            "maximum": 100,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "retryAfterMs": {
      +            "type": "number"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          },
      +          "status": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "message"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed2 schema fields changedv0.3.22
    • changedInput schema / properties / include / description
      Previous value: -"Additional information to include in the response"New value: +"Additional information to include in the response. `progress` adds `progress` (measured render progress and expected finish) and `summary` (what the generation is, for a progress display)."
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {},
      -      "errorCode": {},
      -      "generationEstimate": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "propertyNames": {
      -              "type": "string"
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Server-provided completion estimate and server clock. Use only for approximate remaining time; do not invent an estimate when absent."
      -      },
      -      "id": {
      -        "description": "Sync generation id.",
      -        "type": "string"
      -      },
      -      "model": {
      -        "description": "Model used for the generation.",
      -        "type": "string"
      -      },
      -      "outputDuration": {
      -        "description": "Output duration in seconds.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "outputMediaUrl": {
      -        "description": "Signed result URL when the generation is complete, named as in the API (GET /v2/generations/{id}). Copy this exact string verbatim; do not reconstruct, shorten, or edit it.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "outputUrl": {
      -        "deprecated": true,
      -        "description": "Deprecated alias of outputMediaUrl, with the same value. Read outputMediaUrl.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "projectId": {
      -        "description": "Sync project containing this generation.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "status": {
      -        "description": "Current generation status.",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "type": "string"
      -          },
      -          "generationId": {
      -            "type": "string"
      -          },
      -          "importJobId": {
      -            "format": "uuid",
      -            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -            "type": "string"
      -          },
      -          "importStatus": {
      -            "enum": [
      -              "queued",
      -              "downloading",
      -              "processing",
      -              "completed",
      -              "failed"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "type": "string"
      -          },
      -          "progress": {
      -            "maximum": 100,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "retryAfterMs": {
      -            "type": "number"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          },
      -          "status": {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "message"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {},
      +      "errorCode": {},
      +      "generationEstimate": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Server-provided completion estimate and server clock. Use only for approximate remaining time; do not invent an estimate when absent."
      +      },
      +      "id": {
      +        "description": "Sync generation id.",
      +        "type": "string"
      +      },
      +      "model": {
      +        "description": "Model used for the generation.",
      +        "type": "string"
      +      },
      +      "outputDuration": {
      +        "description": "Output duration in seconds.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "outputMediaUrl": {
      +        "description": "Signed result URL when the generation is complete, named as in the API (GET /v2/generations/{id}). Copy this exact string verbatim; do not reconstruct, shorten, or edit it.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "outputUrl": {
      +        "deprecated": true,
      +        "description": "Deprecated alias of outputMediaUrl, with the same value. Read outputMediaUrl.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "progress": {
      +        "additionalProperties": {},
      +        "description": "Only with include=progress: stage (queued, processing, completed or failed), phase while it runs (queued, dubbing, rendering or finishing), percent (0-100), completedTasks, runningTasks and waitingTasks, estimatedFinishAt and estimatedTimeRemaining in seconds. The tasks are internal render steps, not shots or scenes; never present them as shots.",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "projectId": {
      +        "description": "Sync project containing this generation.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "status": {
      +        "description": "Current generation status.",
      +        "type": "string"
      +      },
      +      "summary": {
      +        "additionalProperties": {},
      +        "description": "Only with include=progress: what the generation is, for display. title, preview ({type: image or video, url}), sourceLanguage and targetLanguage for a dub, and the input duration in seconds; each may be absent.",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "generationId": {
      +            "type": "string"
      +          },
      +          "importJobId": {
      +            "format": "uuid",
      +            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +            "type": "string"
      +          },
      +          "importStatus": {
      +            "enum": [
      +              "queued",
      +              "downloading",
      +              "processing",
      +              "completed",
      +              "failed"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "progress": {
      +            "maximum": 100,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "retryAfterMs": {
      +            "type": "number"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          },
      +          "status": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "message"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed2 schema fields changedv0.2.4
    • changedInput schema / properties / timeout / description
      Previous value: -"Maximum seconds to block when wait=true (1-10). Default 5."New value: +"Seconds each read holds (1-10). Leave it out; wait: true reads for about 50 seconds."
    • changedInput schema / properties / wait / description
      Previous value: -"Explicitly long-poll until the generation reaches a terminal state (COMPLETED, FAILED, REJECTED) or the timeout elapses. On timeout the current state is returned with HTTP 200 - check `status` and retry. Cannot be combined with include=progress."New value: +"Wait on the server until the job finishes or about 50 seconds pass, then return its latest state. If it is still running, call again with wait: true instead of sleeping."
  5. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Job ID"New value: +"Generation id returned by a create tool or generations_list."
  6. Addedv0.1.5

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare a safe read, but the description adds substantial context beyond them: the ~50 second server-side wait, the stalled state and its nextStep, the fact that resubmitting creates a billable new generation, and that outputMediaUrl is a signed string that must be copied verbatim. NO_OP semantics (unchanged input video, lipsync not charged but generated speech charged) are exactly the kind of non-obvious behavior an agent would otherwise misreport.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded and well-segmented, but far oversized for a read tool: the NO_OP retry playbook (faces_get-people/faces_get-timeline, active_speaker_detection coordinates, continuation reuse, create vs create-timeline selection) is a multi-paragraph procedure that properly belongs to the retry/create tools. This inline duplication makes the description expensive to scan for the common case of simply polling a running generation.

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?

An output schema exists, yet the description still supplies the one thing schema can't convey: the outputMediaUrl string must be used verbatim because it is signed, and outputUrl is a deprecated alias. Combined with error/errorCode handling and the polling loop, nothing needed to call and interpret this tool 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 baseline is 3; the description still adds operative guidance beyond the schema by telling the agent to pass `wait: false` for a single read and to leave out `timeout` entirely, overriding the schema's 1-10 second range. The `include`/progress enum is left to the schema, which is fine given full coverage.

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?

"Read one sync. generation by id" states a specific verb and resource, then immediately enumerates the returned states and fields. It distinguishes itself from siblings by name (generations_list, generations_get-costs, generations_get-continuation, jobs_get/jobs_wait), so an agent can route without opening another schema.

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?

It gives explicit when-to-use (follow a generation by the id a create call returned, listing the create tools), explicit alternatives (jobs_get/jobs_wait for a generic job shape with completion percent), and an explicit "Not for" list mapping each excluded use to the right sibling.

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