Skip to main content
Glama
ltp3-mcp

ltp3-mcp

by RomeoCoding

get_part

Retrieve a power-tree part by ID or unique name in list_parts format, including upstream and downstream part IDs, and get candidate IDs when a name is ambiguous.

Instructions

Return one part (give part_id, or part_name when the name is unique) in the list_parts format, plus upstream and downstream: the ids of parts that feed it and parts it feeds. An ambiguous name fails with AMBIGUOUS_PART and the hint lists the candidate ids.

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

Input Schema

NameRequiredDescriptionDefault
tabNo
part_idNo
tree_idYes
part_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose a valuable failure mode (AMBIGUOUS_PART with candidate ids in the hint) and enumerates the extra returned fields, but says nothing about permissions, the read-only nature of the call, or how the required tree_id scopes the lookup.

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?

Dense and front-loaded: capability first, then parameter choice, then the error case. The awkward line wrapping hurts readability slightly, but no sentence is wasted.

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

Completeness3/5

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

Return values are covered by the output schema, so omitting them is fine, and the ambiguity error is a nice addition. However, a 4-parameter tool with zero schema descriptions and no annotations leaves key inputs (tree_id, tab) unexplained, so an agent cannot call it confidently on those fields.

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

Parameters3/5

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

Schema coverage is 0%, so the description must compensate. It adds real meaning for part_id and part_name, including the uniqueness constraint on names, but the required tree_id and the optional tab parameter are never explained anywhere, leaving half the inputs undocumented.

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 ('Return one part') and pins down exactly what comes back: the part in list_parts format plus 'upstream' and 'downstream' ids. Referencing the list_parts format makes the single-item variant vs. the sibling list tool unambiguous.

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 selection guidance for the parameters ('give part_id, or part_name when the name is unique'), which effectively tells an agent which input to prefer. It stops short of naming when to reach for this tool versus list_parts or describe_tree, so the when-to-use context 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.