Skip to main content
Glama

Translated SRT from history

get_srt_translation
Read-onlyIdempotent

Get one SRT translation from list_history (type srt_translation) as a ready-to-save SRT file in the target language, plus the original text of each cue.

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": {
      "translation_id": "<translation_id>"
    },
    "name": "get_srt_translation"
  }
}

Input Schema

NameRequiredDescriptionDefault
translation_idYes
include_originalNoAlso return the original line of each cue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds useful behavioral detail about the payload (full SRT file plus per-cue original text), but says nothing about failure modes when translation_id is missing or not of type srt_translation, or about any cost/credit implications.

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?

One front-loaded sentence that leads with the verb, resource, and provenance, with no filler. It loses a point because the trailing 'plus the original text of each cue' clause is ambiguous given the optional include_original flag and should have been conditioned or dropped.

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 simple two-parameter read tool with no output schema, the description covers what is returned (an SRT file in the target language) and where the id originates. Only edge-case behavior (invalid id, wrong history-type) and the optionality of the original-text portion remain unaddressed.

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?

It adds real meaning for translation_id by stating where the value comes from (list_history entries of type srt_translation), which the bare integer schema does not convey. However, schema description coverage is only 50%, and the sentence 'plus the original text of each cue' implies original text is always returned, contradicting the include_original parameter whose default is false.

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 (get one SRT translation), scopes it to a single item, and ties it to its source list (list_history, type srt_translation), which is enough to separate it from the listing sibling. The output is described in concrete terms ('ready-to-save SRT file in the target language'), so an agent knows what it gets back.

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 reference to list_history (type srt_translation) implicitly establishes the flow: list first, then fetch one record by id. There are no explicit when-not conditions or named alternatives (e.g., get_transcription for audio transcription), but the parameter named 'translation_id' plus the history-type qualifier makes the intended context clear.

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.