Skip to main content
Glama

rename_subtitles

Automatically rename subtitle files to match corresponding video files in a directory using statistical token matching and episode verification.

Instructions

执行字幕重命名操作

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryYes要处理的目录路径
confirmNo是否确认执行实际重命名(默认为 false,仅演习模式)
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. The description only states the action without explaining critical behaviors: it doesn't mention that this is a potentially destructive operation (renaming files), the default 'confirm=false' puts it in a dry-run mode, what happens if errors occur, or any permissions/rate limits. This leaves significant gaps for a mutation 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?

The description is extremely concise—a single phrase in Chinese—with no wasted words. However, it's under-specified rather than efficiently informative, lacking necessary details for clarity. It's front-loaded but incomplete, so it doesn't fully earn a top score despite its brevity.

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

Completeness2/5

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

Given the tool's complexity (a mutation operation with a dry-run mode), lack of annotations, and no output schema, the description is incomplete. It fails to explain the tool's behavior, output format, or error handling. For a tool that modifies files, this minimal description is inadequate to ensure safe and correct usage.

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 the input schema fully documents both parameters ('directory' and 'confirm') with clear descriptions. The description adds no additional meaning beyond what the schema provides, such as explaining how the renaming logic works or what 'directory' should contain. Baseline 3 is appropriate since the schema does the heavy lifting.

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

Purpose2/5

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

The description '执行字幕重命名操作' is a tautology that essentially restates the tool name 'rename_subtitles' in Chinese. It doesn't specify what resources are being renamed (e.g., subtitle files in a directory) or provide any distinguishing details from sibling tools. While it indicates the action (rename subtitles), it lacks specificity about scope or method.

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?

No guidance is provided on when to use this tool versus alternatives. The description doesn't mention prerequisites, context for use, or exclusions. Given sibling tools like 'preview_matching' and 'scan_media_files' that might relate to media processing, there's no indication of how this tool fits into a workflow or when it's appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sienyaa/mcp-submatcher'

If you have feedback or need assistance with the MCP directory API, please join our Discord server