Skip to main content
Glama

PyAI Voice AI

Create Dub

create_dub

Fetch audio from the user-authorized HTTPS source URL and start a translation and dubbing job. Accesses an external source and consumes usage. Keep job_id and poll get_dub_job; do not submit again after a timeout.

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_url": "<source_url>",
      "source_lang": "<source_lang>",
      "target_lang": "<target_lang>"
    },
    "name": "create_dub"
  }
}

Input Schema

NameRequiredDescriptionDefault
source_urlYes
source_langYesSource language from get_dub_capabilities.
target_langYesTarget language from get_dub_capabilities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, open-world, non-idempotent, non-destructive, but the description adds meaningful behavior: external source access, usage consumption (cost signal), async job semantics via job_id, and the retry hazard after a timeout that reinforces non-idempotency. Missing is what happens on a rejected URL or whether the job queues synchronously, but the disclosed traits go well beyond the structured fields.

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?

Three short sentences, front-loaded with the action, followed by cost/externality and then the critical retry rule. Every sentence carries operational weight with no padding.

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 3-parameter async create tool with no output schema, the description covers the action, the external/cost implications, the returned job_id, and the polling/retry contract. Only marginal gaps remain, such as expected input media formats or failure modes.

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 67%, and the two language parameters already point to get_dub_capabilities in their schema descriptions. The description only reinforces the URL constraint ('user-authorized HTTPS source URL'), which slightly extends the pattern/format already in the schema; it adds no syntax or format details for the language codes or the response.

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 concrete verb and resource: fetch audio from the source URL and start a translation/dubbing job. It also names the follow-up sibling (get_dub_job), so an agent can immediately tell it apart from the polling and audio-retrieval tools without opening any 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?

Gives explicit follow-up guidance ('poll get_dub_job') and an explicit exclusion ('do not submit again after a timeout'), which is exactly the when-not advice an agent needs for an async create. It stops short of comparing against other creation tools (create_transcription_job, create_recap), so it is clear context rather than a full routing matrix.

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.