Skip to main content
Glama
ltp3-mcp

ltp3-mcp

by RomeoCoding

open_tree

Load a .ltp3 project or .ltp3t template into memory and return a tree_id for other tools without modifying the file on disk; use read_only to block edits.

Instructions

Open a .ltp3 project or .ltp3t template into memory and return a tree_id used by every other tool. The file on disk is never modified by editing; only save_tree writes. Templates may be edited in memory but can never be saved over their own path. With read_only=true all editing tools fail with READ_ONLY. Returns the file format version, the SHA-256 of the bytes read (used to detect that the GUI changed the file later), and the tabs (each tab is one independent power tree) with part and wire counts.

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": {
      "path": "<path>"
    },
    "name": "open_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
read_onlyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses the in-memory editing model, that only save_tree writes, that templates cannot be saved over their own path, the READ_ONLY failure mode, and the staleness-detection role of the returned SHA-256. These are non-obvious behavioral traits an agent could not infer from schema or annotations.

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 opening sentence front-loads the verb, resources, and return value, and each subsequent sentence contributes distinct information (write boundary, template restriction, read-only mode, return payload). Density is high, though the return-value sentence is long and could be split for faster scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter entry-point tool, the description covers the input contract, mutation boundaries, failure modes, and even summarizes the returned payload despite an output schema existing. Nothing an agent needs to call it correctly appears to be 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 must compensate. It clarifies what `path` points at (.ltp3 project vs .ltp3t template, with differing save rules) and precisely defines `read_only`'s effect on other tools, going well beyond the bare string/boolean schema. It omits practical path details such as relative vs absolute paths or error behavior for a missing file.

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 ('Open a .ltp3 project or .ltp3t template into memory') plus the concrete result ('return a `tree_id` used by every other tool'). It is clearly distinguishable from siblings like save_tree, close_tree, and new_tree based on the description alone.

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 strong conditions: the returned tree_id is required by every other tool, editing never touches disk, and read_only=true causes all editing tools to fail with READ_ONLY. It does not explicitly contrast with new_tree or list_templates (e.g., when to open an existing file vs. create a fresh tree), so a small routing gap remains.

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