Skip to main content
Glama

Grok TTS

grok-tts

Grok TTS — Convert up to 2000 characters of text into speech. Powered by xAI. Not affiliated with or endorsed by xAI. (10 MESH/call, a tool · voice)

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": "grok-tts"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesPayload for grok-tts

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / input / additionalProperties
      Added value: +false
    • changedInput schema / properties / input / description
      Previous value: -"Capability-specific payload, e.g. agent-brain: {think:'...'}; agent-memory: {action:'store'|'recall', content|query}"New value: +"Payload for grok-tts"
    • addedInput schema / properties / input / properties
      Added value: +{
      +  "language": {
      +    "default": "en",
      +    "description": "Optional language code. Default en.",
      +    "maxLength": 32,
      +    "type": "string"
      +  },
      +  "speed": {
      +    "default": 1,
      +    "description": "Optional speech speed, 0.7-1.5. Default 1.0.",
      +    "maximum": 1.5,
      +    "minimum": 0.7,
      +    "type": "number"
      +  },
      +  "text": {
      +    "description": "REQUIRED — the text to speak, up to 2000 characters. Empty rejected; over 2000 rejected.",
      +    "maxLength": 2000,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "voice_id": {
      +    "default": "eve",
      +    "description": "Optional voice id. Default eve.",
      +    "maxLength": 120,
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / input / required
      Added value: +[
      +  "text"
      +]
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false, openWorldHint=true, and non-idempotence. The description adds one genuinely useful non-schema fact — the 10 MESH per-call cost — and signals a third-party external dependency, but says nothing about latency, rate limits, or what an error or credit exhaustion looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The capability statement is front-loaded and the whole description is two lines, so it is efficiently sized. However, the non-affiliation disclaimer and the terse parenthetical '(10 MESH/call, a tool · voice)' consume a large share of the text with unclear operational value, and the tag fragment is cryptic.

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?

With a single nested object at full schema coverage and annotations covering side effects, the missing piece is the return shape: no output schema exists and the description never says whether it returns audio bytes, a URL, or a job id. For a paid external generation call, an agent also lacks any statement of timeout or retry expectations.

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%: text limits, speed range 0.7–1.5 with default 1.0, language default 'en', and voice_id default 'eve' are all documented inline. The description only repeats the 2000-character cap and adds no default, format, or voice-selection meaning beyond the schema, so the baseline 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 states a specific verb and resource — 'Convert up to 2000 characters of text into speech' — plus a provider name, so an agent knows exactly what the tool produces. It does not distinguish itself from the sibling 'voice-tts-stt-placeholder', leaving any overlap to be inferred, which keeps it from 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 over the sibling TTS tool, no note on credit budget tradeoffs, and no mention of prerequisites or failure modes. 'Powered by xAI. Not affiliated with or endorsed by xAI.' is legal framing, not usage guidance, so the agent is left to infer 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.