Skip to main content
Glama

localize_subtitle_file

Localize an already saved ITT subtitle file (billed), using its storage path.

    storage_path comes from upload_subtitle/list_subtitles, not a local
    path or HTTPS URL. Backend expects query parameters for this route.
    For SRT, use upload_subtitle(auto_localize=true) or localize_subtitles.
    

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": {
      "storage_path": "<storage_path>",
      "target_languages": "<target_languages>"
    },
    "name": "localize_subtitle_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoOptional audience, purpose and surrounding context to guide localization.
glossaryNoOptional glossary text to guide terminology for subtitle localization.
storage_pathYesExact saved subtitle storage key returned by upload_subtitle or list_subtitles; not a local path or HTTPS URL.
target_languagesYesTarget language codes for subtitle localization, for example ["fr", "ja"].

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / context / description
      Added value: +"Optional audience, purpose and surrounding context to guide localization."
    • addedInput schema / properties / glossary / description
      Added value: +"Optional glossary text to guide terminology for subtitle localization."
    • addedInput schema / properties / storage_path / description
      Added value: +"Exact saved subtitle storage key returned by upload_subtitle or list_subtitles; not a local path or HTTPS URL."
    • addedInput schema / properties / target_languages / description
      Added value: +"Target language codes for subtitle localization, for example [\"fr\", \"ja\"]."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden and does disclose that the call is billed and that the input must be a backend storage key. It stops short of saying whether a new subtitle artifact is produced or the existing one is modified, and whether the call is synchronous for long files — though the presence of an output schema offsets the return-value gap.

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 with the core action and constraint in the first sentence, then alternatives. The sentence "Backend expects query parameters for this route" is internal implementation trivia that does not help an agent decide or call, so it is one wasted line.

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 billed mutation with four parameters, full schema coverage, and an output schema, the definition covers cost, input provenance, and the SRT routing alternative. Only the mutation's effect on the existing file remains unstated, which is a modest gap for this complexity level.

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 100%, so all four parameters are already documented, and the storage_path provenance note largely duplicates the schema's own wording. The description adds no extra meaning for target_languages, context, or glossary, so the baseline 3 applies.

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 ("Localize an already saved ITT subtitle file") plus the key precondition (already saved, addressed by storage path), which separates it from upload-based localization. The mention of ITT vs SRT further disambiguates it from localize_subtitles and upload_subtitle.

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?

Explains where storage_path must come from (upload_subtitle/list_subtitles, not a local path or HTTPS URL) and gives an explicit exclusion with a named alternative: use upload_subtitle(auto_localize=true) or localize_subtitles for SRT. The agent can route correctly without opening sibling schemas.

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.