Skip to main content
Glama
ltp3-mcp

ltp3-mcp

by RomeoCoding

remove_part

Deletes a part by ID or unique name, removes all attached wires, and merges or removes single-wire junctions, returning removed wire IDs and merged junction count.

Instructions

Delete a part (part_id, or a unique part_name) and every wire attached to it; junctions left with a single wire are merged or removed. Returns the ids of removed wires and the number of merged junctions.

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": {
      "tree_id": "<tree_id>"
    },
    "name": "remove_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabNo
part_idNo
tree_idYes
part_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the behavioral disclosure burden. It usefully states that all attached wires are removed and that single-wire junctions are merged or removed, but it does not mention reversibility, permissions, confirmation requirements, or whether changes require save_tree.

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?

The description is compact and front-loads the deletion behavior, followed by the cascading effects and return summary. The final sentence is somewhat redundant because an output schema exists, but the overall structure is efficient and readable.

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 destructive mutation with no annotations and an output schema, the description gives useful information about cascading wire removal and junction handling. However, it leaves out parameter semantics for `tree_id` and `tab`, and does not address permissions, reversibility, or state persistence, so it is not fully complete for a destructive operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It clarifies that either `part_id` or a unique `part_name` can identify the part, but it does not explain the required `tree_id` or the optional `tab` parameter, leaving important context for a 4-parameter tool undocumented.

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 uses a specific verb, 'Delete', with a clear resource, 'a part', and identifies it by `part_id` or `part_name`. It goes beyond a generic delete by specifying the cascading removal of attached wires and the handling of junctions, which distinguishes it from a simple disconnection or rename operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not state when to use this tool versus alternatives such as disconnect, move_part, or close_tree. It implies deletion by its verb but provides no explicit preconditions, exclusions, or guidance about choosing between removing a part and removing its wires individually.

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