Skip to main content
Glama

regenerate

Redo only specified segments of an already narrated story and reassemble the audio after corrections or flagged verification issues.

Instructions

Refaz só os trechos indicados (índices do manifest/flagged) de uma história já narrada e remonta o áudio.

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": {
      "story": "<story>",
      "segments": "<segments>"
    },
    "name": "regenerate"
  }
}

Input Schema

NameRequiredDescriptionDefault
storyYes
segmentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does disclose that only indicated segments are redone and the audio is reassembled, but it does not say whether existing audio is overwritten, whether the call is long-running/asynchronous (siblings include job_status, wait_for_job, cancel_job), what it costs, or what it returns.

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 front-loaded sentence with no filler; the scope restriction comes before the side effect. The parenthetical 'manifest/flagged' is slightly cryptic but does not waste space.

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?

For a two-parameter mutation tool with no annotations and no output schema, the description covers the core action but omits how to obtain the manifest/flagged indices, whether the call blocks or returns a job handle, and what happens to already-generated segments.

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

Parameters2/5

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

Schema description coverage is 0%, so both parameters rely on the description. The parenthetical '(índices do manifest/flagged)' usefully explains where the integers in 'segments' come from, but the 'story' parameter's expected form (id, name, or path) is never clarified, leaving half the parameters ambiguous.

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

Purpose4/5

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

States a specific verb and resource: redo only the indicated segments of an already-narrated story and reassemble the audio. The phrase 'já narrada' and 'só os trechos indicados' implicitly separates it from narrate (full narration), though no sibling is named.

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?

Usage is implied: use it on a story that already has narration, targeting specific segment indices from the manifest or flagged segments. There is no explicit when-not-to-use guidance and no mention of narrate or preview as alternatives for a fresh or partial first-time generation.

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