Skip to main content
Glama

generate_audio

Produce music, speech, or lip-synced audio from text prompts by choosing a model and setting its parameters. Get results as a direct response or webhook callback.

Instructions

Generate audio (music, speech/TTS, lipsync). Parameter wajib mengikuti input_schema model. Response bisa "completed" atau "processing".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYesID model (lihat tool list_models / get_models_pricing untuk daftar model_id dan input_schema parameternya)
parametersNoParameter sesuai input_schema model, mis. { prompt, aspect_ratio }. File input bisa berupa URL http(s), data URI base64, atau path /api/tmp/...
webhook_urlNoURL webhook opsional yang dipanggil saat status completed/failed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are present, so the description carries the full disclosure burden. It usefully reveals that the tool is asynchronous ('Response bisa completed atau processing') and that behavior is model-dependent, which is non-obvious. However, it does not disclose how results are retrieved after a 'processing' response (e.g., via get_generation_status), billing implications, or error/failure surfaces beyond the webhook mention in the schema.

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 short sentences with the purpose front-loaded; no filler. The second sentence packs behavioral and parameter constraints efficiently. Minor deduction because of the mixed Indonesian/English phrasing and the somewhat ambiguous 'lipsync' term at the end, which slightly reduces scannability for an English-primary agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex, polymorphic, asynchronous tool with nested objects, no annotations, and no output schema, yet the description only states status values ('completed'/'processing') without explaining the follow-up workflow. It does not reference sibling tools like get_generation_status or list_generations for retrieving results, nor does it mention cost/credit implications (relevant given check_credits exists).

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%, hitting the high-coverage baseline of 3. The schema's own parameter descriptions already explain the model_id lookup path, file input formats (URL, data URI, /api/tmp/...), and the webhook's completed/failed behavior. The top-level description adds little beyond restating that parameters must follow the model's input_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 description states a specific verb ('Generate') and resource ('audio') and enumerates the concrete sub-types (music, speech/TTS, lipsync), which clearly distinguishes it from sibling tools generate_image and generate_video. An agent can immediately identify what this tool produces without inspecting the 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?

The 'Generate audio' phrasing implies the when-to-use vs. the image/video siblings, and 'Parameter wajib mengikuti input_schema model' gives a call-level constraint. However, there is no explicit when-not-to-use guidance, no named alternatives, and no mention that lipsync output might overlap with video-generation tasks.

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