Skip to main content
Glama

ProtoJoint

Change a feature

edit_feature

Changes a feature already in the timeline, as a person opens it there and types another number, instead of building more on top of it or deleting and making it again (a post 5 mm high to be 8: its extrude's distance). Give feature_id and only what changes, by the names of the tool that made it: an extrude's distance, symmetric, taper, operation; a revolve's angle, operation; a fillet's radius; a chamfer's distance; a shell's thickness; a hole's diameter (size for a threaded or clearance one), depth (given, it is no longer through), through, counterbore_*, countersink_*; a pattern's count, spacing, count2, spacing2 (count and angle round an axis). The rest stays, and what follows it rebuilds. get_feature reads a feature as it is. Returns what changed, from what to what, the bodies changed and any errors.

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_id": "<feature_id>"
    },
    "name": "edit_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNo
angleNo
countNo
depthNo
taperNo
count2No
radiusNo
spacingNo
throughNo
diameterNo
distanceNo
spacing2No
operationNo
symmetricNo
thicknessNo
feature_idYes
counterbore_depthNo
countersink_angleNo
counterbore_diameterNo
countersink_diameterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare the mutation/safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false, idempotentHint=false), so the description must carry the semantics — and it does: partial update ("the rest stays"), downstream rebuild cascade ("what follows it rebuilds"), and the return payload (what changed from what to what, bodies changed, errors). It does not cover failure modes, unit assumptions for angles, or reversibility, which keeps it from a 5.

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?

Purpose is front-loaded in the first clause and every sentence carries information, which matters for a 20-parameter tool. However, the second sentence is a long run-on with nested parentheticals ("count and angle round an axis") that is harder to parse than it needs to be; a short list structure would have improved scanability without adding length.

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?

With no output schema, the description correctly explains the return value, and it covers partial-update and rebuild behavior for a complex mutation across six feature types. Remaining gaps are the accepted value formats (the schema allows number-or-string) and angle units, which an agent would have to guess at.

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

Parameters5/5

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

Schema description coverage is 0% across 20 parameters, so the description must do all the work, and it maps nearly every parameter to the feature type that owns it: extrude (distance, symmetric, taper, operation), revolve (angle, operation), fillet (radius), chamfer (distance), shell (thickness), hole (diameter/size, depth, through, counterbore_*, countersink_*), pattern (count, spacing, count2, spacing2). The worked example also conveys the unit convention (millimetres) that the schema does not state.

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?

"Changes a feature already in the timeline" names a specific verb and resource, and the analogy (a post 5 mm high to be 8: its extrude's distance) makes the operation concrete. It explicitly distinguishes itself from building new geometry on top or deleting and re-creating, which is exactly the boundary against delete_feature and the creator tools (extrude, fillet, etc.).

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?

It states the preferred use case (modify in place rather than re-create) and instructs to pass feature_id plus only the fields that change, and routes reading to get_feature. It also gives a conditional rule (supplying depth means the hole is no longer through). It stops short of naming sibling tools like delete_feature as the explicit alternative, but the when/when-not picture is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources