Skip to main content
Glama

Set caption fixes

set_caption_fixes
Idempotent

PROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Edit displayed captions. Default operation=replace replaces the COMPLETE active set. append upserts by matching text and scope; clear removes all; list returns active fixes and compiled caption preview. replacements accepts [from,to] pairs or objects with from,to and optional start,end in OUTPUT seconds to target one occurrence. Word-count changes, punctuation and capitalization are supported; replacement text is exact. Audio/cuts remain unchanged. A preview is returned without video encoding.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clearNo
operationNo
project_idYesRequired immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess.
replacementsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, and the description adds substantial behavioral detail: project-scoped action, return of project identity, preview without encoding, audio/cuts unchanged, exact replacement text, and the effect of each operation (e.g., replace clears the entire set). No contradiction with annotations.

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 dense but every sentence contributes necessary information. It front-loads the scoping constraint and then logically explains operations and parameter formats. Slightly long but appropriate for the tool's complexity; no wasted words.

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

Completeness5/5

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

For a tool with four parameters, multiple operations, low schema coverage, and no output schema, the description covers all necessary aspects: operations and their effects, parameter formats, scoping requirement, return behavior (preview without encoding), and non-destructive nature. An agent has enough to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% (only project_id has a description), yet the description fully explains the semantics of operation, clear, and replacements, including the accepted formats for replacements ([from,to] pairs or objects with optional start/end). This compensates completely for the low schema coverage.

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?

The description states a specific action ('Edit displayed captions') and details the operations (replace, append, clear, list), making it clear what the tool does. It also differentiates from siblings by emphasizing project-scoping and that it affects only caption text while leaving audio/cuts unchanged, distinguishing it from style or mute tools.

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?

The description provides clear context for when to use this tool (editing caption text) and mentions that it acts only on the explicit project_id, but it does not explicitly name alternatives or state when not to use it (e.g., for style changes use set_caption_style). The guidance is implied rather than explicit.

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.