Skip to main content
Glama

generate_pattern

Generate a complete music pattern from a chosen style, with key and tempo options and optional auto-play.

Instructions

Generate complete pattern from style with optional auto-play

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
styleYesMusic style (techno/house/dnb/ambient/etc)
keyNoMusical key
bpmNoTempo in BPM
auto_playNoStart playback immediately (default: false)
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It fails to mention what 'complete pattern' entails, whether it modifies session state, or any side effects. The description is too minimal to adequately inform the agent about behavior.

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?

The description is a single sentence, concise and to the point. While it could include more detail, it does not waste words. Front-loads the main action ('generate complete pattern') effectively.

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?

Given the absence of an output schema and annotations, the description should explain what the tool returns or any side effects. It does not specify the output format, how the pattern is represented, or any constraints. The tool has four parameters and is part of a complex domain (music generation), so the description is insufficiently complete.

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?

All four parameters have descriptions in the schema (100% coverage), so the description adds no extra meaning. The mention of 'optional auto-play' merely repeats the auto_play parameter's schema description. Baseline score of 3 is appropriate.

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 clearly states the tool generates a 'complete pattern' from a style, with an optional auto-play feature. It uses a specific verb and resource, and distinguishes itself from sibling tools like generate_drums by implying it produces a full pattern rather than a specific component.

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?

No explicit guidance on when to use this tool versus alternatives like generate_bassline or generate_drums. The context of sibling tools suggests it may be a higher-level generator, but the description does not clarify this or provide exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/williamzujkowski/live-coding-music-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server