Skip to main content
Glama
ltp3-mcp

ltp3-mcp

by RomeoCoding

add_part

Creates a power-tree part with default geometry and no nets, letting you place it near another part or at coordinates and connect wires afterward.

Instructions

Add a part with default geometry and no wires; connect it afterwards. Types: Power (a source), Converter (buck/boost; Input 1 plus one Output per entry in outputs), LDO, Load, Resistor, Capacitor. outputs entries (Power, Converter, LDO): {vout} in volts, {nom_eff} in percent (Converter only), {iout_max} in amperes. inputs entries (Load): {ipeak} and/or {inom} in amperes, {unit_exp} a power-of-ten exponent for the stored unit (-3 means the values are milliamps). resistance in ohms (Resistor). part_number only for Converter or LDO. Position: near_id (another part's id), or explicit x/y (snapped to a 5-unit grid); otherwise a free spot. Returns the new part with its terminal refs. Nets (labels) cannot be created.

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>",
      "type": "<type>",
      "name": "<name>"
    },
    "name": "add_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
tabNo
nameYes
typeYes
inputsNo
near_idNo
outputsNo
tree_idYes
resistanceNo
part_numberNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so reasonably: it discloses that the part is created without wires, that x/y are snapped to a 5-unit grid, that a free spot is chosen otherwise, and that the new part plus terminal refs are returned. It omits failure behavior (e.g., invalid type or unknown near_id) and permission/persistence semantics.

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 lead sentence front-loads purpose and the rest is densely packed units/semantics detail with little filler. The run-on structure and stray line breaks make it harder to scan than it needs to be, but no sentence is wasted.

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?

Given 11 parameters, no annotations, and an existing output schema, the definition covers types, every non-trivial parameter, positioning fallback, and the constraint on nets. What remains thin is error handling and the role of `tree_id`/`tab`, but those are conventional enough that the agent has what it needs to call the tool correctly.

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

Parameters5/5

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

Schema description coverage is 0% with 11 parameters, so the description must compensate and largely does. It enumerates the valid types, defines each field of `outputs` ({vout}, {nom_eff}, {iout_max}) and `inputs` ({ipeak}, {inom}, {unit_exp} with the milliamps example), and pins units for `resistance` and the applicability of `part_number`.

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?

States a concrete verb and resource ('Add a part') and immediately scopes it with a contrasting sibling behavior: 'with default geometry and no wires; connect it afterwards'. It also bounds the tool with 'Nets (labels) cannot be created', so an agent can distinguish it from connect and other part tools.

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

Usage Guidelines4/5

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

The phrase 'connect it afterwards' gives the expected follow-up workflow, and 'Nets (labels) cannot be created' sets a clear out-of-scope boundary. It does not explicitly name alternatives or exclusion cases (e.g., when to use a template instead), which keeps it below a 5.

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