Skip to main content
Glama

score_generation_guide

Access the guide for writing music21 scripts, covering conventions, instrument class references, and a runnable template, to prepare for score generation.

Instructions

Return the score generation guide for writing music21 scripts.

Read this before calling generate_score. It is the bundled score-generate skill (instructions, music21 conventions and troubleshooting), the instrument class reference (which class to use for each instrument, with transposition handled by music21), and a complete runnable template script. Takes no parameters.

Returns the guide as Markdown, or {"error": ...} JSON if the bundled skill files cannot be found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations available, the description carries the full burden and does so well. It discloses the successful return format (Markdown), the failure mode (error JSON when bundled skill files cannot be found), and confirms the tool takes no parameters.

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 and front-loaded: purpose first, usage directive second, content overview, then parameters and return behavior. Every sentence adds relevant information without redundancy.

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 parameterless informational tool with an output schema, the description is complete. It explains when to use it, what it contains, what it returns, and what happens on error, so an agent has everything needed to invoke it correctly.

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?

There are zero parameters, so the baseline is high. The description explicitly states 'Takes no parameters,' which reinforces the empty input schema and leaves no parameter-related ambiguity for the agent.

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 states a specific action and resource: 'Return the score generation guide for writing music21 scripts.' It also explicitly connects itself to the sibling generate_score as the prerequisite reading, making its role distinct from the other tools.

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 gives an explicit directive: 'Read this before calling generate_score.' This tells the agent exactly when to use the tool and names the relevant alternative, leaving no ambiguity about its placement in the workflow.

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