Skip to main content
Glama

Set notes

score.set_notes
Idempotent

Change notes of a score by id, up to 2,000 a call: pitch, at_beats, length_beats, velocity. Fields left out keep their values. Returns the new score_id (edit that one next).

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": {
      "notes": "<notes>",
      "score_id": "<score_id>"
    },
    "name": "score.set_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesYes[{note_id, pitch, at_beats, length_beats, velocity}]
score_idYesThe score to edit

Output Schema

NameRequiredDescriptionDefault
parentYesThe version this edit started from
changedYesWhat the edit added, removed or modified
score_idYesThe new version: edit this one next (older ids stay valid)
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the 2,000-note cap, partial-update semantics ('Fields left out keep their values'), and the important behavioral fact that the operation returns a new score_id that should be used for subsequent edits. It does not clarify permissions or whether the old score_id becomes stale, which would be needed for a 5.

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 dense sentences, front-loaded with the core action, the editable fields, the partial-update rule, and the return value. There is no filler.

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?

The tool is a mutation with full parameter documentation, annotations covering safety and idempotency, and an output schema, so the description is nearly complete. A minor gap is that it does not state whether notes not listed in the notes array are preserved, which matters for a mutation tool.

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 100%, so the baseline is 3, but the description adds meaningful semantics not fully expressed in the schema: updates are partial, omitted fields retain values, and each call is capped at 2,000 notes. It omits mention of the note_id key and the seconds-based alternatives, but those are documented in the schema.

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 uses a specific verb ('Change') and resource ('notes of a score by id'), and enumerates the editable fields, so an agent can tell this edits existing notes rather than adding or removing them. It does not explicitly name the add/remove siblings, 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: this modifies existing note fields, and the note 'edit that one next' hints at a follow-up workflow with the returned score_id. However, there is no explicit when-to-use/when-not guidance and no named alternative such as score.add_notes or score.remove_notes.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.