Skip to main content
Glama

parse_subtitle

Parse an SRT/ITT file into timed cues (no storage).

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": "parse_subtitle"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesInput file: local filesystem path in stdio, or an accessible public HTTPS URL on the hosted server.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries full burden, and the only behavioral fact disclosed is that nothing is persisted, which is genuinely useful for a mutation-averse decision. It says nothing about handling of malformed files, encoding, large inputs, or failure modes, which matters for a file-ingesting tool.

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 short sentence, front-loaded with the verb and resource, with no filler. It is nearly too terse rather than padded, so conciseness is not the problem.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the tool is simple with one parameter. However, for a file-parsing tool with zero annotation coverage, the definition is minimal on supported formats, error behavior, and what a cue contains.

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?

There is a single required parameter at 100% schema coverage, and the schema already explains that file_path accepts a local path in stdio or an HTTPS URL on the hosted server. The description adds no format or path constraints beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Parse') and resource ('SRT/ITT file') plus the resulting artifact ('timed cues'), which is enough to distinguish it from storage-oriented siblings like upload_subtitle or list_subtitles. The 'ITT' token is likely a typo for VTT and slightly muddies which formats are actually supported.

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?

There is no explicit when-to-use or when-not-to-use statement, and no sibling is named as an alternative. The parenthetical '(no storage)' implicitly signals the contrast with subtitle-persisting tools, but the agent must infer that parsing is the read-only, transient path.

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.