Skip to main content
Glama

Estimate video dubbing cost

estimate_video_localization
Read-onlyIdempotent

Estimate the credits to dub one video into one or more languages (speech-to-text + translation + voice + video merge) before running localize_video. Pass video_url (duration is measured) or duration_seconds.

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": {
      "source_language": "<source_language>",
      "targets": "<targets>"
    },
    "name": "estimate_video_localization"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetsYesOne entry per target language (the server allows 10 per job by default).
video_urlNo
source_languageYes
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / targets / items / properties / speaker_voices
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "description": "multi_speaker only: voice per speaker for this language, e.g. {\"0\": \"v1:...\", \"1\": \"v1:...\"}.",
      +  "type": "object"
      +}
    • changedInput schema / properties / targets / items / properties / voice / description
      Previous value: -"Voice token (v1:...) for that language from list_voices / favorites / custom voices."New value: +"Voice token (v1:...) for that language from list_voices / favorites / custom voices. With multi_speaker it is the default voice for speakers without their own."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description usefully adds that the unit of estimation is credits, that the estimate mirrors the actual localize_video pipeline, and that duration is measured from video_url when provided — key behavior for a pre-flight cost check.

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?

Two dense sentences with zero filler; the capability and the cost breakdown come first, then the input alternative. Nothing is repeated from the annotations or schema.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description never says what the estimate returns — a single credit total, a per-language breakdown, or duration assumptions. For a costing tool whose whole value is the returned number, that is a meaningful omission, though the core invocation semantics are complete.

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 only 25%, so the description must compensate. It does explain the video_url/duration_seconds alternative and that duration is measured for a URL, which covers the two undocumented input parameters. However, source_language and the required targets structure (language + voice per target) get no elaboration in the description, leaving a real gap.

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 ('Estimate the credits to dub one video into one or more languages') and even decomposes the cost drivers (speech-to-text + translation + voice + video merge). It explicitly names the sibling it precedes, localize_video, so an agent can distinguish estimation from execution 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?

The phrase 'before running localize_video' gives clear sequencing guidance: call this first to cost-check, then execute. It does not state any when-not conditions or mention other alternatives (e.g. get_account_status for credit balance), but the primary usage decision is unambiguous.

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.