Skip to main content
Glama

set_clip_notes

Replace existing MIDI notes in a specified clip with new notes defined by pitch, timing, and velocity.

Instructions

Set MIDI notes in a clip (replaces existing notes).

Parameters:

  • track_index: The track index (0-based)

  • clip_index: The clip slot index (0-based)

  • notes: List of note dicts with keys: pitch, start_time, duration, velocity, mute Example: [{"pitch": 60, "start_time": 0.0, "duration": 1.0, "velocity": 100, "mute": false}]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesYes
clip_indexYes
track_indexYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that notes are replaced, which is a key behavior. However, it does not describe effects on other clip properties, error scenarios, or permissions, leaving some gaps.

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?

The description is concise and front-loaded with the core purpose. It efficiently includes all parameter details and an example without unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, the description covers basic parameter semantics but lacks context on output, error handling, prerequisites (e.g., clip must exist), and potential side effects. Adequate for a simple tool but not comprehensive.

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

Parameters4/5

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

Schema coverage is 0%, so the description compensates by listing parameter names, types, and providing an example for 'notes' with specific keys (pitch, start_time, etc.). This adds value beyond the bare schema, though it could document constraints (e.g., pitch range).

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 verb 'Set' and the resource 'MIDI notes in a clip', and explicitly notes it replaces existing notes, distinguishing it from similar tools like add_clip_notes and remove_clip_notes.

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?

No guidance is provided on when to use this tool versus alternatives such as add_clip_notes or remove_clip_notes. The description does not specify prerequisites or 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/ursaayush/ableton-mcp'

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