Skip to main content
Glama

audio speech

audio_speech
Read-only

OpenAI-compatible text to speech (MeloTTS): same request shape as OpenAI /v1/audio/speech (input, voice, model); returns a WAV file. Languages en, es, fr, zh, jp, kr via language. Up to 2000 characters, flat price, no API key. Costs $0.005 USDC per call (x402).

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": {
      "input": "<input>"
    },
    "name": "audio_speech"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
modelNoIgnored
voiceNoIgnored
languageNoen (default) | es | fr | zh | jp | kr

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=true, so the description adds substantial behavioral context: WAV return format, 2000-character limit, no API key, flat pricing, and the x402 $0.005 USDC cost. It goes well beyond the annotations, though it doesn't explain latency or failure modes.

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 dense sentence covers shape, output, languages, limits, and price. It is front-loaded with the core purpose, though the pricing and x402 details make it slightly crowded.

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

Completeness4/5

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

Given no output schema, the description covers what is produced (WAV), input constraints (character limit, languages), and operational constraints (price, no key). Remaining gaps like latency or voice selection are minor, since voice is declared ignored.

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 75% and marks model/voice as 'Ignored' and language as an enum-like string. The description clarifies that model and voice only exist for OpenAI request-shape compatibility, and enumerates the languages for 'language', adding value beyond the schema.

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?

States a specific verb+resource ('text to speech') and explicitly ties itself to the OpenAI /v1/audio/speech request shape, distinguishing it from sibling speech tools like speak, speak_pro, and audio_transcriptions.

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 OpenAI-compatibility and language list imply when it fits, but there is no explicit when-to-use versus speak/speak_pro or guidance on input format. 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources