Skip to main content
Glama

Generate music

generate_music

Generate music (a loop or a short track) for the title. A different vendor path and a different price from generate_audio, which is speech. Runs as a job: the call waits up to about two minutes and returns the result; if it is not ready by then it returns the generation with status queued/running — poll get_generation with its id.

Input Schema

NameRequiredDescriptionDefault
tierNoQuality/price tier, e.g. image-cheap or video-premium. Call list_ai_tiers for the current list. Omit it to use this title's default tier.
modelNoModel name, if you insist on a specific one (optional). ⚠ Setting it cancels the tier COMPLETELY — together with its provider and its settings — so params may stop applying. Prefer `tier`.
paramsNoModel settings, as declared by the vendor for the chosen tier — for example {"aspect_ratio":"16:9","resolution":"720p","duration":"4"}. Call list_ai_tiers to see which keys this tier accepts, their allowed values and defaults. Values are strings. Unknown keys are ignored rather than rejected.
promptYesWhat to generate.
providerNoProvider key, if you insist on one (optional). Cancels the tier the same way.
title_idNoWhich game this is for — a label for the report, optional. Credits are always the publisher's, so leaving it out is normal for assets that belong to no game.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare it is a non-destructive, open-world write. The description adds the operationally critical detail that this runs as a job: the call blocks for about two minutes, may return queued/running instead of a result, and in that case the agent must poll get_generation with its id. That is exactly the behavior an agent cannot infer from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: purpose first, sibling/cost differentiation second, async mechanics third. Nothing is padding and the most important constraint (job may not finish) is not buried.

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

Completeness5/5

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

For a 6-parameter, nested-schema generation tool with no output schema, the description covers the async lifecycle, the polling fallback, and the cost/vendor distinction from the nearest sibling. Combined with the fully documented schema, an agent has everything needed to call and follow up correctly.

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%, so the schema already documents tier, model, params, provider and title_id, including the nested params object and the tier-cancelling warnings. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('Generate music (a loop or a short track)') and immediately scopes the output type. It also names and rules out the nearest sibling by explaining that generate_audio is speech, so an agent can route without opening either schema.

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?

Explicitly distinguishes this tool from generate_audio on both vendor path and price, which is real routing guidance. It does not state when-not to use it (e.g. for voiceover or longer tracks), so it stops short of a full when/alternatives rule set.

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.