Skip to main content
Glama

feature_tree_dump

Read-only

Dump an existing Creo feature's element tree as JSON in the form accepted by feature creation, enabling inspection and reuse as a template for new features.

Instructions

Element tree of an existing feature: shows exactly which elements/values/references Creo uses, in the same JSON form feature_tree_create accepts. The best template for new features. for_create=true drops empty elements so the tree can be edited and passed to feature_tree_create (sketch contents are not included: re-add "sketch" on PRO_E_SKETCHER).

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": {
      "feature": "<feature>"
    },
    "name": "feature_tree_dump"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
formatNojson
featureYes
for_createNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

With readOnlyHint already covering the safety profile, the description adds non-obvious behavioral facts: for_create=true drops empty elements, sketch contents are excluded entirely, and 'sketch' must be re-added on PRO_E_SKETCHER. That omission warning is exactly the kind of data-completeness caveat an agent cannot infer from annotations or schema.

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-loads the core purpose, then the template-use value, then the caveat, which is a sensible order. The final parenthetical about PRO_E_SKETCHER is dense but earns its place; only minor tightening is possible.

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 no explanation, and the description covers the round-trip contract and the sketch caveat. It omits whether an open model is required and what file does, which are the remaining unknowns for a 4-parameter read tool.

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 description coverage is 0%, so the description must carry parameter meaning; it does this well for for_create (dropping empty elements) but says nothing about file, format (json/xml/both), or the feature identifier. One of four parameters is explained beyond its name, leaving the rest to inference.

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 ('element tree of an existing feature') and immediately scopes it by naming the exact JSON form feature_tree_create accepts, which separates it from sibling listing tools like feature_list. An agent can tell what it returns 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?

Gives clear positive guidance ('the best template for new features') and explains the round-trip workflow to feature_tree_create with for_create=true. It does not state when NOT to use it, e.g. when a plain summary of features is wanted instead of a full element tree.

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