Skip to main content
Glama

feature_tree_redefine

Redefine an existing Creo feature by supplying a complete edited element tree to change settings such as depth type or references; sketches cannot be replaced.

Instructions

Redefine an existing feature with a full new element tree (e.g. change depth type, references). Get the current tree with feature_tree_dump, edit it, pass it back. Sketches cannot be replaced.

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_redefine"
  }
}

Input Schema

NameRequiredDescriptionDefault
xmlNo
fileNo
treeNo
featureYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose key behavior: the whole tree is replaced rather than patched, and the prior state must be fetched first. It does not say whether the replacement is reversible, what happens to downstream references or dependents, or whether the feature must be in a particular state before redefining.

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?

Three short sentences with the core action and constraint front-loaded, and the parenthetical example earns its place by clarifying what a tree change means. No filler or redundant restatement of the name.

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?

An output schema exists, so return values need not be described, and the destructive-replacement workflow is communicated. However, for a mutation tool with zero annotation coverage and four undocumented parameters, the definition leaves the agent guessing about the xml/file input paths and about failure or rollback behavior.

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

Parameters2/5

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

Schema description coverage is 0% across four parameters, so the description must compensate and only partly does. It explains the roles of `feature` (the existing feature) and `tree` (the edited tree from the dump), but `xml` and `file` — presumably alternative input channels — are never mentioned, leaving the agent unable to choose among them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Redefine an existing feature with a full new element tree") and gives concrete examples of what redefining covers (depth type, references). The word "existing" plus the sibling name feature_tree_dump implicitly separates it from feature_tree_create, though no sibling is explicitly contrasted.

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 an explicit three-step workflow: dump the current tree, edit it, pass it back. It also states a hard exclusion ("Sketches cannot be replaced"). What is missing is guidance on when a full redefine is preferable to a lighter-weight edit or when to create a new feature instead.

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