Skip to main content
Glama

Create Speech

post_audio_speech

Generates audio from the input text. Group: Audio. Billing per call: Credits: metered (~187 avg).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoJSON request body. Example: {"model":"tts-1","input":"Today is a wonderful day!","voice":"alloy"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral burden. It discloses useful billing context (metered, ~187 credits avg) which is not available elsewhere, but says nothing about auth requirements, rate limits, or the binary/base64 nature of the returned audio.

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?

One short sentence plus two metadata fragments, with the core purpose front-loaded. No wasted prose, though the trailing metadata reads as appended rather than integrated.

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

Completeness2/5

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

For a tool with no annotations, no output schema, and a nested body object, the description is thin. It omits how the audio is returned and any auth or usage prerequisites, leaving meaningful gaps for an agent to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the body object carries an inline example (model, input, voice). The description's phrase 'input text' loosely maps to one field but adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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 gives a specific verb and resource: 'Generates audio from the input text.' This clearly identifies a text-to-speech operation. It does not explicitly differentiate from the siblings, though chat/embeddings/moderations are obviously distinct, so it stops short of a 5.

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?

There is no guidance on when to use this tool versus alternatives, no prerequisites, and no mention of required model/voice setup. The agent is left to infer everything about invocation context.

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