Skip to main content
Glama

feature_box

Creates an axis-aligned solid box or rectangular pocket in a Creo part using X, Y, and Z min/max ranges; set cut=true to remove material.

Instructions

Axis-aligned solid box (or rectangular pocket with cut=true) spanning x=(min,max), y=(min,max), z=(min,max) in the part's default csys. Needs the standard FRONT/RIGHT datums (model_new parts). One extrude feature (a rectangle extruded along +Z; without the sketch solver a thin extrude of a line), plus datum NAME_Z0 when z min != 0. A cut that removes nothing (box outside the solid) is an error.

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": {
      "x": "<x>",
      "y": "<y>",
      "z": "<z>"
    },
    "name": "feature_box"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
zYes
cutNo
fileNo
nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description discloses meaningful behavior: it creates an extrude feature, may add datum NAME_Z0 when z-min is nonzero, and flags a cut that removes nothing as an error. It does not cover permissions or idempotency, but the side-effect disclosure is strong.

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 description is front-loaded and mostly earned: geometry, prerequisites, implementation, side effects, and error are packed efficiently. The parenthetical about a thin extrude without the sketch solver is technical but relevant; the structure is dense yet readable.

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?

For a 6-parameter mutation tool with no annotations, the definition covers prerequisites, side effects, and failure behavior, and the output schema handles return values. The missing file/name semantics is the main gap.

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 carry parameter meaning. It explains x/y/z as (min,max) ranges in the part's default csys and cut=true as a pocket, but it says nothing about file and name, leaving two parameters undocumented.

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?

The description names a specific resource — an axis-aligned solid box or rectangular pocket — and defines it by x/y/z spans, with cut=true distinguishing the pocket variant. It does not explicitly position the tool against siblings such as feature_extrude, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides prerequisites (model_new parts with FRONT/RIGHT datums) and an error condition for no-op cuts, which implies usage context. However, it never states when to choose feature_box over alternatives like feature_extrude or feature_hole.

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