Skip to main content
Glama

vibedgames

Generate speech

generate_speech

Speaks a line of text: dialogue, narration, an announcer (ElevenLabs v4, which takes audio tags for delivery: elevenlabs/tts/eleven-v4). Billed against your credits; waits up to wait_seconds, then returns the request_id to follow with generate_status.

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

Input Schema

NameRequiredDescriptionDefault
textYesWhat to say
voiceNoA voice name, e.g. Rachel, Aria, Roger
optionsNoAny other input the model takes, per generate schema of its endpoint; the fields above win
wait_secondsNoHow long to wait for the result before returning the request id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare non-read-only, open-world, non-destructive, so the description carries real weight and delivers: it discloses that calls consume credits (a cost signal) and that the call is partially synchronous, blocking up to `wait_seconds` before returning a `request_id`. It stops short of saying whether failed generations are still billed or what the eventual result payload contains.

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?

Two dense sentences with the purpose front-loaded and the billing/latency caveats trailing. Every clause contributes information (use cases, endpoint, cost, timeout, follow-up), with only mild density from stacked backtick references.

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?

With no output schema, the description correctly compensates by explaining that the immediate return is a `request_id` resolved via generate_status, and flags the credit cost. The main residual gap is what the completed generation yields (audio URL vs. asset embed), which the agent must infer.

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%, so `text`, `voice`, `options`, and `wait_seconds` are already documented; the description only reinforces `wait_seconds` and hints that model-specific inputs belong in the endpoint's options. It adds little meaning beyond the schema, so a baseline 3 is appropriate.

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 and resource ('Speaks a line of text') and narrows intent with concrete use cases (dialogue, narration, announcer) plus the backing endpoint (elevenlabs/tts/eleven-v4). It also implicitly separates itself from generate_status by positioning that sibling as the follow-up poller rather than a synthesis path.

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?

The description tells the agent the operational flow: call this, expect a wait bounded by `wait_seconds`, then follow the returned `request_id` with generate_status. That is explicit routing to an alternative for the continuation step, though it gives no exclusion guidance against nearby siblings like generate_sound or generate_music.

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.