Skip to main content
Glama

upload_subtitle

Upload and save a subtitle file; optionally localize it (billed).

    Input is a local path (stdio) or public HTTPS URL (hosted). Returns
    storage paths for list_subtitles, localize_subtitle_file and download.
    Use localize_subtitles for the existing in-memory workflow instead.
    

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": {
      "file_path": "<file_path>"
    },
    "name": "upload_subtitle"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoOptional audience, purpose and surrounding context to guide localization.
glossaryNoOptional glossary text to guide terminology for subtitle localization.
file_pathYesInput file: local filesystem path in stdio, or an accessible public HTTPS URL on the hosted server.
auto_localizeNoTrue also requests billed subtitle localization; requires target_languages.
source_languageNoSource language code for subtitle processing, for example "en".en
target_languagesNoTarget language codes for subtitle localization, for example ["fr", "ja"].

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / auto_localize / description
      Added value: +"True also requests billed subtitle localization; requires target_languages."
    • addedInput schema / properties / context / description
      Added value: +"Optional audience, purpose and surrounding context to guide localization."
    • addedInput schema / properties / file_path / description
      Added value: +"Input file: local filesystem path in stdio, or an accessible public HTTPS URL on the hosted server."
    • addedInput schema / properties / glossary / description
      Added value: +"Optional glossary text to guide terminology for subtitle localization."
    • addedInput schema / properties / source_language / description
      Added value: +"Source language code for subtitle processing, for example \"en\"."
    • addedInput schema / properties / target_languages / description
      Added value: +"Target language codes for subtitle localization, for example [\"fr\", \"ja\"]."
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden and does disclose that localization is billed and that auto_localize requires target languages. It omits permissions/auth needs, overwrite or duplicate-file behavior, and any rate or size constraints, which matters for a write operation.

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?

Three short sentences, front-loaded with the action and the billed-optional qualifier before the routing hint. The embedded line breaks and trailing whitespace make it slightly less scannable than it could be, but no sentence is wasted.

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?

An output schema exists, so the description need not detail return values, and it still points at the downstream consumers of the returned storage paths. For a six-parameter write tool with no annotations, the remaining gap is the absence of safety and permission context rather than missing parameter information.

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 six parameters are already documented, and the description adds little beyond restating the local-path-versus-HTTPS distinction for file_path. The "billed" note adds useful meaning to auto_localize but the rest is covered by the schema, so 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?

The description opens with a specific verb+resource pair ("Upload and save a subtitle file") and immediately qualifies the optional billed localization step. It also names the sibling localize_subtitles as the different choice, so an agent can distinguish the two without opening either 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?

It gives a concrete routing rule (use localize_subtitles for the existing in-memory workflow) and explains the input-mode split between stdio and hosted servers. It stops short of stating exclusions such as file-size limits, supported formats, or when to prefer upload_style_guide or parse_subtitle.

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.