Skip to main content
Glama

Prepare a MaxVideoAI Audio generation

prepare_audio_generation

Use this to validate one complete Audio request and save an exact short-lived quote without debiting the wallet or contacting a provider. Read list_audio_capabilities first for a currently available mode, exact settings and owned reference roles. Display exact cents, currency, expiry, balance and top-up state; wait for explicit approval of that exact quote before confirm_audio_generation. Treat expiresAt as UTC; definitive expiry comes from QUOTE_EXPIRED. Missing required assets block an exact quote. A failed or refunded attempt requires a fresh quote and new approval. Never infer approval from discussion or funding.

Input Schema

NameRequiredDescriptionDefault
modeYes
promptYes
surfaceYes
engineIdYes
settingsNo
referencesNo
outputCountNo
schemaVersionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) by disclosing that no wallet debit occurs, no provider is contacted, the quote is short-lived, expiresAt is UTC with QUOTE_EXPIRED as authoritative, and that missing assets block quoting. These are exactly the side-effect and lifecycle facts an agent needs.

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?

Purpose is front-loaded in the first sentence and the remaining imperative clauses each carry distinct operational rules. It is dense with many short directives, but almost none are filler.

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?

The workflow, pricing lifecycle and approval gating are covered thoroughly for a two-step prepare/confirm pattern. However, for an 8-parameter tool with nested objects and no output schema, the total absence of parameter-level guidance leaves a real gap that the description does not close.

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% and there are 8 parameters with a deeply nested settings object and references array. The description only obliquely gestures at mode, settings and reference roles via the list_audio_capabilities pointer, leaving engineId, prompt, the settings fields and reference role/asset shapes undocumented in both schema and description.

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 states a specific verb and resource: it validates one complete Audio request and saves a short-lived quote. It clearly distinguishes itself from confirm_audio_generation and list_audio_capabilities by naming both and their relationship to this step.

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

Usage Guidelines5/5

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

Explicit sequencing is given: read list_audio_capabilities first, wait for explicit approval of the exact quote before calling confirm_audio_generation, and never infer approval from discussion or funding. It also states when a quote is blocked (missing assets) and when a new one is required (failed/refunded attempt).

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.