Skip to main content
Glama
MuseScore MCP Server

MuseScore MCP Server

by lenborje

connect_to_musescore

Open a WebSocket connection to the MuseScore plugin so LLM agents can read and edit the open score.

Instructions

Open the WebSocket to the MuseScore plugin; returns {"success": bool}.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses little: it does not say whether calling it when already connected errors or is a no-op, what happens if the MuseScore plugin is not running, whether it blocks or times out, or whether the connection persists across calls. The only behavioral detail given, the return shape, is already covered by the output schema.

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?

One front-loaded sentence with an explicit action and return shape, no filler. It is efficient, though the return-value clause is redundant with the output schema and could have been spent on connection semantics instead.

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 zero-parameter connection tool with an output schema, the essentials of what it does and what it returns are covered. What is missing is the operational context an agent actually needs: invocation ordering relative to the other MuseScore tools and failure behavior when the plugin is unreachable.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a parameterless tool applies.

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?

States a concrete verb and resource: opens the WebSocket connection to the MuseScore plugin. It is distinguishable from siblings like ping_musescore or get_score, but does not explicitly contrast itself with ping_musescore, which is the nearest alternative for checking connectivity.

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?

The description implies this is a connection-establishment step that logically precedes score/cursor operations, but it never says so, nor does it state when to prefer ping_musescore or what to do if a connection already exists. Usage is inferable rather than stated.

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