Skip to main content
Glama
doricomcp

doricomcp

by kulbiq

add_hairpin

Add a crescendo, diminuendo, or messa di voce hairpin between two score positions, including inside held notes, and apply it across multiple voices or instruments.

Instructions

A hairpin (cresc, dim, messa_di_voce) from one position to another, e.g. bar 33 beat 0 to bar 33 beat 3/2, wherever notes start (also inside a held note). voices: put the same hairpin on several instruments (one voice each), e.g. the whole string section. A hairpin starting at a dynamic joins its group (p<), reported as merged_into. Returns the direction, positions and drawn length.

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": {
      "kind": "<kind>",
      "voice": "<voice>"
    },
    "name": "add_hairpin"
  }
}

Input Schema

NameRequiredDescriptionDefault
barNo
posNo
beatNo0
flowNo
kindYes
voiceYes
to_barNo
to_posNo
voicesNo
to_beatNo0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose a genuinely non-obvious side effect: a hairpin starting at a dynamic joins that dynamic's group and is reported as merged_into. It also states the return content (direction, positions, drawn length), which compensates for the absent output schema. It stops short of covering failure conditions, permission requirements, or whether the created hairpin is reversible.

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?

The core action is front-loaded, followed by the kind list, a concrete coordinate example, the voices note, the merge caveat, and the return value — each clause adds information. The prose is dense but not padded; a slight cost is that five distinct points are packed into one paragraph.

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?

For a 10-parameter mutation tool with no annotations and no output schema, the description covers more than most: return contents, merge behavior, multi-voice usage. It remains incomplete on positioning syntax (pos/to_pos) and on flow and voice semantics, which an agent needs to call the tool correctly.

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% across 10 parameters, so the description must compensate, and it only partly does: 'bar 33 beat 0 to bar 33 beat 3/2' implicitly maps bar/beat and to_bar/to_beat, and voices is explained well. The string-typed pos/to_pos format, the singular voice, and the flow parameter are never given meaning anywhere.

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 names the resource and its concrete kinds (cresc, dim, messa_di_voce) and states it spans from one position to another, so an agent knows exactly what is created. It does not explicitly contrast itself with near neighbours like add_dynamic or add_span, so sibling differentiation is left to inference.

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?

It gives a placement rule ('wherever notes start (also inside a held note)') and explains when to use the voices parameter ('same hairpin on several instruments ... whole string section'). There is no explicit when-not guidance or named alternative tool, so usage is implied rather than directed.

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