Skip to main content
Glama

vibedgames

Generate music

generate_music

Composes music from a prompt: genre, mood, instruments, structure (ElevenLabs Music v2.5: elevenlabs/music/v2.5). Billed against your credits; waits up to wait_seconds, then returns the request_id to follow with generate_status.

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
promptYesThe music to compose, up to 5,000 characters: genre, mood, instruments, tempo, structure, e.g. `upbeat chiptune boss battle loop, 140 bpm`
optionsNoAny other input the model takes, per generate schema of its endpoint; the fields above win
wait_secondsNoHow long to wait for the result before returning the request id
music_length_msNoThe track's length in milliseconds, 3,000 to 600,000 (3 seconds to 10 minutes), e.g. 60000 for a minute; omit for the model's default
force_instrumentalNotrue makes a track with no vocals; omit to let the prompt decide

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare a non-read-only, open-world, non-destructive operation, and the description usefully adds that runs are metered against credits and may return a pending request_id instead of a finished track. It stops short of disclosing rate limits, failure/retry behavior, or what happens to an abandoned pending request, so it is additive but not rich.

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 tight sentences with no filler, and the core purpose is front-loaded before the billing and async details. The parenthetical model string interrupts slightly but earns its place by identifying the exact endpoint.

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?

For a five-parameter generative tool with a nested passthrough object and no output schema, the description covers purpose, cost, and return shape (request_id) adequately. The unaddressed gap is the nested `options` object, which an agent must infer from the schema alone.

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 100%, so the schema already documents every parameter, and the description adds little per-parameter meaning. The one genuine addition is the consequence of `wait_seconds` expiring (you get a request_id to follow up on), which the schema does not spell out; the nested `options` passthrough is left entirely to the 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?

"Composes music from a prompt: genre, mood, instruments, structure" is a specific verb plus resource, and the model identifier (ElevenLabs Music v2.5) pins down exactly which generator this is. The named hand-off to generate_status further separates it from the synchronous generation siblings.

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?

It states the credit cost up front and explains the async continuation path: wait up to `wait_seconds`, then poll with `generate_status`. That gives an agent a clear operating procedure, though it never says when to prefer this over generate_sound or generate_speech, nor when to set wait_seconds to 0 versus the max.

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.