Skip to main content
Glama

Speak aloud

speak

Read text aloud on your computer's speakers and save it as a WAV file; use it when someone asks to hear something or wants answers spoken.

Instructions

Say text aloud on this computer's speakers with Fel's Voice Lab, and save it as a WAV file. Use it when the person asks to hear something, or asked you to speak your answers. Give a voice name from list_voices, or leave voice out for the Lab's default voice. Up to 10,000 characters; long text is made in parts and joined. The first clip after the Lab starts also loads the voice's model, which takes from ten seconds to more than a minute: the call waits, it does not fail. Clips are spoken one after another, never over each other; stop_speaking stops one. Starts the Lab when it is not running. Answers with the file's path and length.

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": "speak"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoA .wav path to save the clip to and keep. Without it the clip goes to the Lab's folder for these clips, cleaned up a day after this server stops. An existing file is never replaced.
playNofalse saves the clip without playing it. Default true.
textYesWhat to say.
voiceNoA voice's name from list_voices. Default: the Lab's default.
formatNowav, mp3, flac, opus or aac. Encoded files require play=false and a named voice.
languageNoThe language to speak, such as English, for a voice that speaks several.
directionNoHow to say it, such as 'quietly, as if tired'. Only voices whose model takes acting directions use it (list_voices says which); the others speak without it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only mark this as a non-read-only, non-destructive write. The description goes well beyond them: it discloses that a first call may block for ten seconds to over a minute while the voice model loads and does not fail, that clips never overlap, that the Lab is auto-started, that temp files are cleaned up a day after the server stops, and that existing files are never overwritten.

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 with purpose and trigger, then behavior, then the answer shape. Every sentence carries operational information, though the latency and playback sentences are dense enough that a reader must parse them carefully.

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

Completeness5/5

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

For a seven-parameter mutation tool with no output schema, the description supplies the return shape ('the file's path and length'), the startup and model-load latency, cleanup policy, and sequencing behavior. An agent has everything needed to call it and set expectations correctly.

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 the baseline is 3. The description still earns more by tying voice to list_voices, explaining the 10,000-character limit and that long text is chunked and joined, and noting that direction only applies to voices whose model supports acting directions.

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?

The description opens with a concrete verb and resource: say text aloud on this computer's speakers and save it as a WAV file. That scope separates it cleanly from siblings like list_voices, stop_speaking and transcribe without needing to open 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?

It gives an explicit trigger ('when the person asks to hear something, or asked you to speak your answers') and routes the agent to list_voices for a voice name and stop_speaking to halt a clip. What is missing is an explicit when-not case, such as choosing transcribe when the user wants text instead of audio.

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