New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

theory_respell

Suggest the preferred enharmonic spelling for one or more pitches in a given key context. Picks the spelling that is diatonic to the key (e.g. F# in G major, Gb in F major). Uses the key's accidental preference (sharps/flats) as a tiebreaker for chromatic passing tones. WHEN TO USE: after OMR (op...

SERVERGradus Notation SOURCE@gradusmusic/notation-mcp
Low RISK CLASS
Category Read
Parameters 31 required
Recommended Allowedsee the rule below
Registry record Grade C, identity unverified Pull the record →

This record as markdown: /tools/com-gradusmusic-notation/theory-respell.md

What theory_respell does on Gradus Notation

AI agents call theory_respell to retrieve information from Gradus Notation without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
pitch string Single pitch string (scientific notation). Use this OR `pitches`.
pitches array Array of pitch strings. Use this OR `pitch`.
keyContext string Yes Key signature string, e.g. "C major", "G major", "Bb minor", "F# major".

Parameters from the server's own tool schema.

Why theory_respell is rated Low

This tool purely analyzes and returns spelling suggestions for pitches — it reads/computes information without modifying, executing, or deleting any data. It is a stateless advisory/query operation.

From the tool's definition Suggest the preferred enharmonic spelling for one or more pitches in a given key context

Questions about theory_respell

What does the theory_respell tool do? +

Suggest the preferred enharmonic spelling for one or more pitches in a given key context. Picks the spelling that is diatonic to the key (e.g. F# in G major, Gb in F major). Uses the key's accidental preference (sharps/flats) as a tiebreaker for chromatic passing tones. WHEN TO USE: after OMR (optical music recognition) to correct mis-spelled accidentals; when generating notation and unsure whether to write F# or Gb; when transposing — respell after the semitone shift to maintain diatonic spelling; before calling notation_render to clean up accidentals. INPUT: { keyContext: string, pitches: string[] } OR { keyContext: string, pitch: string }. Pitch strings use scientific notation: "F#4", "Bb3", "C5", "Eb4". OUTPUT: { ok, requestId, keyContext, results: [{ input, output, changed }], attribution }. changed is true when the spelling was adjusted. EXAMPLES: { keyContext: "F major", pitches: ["F#4", "Bb4", "E4"] } → F#4→Gb4 (Gb is diatonic in F major), Bb4 unchanged, E4 unchanged. { keyContext: "G major", pitch: "Gb4" } → Gb4→F#4 (F# is diatonic in G major). It is categorised as a Read tool in the Gradus Notation MCP Server, which means it retrieves data without modifying state.

What parameters does theory_respell accept? +

theory_respell accepts 3 parameters: pitch, pitches, keyContext. Required: keyContext. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on theory_respell? +

Register the Gradus Notation MCP server in PolicyLayer and add a rule for theory_respell: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Gradus Notation. Nothing to install.

What risk level is theory_respell? +

theory_respell is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit theory_respell? +

Yes. Add a rate_limit block to the theory_respell rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block theory_respell completely? +

Set action: deny in the PolicyLayer policy for theory_respell. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides theory_respell? +

theory_respell is provided by the Gradus Notation MCP server (@gradusmusic/notation-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Gradus Notation, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Gradus Notation's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.