Skip to main content
Glama
romanstark

Dorico Maestro

check_voice_leading

Read-onlyIdempotent

Audit a score for parallel fifths and octaves, overlaps, and spacing issues. Get a read-only report of voice-leading problems with the voices involved and where they occur.

Instructions

Audit a ScoreSpec for parallel fifths and octaves, overlaps and spacing.

Entirely offline and read-only: nothing in the score is changed and Dorico is
not involved. Written for part-writing of any number of voices, so a chorale or
a string quartet is the natural input.

Returns:
    Result dictionary with one entry per issue found, each naming the rule, the
    voices involved and where it happens. An empty list means nothing was found.

Note:
    These are the common-practice rules, so a passage that breaks them on purpose
    is reported too. The findings are advice and nothing here rewrites the music.

    For a strict two-part species exercise, check_counterpoint applies the
    stricter set of rules that belongs to it. For what the chords are rather than
    how the voices move between them, use analyze_harmony.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scoreYesThe score to work on, as a ScoreSpec object: metadata, parts, and the events inside them. Call score_schema first for the exact shape, which refuses unknown keys rather than ignoring them.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed4 schema fields changedv0.1.5
    • changedInput schema / $defs / EventIn / properties / kind / description
      Previous value: -"'note', 'chord' or 'rest'; inferred if absent."New value: +"'note', 'chord' or 'rest'. Inferred if absent."
    • changedInput schema / $defs / EventIn / properties / staff / description
      Previous value: -"0-based; must match the nesting staff."New value: +"0-based. Must match the nesting staff."
    • changedInput schema / $defs / EventIn / properties / voice / description
      Previous value: -"1-based; must match the nesting voice."New value: +"1-based. Must match the nesting voice."
    • changedInput schema / $defs / VoiceIn / properties / index / description
      Previous value: -"1-based voice number; defaults to position."New value: +"1-based voice number, defaults to position."
  2. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / score / description
      Added value: +"The score to work on, as a ScoreSpec object: metadata, parts, and the events inside them. Call score_schema first for the exact shape, which refuses unknown keys rather than ignoring them."
  3. Addedv0.1.1

TDQS

A4.7/5.0
Behavior5/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint, and the description goes further by stating the tool is 'entirely offline and read-only,' that 'nothing in the score is changed,' and that 'findings are advice and nothing here rewrites the music.' It also discloses that common-practice rules mean intentionally broken passages are still reported. This adds meaningful behavioral context beyond the annotations without contradicting them.

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 well-structured with clear sections: a front-loaded purpose statement, an offline/read-only note, a concise Returns section, and a Note with rule-scope and alternative routing. Every sentence adds value; there is no filler or repetition of schema information.

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

Completeness5/5

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

For a read-only analysis tool with a single well-documented parameter, an output schema, and annotations covering safety, the description is complete. It explains what the return value means, covers edge behavior (purposeful rule-breaking), and routes the agent to the correct sibling tools. Nothing needed for correct selection or invocation is missing.

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 description coverage is 100%, with the single 'score' parameter fully described as a ScoreSpec object and with a pointer to score_schema for exact shape. The tool description reinforces that the input is a ScoreSpec but does not add substantial parameter semantics beyond the schema. Baseline 3 is appropriate since the schema carries the descriptive load.

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 specific verb and resource: 'Audit a ScoreSpec for parallel fifths and octaves, overlaps and spacing.' It clearly identifies the tool's purpose and distinguishes it from related siblings like check_counterpoint and analyze_harmony by naming exactly what this tool checks.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool: for part-writing of any number of voices, with chorales or string quartets as natural inputs. It also gives two concrete alternatives: check_counterpoint for strict two-part species exercises and analyze_harmony for chordal analysis rather than voice movement. This is exemplary usage routing.

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

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/romanstark/dorico-maestro'

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