Skip to main content
Glama

tts_synthesize_async

Submit long Vietnamese text for asynchronous text-to-speech synthesis, returning a request ID and status for webhook delivery or later polling.

Instructions

Batch TTS (async). Text may be up to 100,000 characters.

Returns {requestId, status}. The API currently requires webhook_url; falls back to the VBEE_WEBHOOK_URL environment variable when not passed.

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>",
      "voice_code": "<voice_code>"
    },
    "name": "tts_synthesize_async"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
speedNo
bitrateNo
voice_codeYes
sample_rateNo
webhook_urlNo
client_pauseNo
output_formatNomp3
emphasis_intensityNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden and does deliver real operational context: async nature, the {requestId, status} return shape, and the mandatory webhook_url with a VBEE_WEBHOOK_URL env fallback. However, it omits how the audio is eventually retrieved (presumably via tts_get_request), any auth requirements, and rate/size behavior beyond character count.

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 short sentences, front-loaded with purpose and return shape, then the operational constraint. No filler, though the phrasing is terse enough that grouping the parameter notes into the body rather than trailing them would read better.

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 values need not be expanded, and the description covers the critical blocker (webhook requirement) plus the async lifecycle entry point. The remaining gap is the missing pointer to how results are polled, which matters for a 9-parameter async job tool with zero annotation coverage.

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

Parameters2/5

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

Schema description coverage is 0% across 9 parameters, so the description must compensate and largely does not. It clarifies only the text limit and the webhook_url fallback behavior, leaving speed, bitrate, voice_code, sample_rate, client_pause, output_format, and emphasis_intensity entirely to bare field names and defaults.

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 ('Batch TTS (async)') and implies a batching scope distinct from the synchronous sibling tts_synthesize, though it never names that sibling explicitly. An agent can identify the operation, but differentiation from tts_synthesize relies on interpreting 'async' and 'Batch'.

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?

The 100,000-character limit and 'Batch' framing imply this is for large-volume synthesis while the synchronous variant handles smaller requests, but no explicit when-to-use/when-not or alternative is stated. The webhook requirement is presented as a constraint rather than as a selection criterion.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.