Skip to main content
Glama
boraswim
by boraswim

add_instrument

Adds an instrument to a song by selecting a voice from the available list, with optional volume and filter settings; songs can hold up to 16 instruments.

Instructions

Adds an instrument to the song. A song can have 16.

Input Schema

NameRequiredDescriptionDefault
voiceYesVoice from list_voices: "MIDI/Grand Piano", a unique part of a name, or its index.
cutoffNoLow-pass filter cutoff, 0-128. 128 (the default) means no filtering.
volumeNo0-256, 256 by default.
resonanceNoLow-pass filter resonance, 0-9.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already establish that this is a non-read-only, non-destructive, closed-world mutation. The description adds the important behavioral constraint that a song can have 16 instruments, but it does not explain what happens if that limit is reached or what the operation returns.

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?

Two short sentences, front-loaded with the core action and followed immediately by the key capacity constraint. There is no wasted text.

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 simple mutation tool with full schema coverage and annotations covering its safety profile, the description is largely complete. It could be stronger if it noted the behavior at the 16-instrument limit, but that is a minor omission.

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 input schema already fully documents voice, cutoff, volume, and resonance. The description adds no parameter-level meaning beyond the schema, which is the expected baseline when the schema does the heavy lifting.

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 specific verb and resource: adds an instrument to the song. It also gives a capacity constraint. It does not differentiate the tool from siblings such as update_instrument or remove_instrument, which keeps it from a 5.

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 does not say when to use this tool versus update_instrument, remove_instrument, or list_voices. Usage is only implied by the operation name and the 16-instrument limit.

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