Skip to main content
Glama

add_notes

Add notes or melody text to a MIDI clip starting at a chosen beat to build and edit song arrangements.

Instructions

Add notes to a MIDI clip: notes as in add_clip, or melody text starting at beat at.

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": {
      "clip": "<clip>"
    },
    "name": "add_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNo
clipYes
notesNo
melodyNo
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not say whether notes are appended to or replace existing clip content, what happens if both notes and melody are supplied, or what is returned. The presence of a sibling set_notes makes the append/replace question material for correct invocation, and it goes unanswered.

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?

A single front-loaded sentence with no filler, leading with the action and target before the input modes. Slightly cryptic cross-reference ("notes as in add_clip") costs a point against a fully self-contained phrasing.

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?

A five-parameter mutation tool with no annotations, no output schema, and no schema descriptions needs substantially more: mutual exclusivity of notes/melody, the project parameter, the note object shape, and append semantics are all missing. The description covers roughly two of five parameters and none of the behavioral risk.

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 0%, so the description must compensate, and it partially does: it explains that notes follows add_clip's format, that melody is text, and that at is the beat position. It leaves the project parameter and the array item shape of notes completely unexplained, and "as in add_clip" is only useful if the agent has already read that tool.

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?

States a specific verb and resource ("Add notes to a MIDI clip") and distinguishes two input modes: a notes structure like add_clip's, or melody text anchored at a beat. It never distinguishes itself from closely named siblings like set_notes or edit_notes, leaving the append-vs-replace distinction implicit.

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?

Usage is only implied: the two input alternatives (notes vs melody) hint at when each applies, and the ``at`` anchor suggests melody placement. There is no explicit guidance on when to choose this over set_notes, edit_notes, or add_melody, which are the realistic competing calls given the sibling list.

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