Skip to main content
Glama

add_pattern

Creates a new pattern in a Lemon Studio music project, optionally setting its name and color, and returns the pattern ID for later edits.

Instructions

Add a pattern. Returns its id.

Input Schema

NameRequiredDescriptionDefault
nameNo
colorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions that the tool returns an id, which is useful, but it does not describe side effects, whether the pattern is empty, how optional fields are handled, or any permission or state implications.

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 two short sentences with no filler, and the main action is front-loaded. It is concise, though the brevity contributes to missing semantics rather than maximizing helpfulness.

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 mutation tool with no annotations, no output schema, and 0% parameter description coverage, the description is too sparse. It says what happens and that an id is returned, but it leaves key input and behavioral details unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not mention the name or color parameters at all. It does not explain whether name is auto-generated or what color controls, so the two optional parameters remain undocumented beyond their bare schema titles.

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?

The description states a clear verb and resource: 'Add a pattern.' An agent can understand the basic operation without opening the schema. However, it does not distinguish this from sibling tools such as set_pattern, delete_pattern, or place_pattern.

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 gives no explicit guidance about when to use this tool versus alternatives. It implies creation through the verb 'Add,' but it never mentions set_pattern, delete_pattern, or place_pattern as related alternatives.

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