Skip to main content
Glama

preview

Generates a short MP3 sample so you can test voice, engine, and rhythm before narrating a full script; returns the audio file path.

Instructions

Gera uma prévia curta (algumas frases) para testar voz, motor e ritmo. Volta o caminho do .mp3.

engine: 'chatterbox', 'kokoro' ou 'orpheus'. voice: 'narradora' (arquivo em vozes/), 'af_heart',
'af_aoede:0.65,bf_alice:0.35'... speed: só Kokoro/Orpheus (narração calma ~0.9).
exaggeration/cfg_weight: só Chatterbox. sentence_gap: pausa entre frases em segundos.
hq: pós-processa com Resemble Enhance (44.1 kHz, menos aspereza de vocoder).

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": {
      "text": "<text>"
    },
    "name": "preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
hqNo
textYes
speedNo
voiceNo
engineNo
verifyNo
cfg_weightNo
temperatureNo
exaggerationNo
sentence_gapNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description does useful work: it discloses the return value (a file path on disk), per-engine parameter applicability, and that hq triggers an additional Resemble Enhance post-processing pass. However it is silent on whether the call blocks or returns a job for poll (relevant given cancel_job/job_status/wait_for_job siblings), on latency, on where the preview file is written, and on any cleanup/persistence behavior.

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?

Front-loaded purpose sentence followed by a compact parameter glossary, with no filler. Minor deductions for the trailing ellipsis in the voice examples and for terse fragments that require familiarity with the domain.

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 10-parameter tool with zero annotation and schema-description coverage, the description covers the important axes (engine/voice/speed/hq) and the return value stands in for a missing output schema. It is still incomplete: two parameters are unaddressed and the execution model (synchronous file generation vs. job) is not stated.

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 0%, so the description must carry all parameter meaning, and it largely does: it names valid engine values, the voice naming convention including multi-speaker weight syntax ('af_aoede:0.65,bf_alice:0.35'), which parameters apply only to Kokoro/Orpheus vs. Chatterbox, the unit for sentence_gap, and the effect of hq. It leaves 'verify' and 'temperature' completely undocumented and does not describe 'text' beyond its required status, which keeps it short of a 5.

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: generates a short preview (a few sentences) to test voice, engine and rhythm, and explicitly says it returns the .mp3 path. That distinguishes it in spirit from 'narrate' (short test vs. full narration), though it never names the sibling explicitly.

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 phrase 'para testar voz, motor e ritmo' implies this is a trial/validation run before committing to a full narration, but it never says so outright or points to narrate as the alternative for production output. Usage is inferable rather than stated.

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