Skip to main content
Glama

narrate

Queues a story script for text-to-speech audio generation, returns a job ID for tracking, and reuses cached segments when re-generating after edits.

Instructions

Coloca uma história na fila de narração e volta o id do trabalho (acompanhe com job_status).

story: nome do arquivo em historias/ (sem .md), um caminho, ou o próprio texto do roteiro.
Parâmetros omitidos vêm do front matter do roteiro e depois dos padrões do estúdio.
music: nome de arquivo em musica/; music_db: nível da trilha (-30 bem baixa … -20 presente).
Trechos já gerados com as mesmas configurações vêm do cache, então re-narrar após editar é rápido.

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

Input Schema

NameRequiredDescriptionDefault
hqNo
musicNo
speedNo
storyYes
voiceNo
engineNo
verifyNo
music_dbNo
cfg_weightNo
target_lufsNo
temperatureNo
exaggerationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description has to carry the full burden, and it does disclose two valuable behaviors: this is an asynchronous job (returns an id, poll with job_status) and repeated segments with identical configs are served from cache. It is silent on job duration, model loading/resource cost, and what happens to pre-existing outputs, which matters for a 12-parameter generation tool.

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 purpose and job id are front-loaded before the parameter notes, and each line carries distinct information with no filler. The terse bullet-style parameter lines are efficient, though they read as a fragment list rather than a structured explanation.

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

Completeness2/5

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

For a tool with twelve parameters, no annotations, and no output schema, the definition is under-specified: nine tuning parameters are left entirely unexplained, and the cache caveat does not clarify which config fields participate in the cache key. The return value (job id) and parameter fallback order are the main things it does cover adequately.

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 the description must compensate, and it only explains three of twelve parameters (story, music, music_db) plus a general fallback rule that omitted values come from the script's front matter then studio defaults. The other nine (voice, engine, speed, hq, verify, cfg_weight, target_lufs, temperature, exaggeration) get no meaning anywhere.

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?

Opens with a specific verb + resource: it enqueues ("Coloca ... na fila de narração") a story for narration and returns a job id, which an agent can distinguish from the polling sibling it names. It does not, however, differentiate itself from regenerate or preview, which are plausible confusable alternatives.

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 follow-up instruction "acompanhe com job_status" gives a clear next step, and the cache note implies when re-narrating is cheap, so usage is implied rather than spelled out. There is no explicit when-not or routing guidance versus regenerate/preview.

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