Skip to main content
Glama

audio_speech

Read-only

OpenAI-compatible text-to-speech — Drop-in OpenAI Audio Speech API: POST {input (max 1500 chars), language (en, es, fr, zh, ja, ko; default en)} and get the spoken audio back as an MP3 body, like client.audio.speech.create. model, voice, speed and response_format are accepted for compatibility but ignored (one natural voice per language, MeloTTS). Use for voice replies, IVR prompts, accessibility and audio notifications. Price: $0.008 USDC (Base, via 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
inputYesYour order has shipped and will arrive on Tuesday.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses the 1500-character input cap, the output format (MP3 body), that model/voice/speed/response_format are silently ignored, the single-voice-per-language behavior (MeloTTS), and — critically — that the call is paid at $0.008 USDC via x402. Cost and ignored-parameter behavior are exactly the operational facts annotations cannot convey.

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?

Information is front-loaded: what it does, the request shape, the ignored fields, then use cases and price. It is dense but nearly every clause carries a fact; the OpenAI drop-in framing is stated twice ('OpenAI-compatible' and 'Drop-in OpenAI Audio Speech API'), which is mild redundancy.

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 single-parameter tool with no output schema, the description covers everything an agent needs: input limits, supported languages and default, return payload type, the fact that extra OpenAI fields are no-ops, and the payment cost. The only open item is the schema/description mismatch on 'language'.

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?

The schema only documents 'input' (and does so with an example sentence rather than a real description), while the description supplies the character limit, the full language enum with default 'en', and which compatibility fields are accepted-but-ignored. The one flaw is that 'language' is described as a request field but does not appear in the input schema, which could mislead an agent assembling the call.

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?

The description states a specific verb and resource ('text-to-speech', 'POST {input...} and get the spoken audio back as an MP3 body') and anchors it to a known API shape ('like client.audio.speech.create'). It is immediately distinguishable from transcription/translation work, but it never names or contrasts the closest sibling ('ai_speech'), so the agent must infer the split.

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 concrete usage contexts — 'voice replies, IVR prompts, accessibility and audio notifications' — which is clear when-to-use guidance. It stops short of any when-not or alternative routing (e.g., when to prefer ai_speech or a transcription tool), so it lands at 4 rather than 5.

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