Skip to main content
Glama
ltp3-mcp

ltp3-mcp

by RomeoCoding

export_json

Export a specified LTpowerPlanner power tree, or all tabs, to plain JSON with parts, terminals, nets, and available solved power results for use in other tools or reports.

Instructions

Export the tree as plain JSON (schema 'ltp3-export'): header, and per tab the parts with their properties and terminals, and the nets as lists of terminal refs. Parts carry a results object with solved pin_w/pout_w/ploss_w (watts) when available. Omit tab for all tabs. Layout is excluded; use it to feed other tools or reports.

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

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

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 well: it discloses the exact shape of the returned data, that results are conditional ('when available'), and that layout is intentionally omitted. It omits operational caveats such as cost or size behavior on very large trees and does not explicitly state that the operation is non-mutating.

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?

Four short sentences, front-loaded with what is exported and immediately followed by the schema tag and the tab-omission rule; the exclusion note and the downstream-use hint close it out. No sentence is redundant with another.

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 structure need not be spelled out, yet the description adds useful meaning about which fields are conditional. For a two-parameter export tool with no annotations, the remaining gap is operational behavior (read-only guarantee, scale limits) rather than contract detail.

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 does for the important case: 'Omit `tab` for all tabs' defines the default null semantics that the schema leaves unexplained. It does not clarify that `tab` accepts either a string or an integer (the anyOf in the schema), nor define what tree_id refers to.

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 specific verb and resource ('Export the tree as plain JSON') and pins down the exact payload via a schema identifier ('ltp3-export') plus the top-level structure (header, per-tab parts/terminals, nets as terminal refs). It also declares an explicit scope boundary ('Layout is excluded') that separates it from any sibling that would surface layout data.

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?

Gives concrete usage direction ('use it to feed other tools or reports') and the key invocation rule ('Omit `tab` for all tabs'), which is the main decision an agent faces. It does not explicitly name a sibling to use instead when a human-readable or saved representation is wanted, so selection against alternatives is implied rather than stated.

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