Skip to main content
Glama

synthesize_speech

Convert text to a short local WAV file with espeak-ng for offline speech playback, returning a file URI instead of streamed audio.

Instructions

Synthesize a short local WAV using espeak-ng. Returns a local file URI, not streamed audio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rateNo
textYes
voiceNoen

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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 carries the full burden. It discloses two useful behavioral facts: output is a local file URI rather than streamed audio, and the audio is short. It omits file location/lifetime, overwrite behavior, voice availability, and whether the URI is fetchable by other tools.

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?

Two sentences, zero filler, and the most important fact for an agent (a file URI comes back, not a stream) is front-loaded in the second sentence.

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?

An output schema exists, so return-value details need not be repeated, and the description does note the URI form. However, for a 3-parameter tool with no annotations and 0% schema coverage, the definition is thin on parameter meaning and operational constraints.

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% for three parameters (text, rate, voice), so the description must compensate and largely does not. Only the implicit 'short' qualifier hints at the text parameter; rate and voice are entirely undocumented 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?

States a specific verb (synthesize) and resource (speech, as a short local WAV via espeak-ng). No sibling tool does TTS, so differentiation is less critical, but the description usefully distinguishes itself from a streaming-audio tool.

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

Usage Guidelines2/5

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

The phrase 'short local WAV' implies a use case and a size constraint, but there is no explicit when-to-use guidance, no prerequisites, and no mention of related siblings like get_speech_plan or create_tutor_turn that might precede or consume this output.

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