Skip to main content
Glama

Set part

score.set_part
Idempotent

A part's level, pan, mute, solo, name or output. Returns the new score_id (edit that one next).

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": {
      "part_id": "<part_id>",
      "score_id": "<score_id>"
    },
    "name": "score.set_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
panNo-1 left to 1 right
muteNoSilent in every render
nameNoA label
soloNoOnly solo parts sound
outputNomaster or a part_id
gain_dbNoLevel
part_idYesThe part
score_idYesThe score to edit

Output Schema

NameRequiredDescriptionDefault
parentYesThe version this edit started from
changedYesWhat the edit added, removed or modified
score_idYesThe new version: edit this one next (older ids stay valid)
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare the write is non-destructive and idempotent, so the bar is lower, yet the description still contributes a critical fact the annotations cannot convey: the score is versioned and the caller receives a new score_id to continue editing. It stops short of explaining partial-update semantics or what happens to omitted attributes, which is the remaining behavioral gap.

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?

Two short sentences with no padding, and the chaining instruction is placed where it is needed. The fragmentary first sentence trades a verb for brevity, which slightly undercuts immediate comprehension but keeps it tight.

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?

With eight parameters and an output schema present, the definition covers the essentials but leaves meaningful gaps: no statement that this is a partial update, no clarification of part_id versus score_id roles, and no indication of what a successful call changes. Adequate for an experienced caller, thin for a first-time one.

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%, so per-parameter documentation is already complete and the baseline is 3. The description loosely mirrors the fields ("level" maps to gain_db) but adds no format, range, or interaction detail beyond the schema, and omits any mention of part_id or score_id semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description lists the editable attributes ("A part's level, pan, mute, solo, name or output") but never states a verb, so the agent must infer mutation from the tool name and the return-value sentence. The resource is identifiable and distinguishable from sibling setters like score.set_device or score.set_send, but the phrasing is a noun fragment rather than a purpose statement.

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?

"Returns the new score_id (edit that one next)" is a genuine, actionable usage rule about chaining edits in sequence, which is more than most definitions offer. However, there is no guidance on when to choose this over score.set_device/score.set_automation, and no note on whether unspecified fields are left untouched.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.