Skip to main content
Glama

Skysay

Preview a voice

preview_voice
Destructive

Render one bounded, rate-limited provider-backed TTS preview for the authenticated workspace. This may contact a managed provider or validate BYOK and can write preview-rate and exact voice-availability state; it is not a read-only or free preview. Caller text is at most 200 characters and returned audio is bounded in-memory WAV data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoOptional bounded caller sentence. It is synthesized but not persisted or echoed.
modelYes
agent_idNoOptional saved hosted agent id for an exact pinned managed voice retry.
deliveryNoOptional delivery profile; the preview applies exactly the provider settings a call with the same voice_polish.delivery would use.
languageYes
providerYes
voice_idYes
project_idYes
credential_idNoOptional customer-owned TTS credential id; the platform credential is never a fallback.
organization_idNoOptional. Defaults to the authenticated workspace; when supplied it must be that workspace's id.
audio_environmentNoOptional selected ambience mixed only into this preview. When present, text must be non-blank and explicit; the language and text are never replaced.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, but the description goes well beyond them: it discloses that a managed provider may be contacted, that BYOK validation occurs, that preview-rate and voice-availability state can be written, that credentials have no platform fallback, and that audio is bounded in-memory WAV. That is exactly the extra context needed for a non-idempotent, destructive, open-world call.

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?

Three tight sentences with zero filler, and the most decision-relevant facts (bounded/rate-limited preview, state writes, not read-only or free) are front-loaded before the size limits. Slightly dense but every clause carries weight.

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?

For an 11-parameter, nested-object tool with no output schema, the description covers side effects, credential behavior, and the return shape (bounded in-memory WAV) well. Remaining gaps are modest: rate-limit magnitudes, failure/fallback behavior, and the interaction between the required provider/model combo and the optional credential_id.

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 coverage is 55%, so the schema already documents several optional params (credential_id, organization_id, delivery, agent_id, audio_environment). The description restates the 200-character text bound and adds the return format, but says nothing new about the five required params or how delivery/language interact, so it neither compensates for the coverage gap nor adds much beyond the schema.

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 first sentence names a specific verb and resource ('Render ... TTS preview'), qualifies it with real scope modifiers (bounded, rate-limited, provider-backed, authenticated workspace), and no sibling tool overlaps it. An agent can distinguish this from get_agent_voice_stack or preview_simulation_run without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It conveys real usage context ('validate BYOK', 'exact pinned managed voice retry' via agent_id) and warns that this is not a free/read-only probe, which implicitly tells the agent when not to call it casually. But it never names an alternative tool or states the precondition under which this preview should be preferred over set_agent_voice_stack or test_phone_server, leaving routing to inference.

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.