Skip to main content
Glama
ltp3-mcp

ltp3-mcp

by RomeoCoding

describe_tree

Summarizes an open LTpowerPlanner tree, reporting file header tags, per-tab part counts by type, net totals, unwired terminals, and unsaved-edit status for one tab or all tabs.

Instructions

Summarise an open tree: header tags of the file, and for each tab the number of parts by type (Power, Converter, LDO, Load, Resistor, Capacitor, Net), the number of nets and the terminals that are not wired to anything. dirty is true when there are unsaved edits. Omit tab for all tabs; otherwise give a 0-based index or the tab name.

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": "describe_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabNo
tree_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioural burden. It does convey that the tree must be open and that `dirty` reports unsaved edits, which is useful status context, but it never states that the operation is read-only, what happens if the tree is not open or the tab name is invalid, or whether the summary is expensive to compute.

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?

Front-loaded with the core purpose, then the enumeration of returned counts, then the single actionable parameter rule at the end. The part-type list is long but each item is informative; no filler sentences or repetition.

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?

An output schema exists, so return values need not be explained, yet the description still adds useful semantics like `dirty` meaning unsaved edits. Combined with the open-tree prerequisite and full `tab` semantics, this is close to complete; only error/failure behaviour and confirmation of read-only status are missing.

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 has to compensate, and it does for `tab`: omission means all tabs, and the accepted forms (0-based index or name) are spelled out — information the schema's anyOf of string/integer does not clarify. `tree_id` is only implied as the identifier of an open tree, leaving one 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?

Specific verb ("Summarise") plus resource ("an open tree") followed by an explicit inventory of what the summary contains: header tags, per-tab part counts by type, net count, and unwired terminals. This aggregate shape clearly separates it from sibling listing tools such as list_parts or list_nets without needing to name them.

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 final sentence gives concrete scoping rules for the `tab` argument (omit for all tabs, 0-based index or tab name), which is genuine usage guidance at the parameter level. However, there is no explicit statement of when to prefer this tool over alternatives like list_parts or get_part, so the when-to-use signal is only implied by the summary/aggregate nature of the output.

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