Skip to main content
Glama

Set caption fixes

set_caption_fixes
Idempotent

Replaces, appends, lists or clears exact displayed-caption substitutions, optionally scoped to output-time windows. Supports changed word counts, punctuation, capitalization and deletion by empty replacement. Audio and cuts remain unchanged; the response includes a compiled caption preview.

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": {
      "project_id": "<project_id>"
    },
    "name": "set_caption_fixes"
  }
}

Input Schema

NameRequiredDescriptionDefault
clearNo
operationNo
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.
replacementsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess."New value: +"Explicit project identifier for this request. The connection's navigation pointer does not select the target."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-readOnly, idempotent, non-destructive, so the safety profile is covered; the description adds real context beyond that by stating audio and cuts remain unchanged and that a compiled caption preview is returned. It also discloses deletion-via-empty-replacement, which is non-obvious. It stops short of saying whether append is cumulative across calls or what a clear-plus-replacements combination does.

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?

Three tightly packed sentences, front-loaded with the operations and followed by capability and side-effect details; no filler. 'Optionally scoped to output-time windows' is slightly opaque phrasing that could be sharper, but overall it is efficient.

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?

No output schema exists, and the description does cover the return ('compiled caption preview'), which is the main gap it had to fill. However, for a mutation tool with a 4-param schema and a nested union type, it leaves unclear how the 'clear' flag interacts with 'operation', whether append accumulates, and whether fixes apply to display only versus transcript export.

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 only 25%, with just project_id documented, so the description carries a real burden. It does map the operation names and hints at the start/end output-time scoping and empty-string deletion semantics, but never explains the two accepted replacement shapes (string pair vs {from,to,start,end} object) or the 'clear' boolean's relationship to operation='clear'. Partial compensation, so a mid score.

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 specific verb set (replaces, appends, lists, clears) against a specific resource ('exact displayed-caption substitutions'), which mirrors the operation enum and separates it from set_caption_style, set_caption_mutes, and remove_punctuation. An agent can tell what it mutates and what it does not touch without opening the schema.

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?

Use is implied by the operation list and by 'optionally scoped to output-time windows', but there is no explicit when-to-use or when-not-to-use guidance relative to siblings such as set_caption_style or audit_captions. Nothing tells the agent whether to call this before or after auditing captions, or when a style change is the better tool.

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.