Skip to main content
Glama

Get subtitle name contents

bazarr_get_subtitle_name_contents
Read-onlyIdempotent

Retrieves the contents of a subtitle file from Bazarr using its file path, enabling inspection or processing of subtitle text.

Instructions

Retrieve subtitle file contents

GET /api/subtitles/contents

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": {
      "subtitle_path": "<subtitle_path>"
    },
    "name": "bazarr_get_subtitle_name_contents"
  }
}

Input Schema

NameRequiredDescriptionDefault
subtitle_pathYesSubtitle filepath

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds that the payload is raw file contents (not a metadata object) and names the API route, but says nothing about encoding, size limits for large subtitle files, or what happens when the path does not exist.

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 terse lines with the action front-loaded and the endpoint exposed for API mapping; nothing is padding. It is on the thin side rather than verbose, but every line present earns its place.

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?

For a one-parameter read tool with full schema coverage and rich annotations, this is adequate. The remaining gap is behavioral: an agent cannot tell from the definition what the returned contents look like or how failures surface, though no output schema exists to offload that.

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 required parameter, so the schema already documents subtitle_path. The description adds no format detail such as whether the path is server-relative, absolute, or fs-browsed, so it meets the baseline without extending meaning.

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?

The description states a specific verb and resource ('Retrieve subtitle file contents') plus the backing endpoint, so the agent knows it fetches raw subtitle data rather than metadata. It does not explicitly contrast itself with the sibling bazarr_get_subtitle_name_info, leaving the info-vs-contents distinction to be inferred from names alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no statement about when to call this instead of bazarr_get_subtitle_name_info, no prerequisites (local file vs. download-needed), and no error-handling conditions. The agent must guess the selection criteria from tool names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools