Skip to main content
Glama
ltp3-mcp

ltp3-mcp

by RomeoCoding

set_property

Set, add, or remove one property line on a part or terminal in an LTpowerPlanner tree, with units by key; set value to null to restore the default.

Instructions

Set, add or remove one property line of a part or terminal. The target is a part (part_id, or a unique part_name) or a terminal (terminal, e.g. '2:Output:1'); give one. Units follow the key: Vout/VoutMin/VoutMax in volts, Ipeak/Inom/IoutMax in amperes (scaled by IpeakU/InomU, a power-of-ten exponent), NomEff in percent, Resstnce in ohms. value=null removes the line, which restores the app's default for that key. Keys never seen for that part type fail with UNKNOWN_KEY unless allow_unknown_key=true. Returns the stored old and new text.

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>",
      "key": "<key>",
      "value": "<value>"
    },
    "name": "set_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
tabNo
valueYes
part_idNo
tree_idYes
terminalNo
part_nameNo
allow_unknown_keyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that value=null is a destructive-ish reset to the app default, that unknown keys raise UNKNOWN_KEY unless allow_unknown_key=true, and that the response contains the stored old and new text. That is meaningful behavior beyond the bare schema — error semantics, reset semantics, and return payload.

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?

Roughly five sentences, front-loaded with the action and target selection, with no filler. The unit mapping is dense and slightly buried mid-paragraph; a small list would read faster, but every clause conveys usable 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?

For an eight-parameter mutation tool with an output schema, the description covers action, targeting, units, error behavior, and reset semantics, and it even summarizes the return value. The unexplained `tree_id` and `tab` parameters keep it from being fully complete.

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?

Schema description coverage is 0%, so the description must compensate, and it largely does: it explains the mutual exclusivity of part_id/part_name/terminal, the meaning of value=null, the allow_unknown_key escape hatch, and per-key unit conventions (volts, amperes with IpeakU/InomU exponent scaling, percent, ohms). Two of the eight parameters, `tree_id` and `tab`, are never explained, leaving a real gap.

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 first sentence gives a specific verb (set/add/remove) and resource (one property line) with an explicit scope (of a part or terminal). Follow-up sentences name the target selectors precisely, so an agent can distinguish this from sibling tools like get_part or add_part without opening the schema.

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 description states the required targeting rule ('give one' of part_id/part_name/terminal) and the removal condition (`value=null` restores the app default), which is clear when-to-use context. It does not explicitly point at a sibling for reading properties (e.g. get_part) or state what happens if more than one target is supplied, so no exclusions are spelled out.

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