Skip to main content
Glama

generate_music

Generate a music track. 10 credits.

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": {
      "prompt": "<prompt>"
    },
    "name": "generate_music"
  }
}

Input Schema

NameRequiredDescriptionDefault
bpmNo
promptYesGenre, mood and instruments, e.g. 'upbeat chiptune for a title screen' (10–300 chars)
durationNoSeconds (30–120)
keyScaleNoe.g. 'A minor', 'D major'C major

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world mutation, so the safety profile is covered. The description adds genuinely useful context beyond that by disclosing the cost (10 credits), which the agent cannot learn from structured fields. However, it says nothing about generation latency, whether the job is asynchronous and must be polled via check_generation, or what happens to credits on failure.

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, front-loaded with the action and immediately followed by cost, with no filler. The brevity edges into under-specification rather than verbosity, but every sentence present earns its place.

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?

For a paid, non-idempotent generative tool with no output schema, the definition leaves out what an agent most needs: whether the call returns audio immediately or a job handle, and whether a follow-up poll is required. The presence of check_generation among the siblings strongly suggests asynchronous behavior that this description never mentions.

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 75%: prompt, duration, and keyScale carry their own descriptions and examples in the schema, and bpm has bounds but no prose. The description adds no parameter meaning beyond that, so the schema is doing the work and a baseline 3 is appropriate.

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?

"Generate a music track" gives a specific verb and resource, so the agent knows exactly what is produced. It does not differentiate from the many adjacent generators in the sibling list (generate_sfx, generate_vfx, generate_video, generate_animation_set), so the boundary between music and sound effects is left for the agent to infer.

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

Usage Guidelines2/5

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

The description contains no when-to-use guidance, no prerequisites, and no mention of alternatives such as generate_sfx for short audio or check_generation for retrieving results. The only usage-shaped information the agent gets is the credit price.

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.

Resources