Skip to main content
Glama

fix_words

Edit transcript words by index to correct text, remove a word, or merge multiple words into one while keeping original timing; then re-render the captioned video with save_video.

Instructions

Sets words by the index get_transcript gave them, keeping their timing; empty text removes a word, and count joins that many words into one spanning them all (two words heard for one). Then save_video writes the video again.

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>",
      "fixes": "<fixes>"
    },
    "name": "fix_words"
  }
}

Input Schema

NameRequiredDescriptionDefault
fixesYes
project_idYesThe project id a caption_video call returned (on this computer, a file's path)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does it reasonably well: it discloses that timing is preserved, that empty text deletes a word, that count merges N words into one, and that changes are not persisted until save_video runs. Missing are validation or failure behaviour for out-of-range indices and whether the project is mutated in memory only.

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?

A single dense sentence carries the core semantics, followed by a short sentence on the persistence step. The parenthetical example '(two words heard for one)' clarifies count efficiently, though the phrasing of the final sentence is slightly oblique.

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

Completeness4/5

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

For a two-parameter mutation tool with no annotations and no output schema, the description covers ordering, edit semantics, and persistence behaviour. A brief note on what happens with an invalid or sparse index set would close the remaining gap.

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 coverage is only 50%, but the description compensates: it defines the meaning of an empty text value (removal), the meaning of count (merge N words into one spanning them), and the origin/semantics of index (the values get_transcript returned). That is more than the schema states for text and index.

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 and resource (sets words by the index from get_transcript), and it names the two neighbouring tools that bracket it in the workflow. An agent can tell it apart from get_transcript and save_video without opening any schema.

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

Usage Guidelines4/5

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

Gives implicit but explicit ordering: indices come from get_transcript, and save_video must follow to write the video again. It does not name any case where a different tool should be used instead, but the prerequisites and follow-up step cover the real decision points.

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