Skip to main content
Glama

Preview a voice

preview_voice
Read-only

Generate a short audio sample of a voice so the user can hear it before choosing.

Returns a URL to the generated audio. Useful when a user is deciding between
voices, or wants to check how their own reminder wording will sound.

Args:
    voice_id: Voice ID from list_voices.
    text: Words to speak in the sample. Defaults to a standard demo line; pass the
        user's actual reminder message to preview exactly what they'll hear.
    personality: "gentle", "cheerful", "professional", or "energetic".
    language: BCP-47 tag, e.g. "en-GB".
    speaking_rate: 0.8 to 1.2.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNo
languageNo
voice_idYes
personalityNogentle
speaking_rateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: it returns a URL to generated audio, text defaults to a standard demo line, and passing the user's actual message previews exactly what they will hear.

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?

The prose is tight and front-loaded, with the return artifact stated in the first line. The Args block is well-organized but slightly verbose in places (e.g., repeating that text can be the user's reminder message).

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?

An output schema exists, so return-value detail is not required, yet the description still notes the URL. All five parameters are documented despite 0% schema coverage, leaving little an agent needs that is missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and does so thoroughly: voice_id's source (list_voices), text's default and intended use, the four allowed personality values (enums not present in the schema), language as a BCP-47 tag with example, and the 0.8–1.2 speaking_rate range.

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?

The description opens with a specific verb and resource ('Generate a short audio sample of a voice') and states the intent ('so the user can hear it before choosing'). It is clearly distinguishable from siblings like list_voices, set_reminder_voice, and test_call, which do different things with voices.

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: deciding between voices, or checking how the user's own reminder wording will sound. It does not name an alternative tool or state when not to use this one, so it falls short of explicit routing guidance.

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