Skip to main content
Glama

Set score markers

score.set_markers
Idempotent

Name points in a score: where the picture cuts, a moment the music should hit, a section’s start. Each marker is given at a beat or at a time in seconds, and comes back with both, and its frame: the way to learn which beat a moment of the picture falls on. When the tempo changes, a marker given in seconds keeps its time and one given in beats keeps its beat. Markers change no sound. Replaces the list. Returns the new score_id (edit that one next) and the markers.

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

Input Schema

NameRequiredDescriptionDefault
markersYes[{name, at_beats}] or [{name, at_seconds}]
score_idYesThe score to edit

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), it discloses the crucial replace-whole-list semantics, that markers produce no audible change, and the subtle tempo-change rule distinguishing at_seconds from at_beats. These are non-obvious behaviors an agent cannot get from the structured fields alone.

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?

Front-loaded with purpose, then tempo semantics, then the critical 'Replaces the list' warning and return value; nearly every sentence carries information. The clause 'the way to learn which beat a moment of the picture falls on' is slightly compressed to the point of ambiguity, and the density makes it a demanding read.

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 two-parameter setter with an output schema, the description covers mutation scope (full replacement), audio-side effects (none), cross-tempo behavior, and the next-call hint. The remaining gap is whether the markers array must be ordered and what happens when a marker supplies neither timing field.

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 real meaning: a marker may be supplied in beats or seconds, the response carries both plus a frame, and the two input modes behave differently across tempo changes. It does not address ordering of the markers array or the effect of supplying neither at_beats nor at_seconds.

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 opens with a concrete verb+resource framing ('Name points in a score') and immediately concretizes what a marker is: a picture cut, a musical hit, a section start. That is enough to distinguish it from the other score.set_* siblings (tempo, meter, notes, part), which all act on different objects.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives a clear context for use (marking cuts, hit moments, section starts) and an explicit workflow rule: 'Returns the new score_id (edit that one next)', which routes the agent's next call. It does not state when NOT to use it or name a sibling alternative, so it stops short of a 5.

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.