Skip to main content
Glama

api_subtitle_srt_to_vtt

Read-onlyIdempotent

Convert caller-owned SRT subtitles into playable WebVTT, preserving cue timing and text. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "srt": "<srt>"
    },
    "name": "api_subtitle_srt_to_vtt"
  }
}

Input Schema

NameRequiredDescriptionDefault
srtYesSRT text with HH:MM:SS,mmm timestamp cues, preferably via JSON POST

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the description correctly spends its words elsewhere: it discloses the exact price (0.01 USDC on Base x402) and an auth requirement (X-Provider-Key for customer-owned provider credentials). It stops short of stating size limits, failure modes, or whether conversion is instant—hence not a 5.

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?

Two sentences, front-loaded with the transformation and followed by the cost/auth caveat—both earn their place. The phrase 'where needed' is slightly vague about when the header is actually required, but nothing is filler.

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 one-parameter, read-only conversion with no output schema, the description supplies purpose, output form (playable WebVTT), price, and credential header. Return details need not be explained, though a note on typical input size or error handling would round it out.

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 100% with a single well-documented parameter (HH:MM:SS,mmm SRT text, JSON POST preferred), so the baseline is 3. The description adds only that cue timing and text are preserved in the output, not any new constraint on the input itself.

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 precise verb and resource pair ('Convert caller-owned SRT subtitles into playable WebVTT') plus the invariant ('preserving cue timing and text'), which immediately separates it from sibling subtitle tools like api_subtitle_offset and api_subtitle_reading_speed that operate on subtitles without changing format.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than spelled out: 'caller-owned' signals this is for the user's own files and 'playable WebVTT' signals the playback target. No explicit when-to-use/when-not guidance or named alternative is given, so an agent must infer the routing decision.

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.

Resources