Skip to main content
Glama

Edit transcript text

edit_transcript
DestructiveIdempotent

Correct the text of a transcript, the same as editing it on the website: the edited text becomes the transcript everywhere (viewer, exports, share links, chat), and word timings are re-aligned. Two ways: edits replaces whole lines by their segment number from get_transcript; replace is find & replace across the transcript (for a misspelled name or term). The original is always kept: restore_original_transcript brings it back. Make only the changes the person asked for.

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": {
      "transcription_id": "<transcription_id>"
    },
    "name": "edit_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
editsNoLines to replace. `segment` is the number get_transcript shows ("(segment 12)" or its paging), `text` the full corrected line.
replaceNoFind & replace in every line.
transcription_idYesThe transcription id (from search_transcripts or find_in_transcripts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description builds on that by disclosing blast radius (all surfaces: viewer, exports, share links, chat), a side effect (word timings re-aligned), and recoverability ('The original is always kept: restore_original_transcript brings it back'). This is exactly the extra context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four tight sentences, front-loaded with the effect of the edit before the mechanics. Every clause carries information: propagation, re-alignment, the two modes, and the restore path. No filler and no repetition of the parameter names already in the schema.

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 destructive, nested-parameter mutation tool with no output schema, the definition covers effect, modes, reversibility, and provenance of the segment number. Two gaps remain: it never says whether `edits` and `replace` may be sent together, and it says nothing about what happens when a segment number is out of range or `find` matches nothing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: `segment` is 'the number get_transcript shows ("(segment 12)" or its paging)', which tells the agent where the value comes from, and it scopes `replace` to across-the-transcript matching. It does not explain whether the two modes can be combined in one call or how conflicts between them are resolved.

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 ('Correct the text of a transcript') and immediately clarifies scope: the edit propagates everywhere (viewer, exports, share links, chat) and re-aligns word timings. It also separates itself from get_transcript (source of segment numbers) and restore_original_transcript, so an agent knows this is the mutation to reach for.

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

Usage Guidelines5/5

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

Explicitly enumerates the two invocation modes and when each applies: `edits` for whole-line replacement by segment number, `replace` for find & replace 'for a misspelled name or term'. It also names the rollback tool and adds a scoping constraint ('Make only the changes the person asked for'), leaving little to inference.

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.