Skip to main content
Glama

Remove part

score.remove_part
Idempotent

Remove a part with its devices, regions and sends. 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.remove_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.4/5.0
Behavior2/5

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

The description adds real behavioral context beyond the schema: removal cascades to child devices, regions and sends, and the score is rewritten with a new id, which is non-obvious and operationally important. But this directly conflicts with the annotation destructiveHint=false, since a cascading delete of a part and its children is destructive; an agent trusting the annotation could underestimate the blast radius.

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?

Two short sentences, zero filler, with the destructive scope front-loaded and the return-value caveat second. Nothing could be removed without losing information.

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

Completeness4/5

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

With an output schema present, the description needn't explain the return payload, yet it still flags the practically important fact that a new score_id comes back. Minor gaps remain: no statement of behavior when part_id or score_id is invalid, and no mention of whether the old score_id becomes unusable.

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 coverage is 100%, so both part_id and score_id are already documented with pattern and required status. The description adds a little meaning by clarifying that part_id designates a container whose devices, regions and sends are also removed, but adds nothing about score_id beyond what the schema states.

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 specific verb and resource ("Remove a part") and immediately discloses cascade scope: "with its devices, regions and sends." That scope distinguishes it from the granular siblings like score.remove_device and score.remove_region without needing to name them, though no sibling is called out explicitly.

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 parenthetical "edit that one next" gives a useful workflow hint: subsequent operations must target the returned score_id rather than the old one. However, there is no stated when-to-use vs when-not guidance, e.g. that removing a single device or send should use score.remove_device/score.remove_send instead of this cascading tool.

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.