Skip to main content
Glama
hellstein-dev

fusion-mcp

form_insert_edge

Insert edges next to control-mesh edges of a T-spline body to add detail where needed, regenerating the B-Rep. Pick edges by their midpoint points from form_inspect.

Instructions

Insert edges next to control-mesh edges of a T-spline body (more faces where detail is needed); the B-Rep is regenerated.

Uses the preview Fusion API (FormFeature.insertEdge): when it is missing the tool fails with FUSION_API_ERROR reason=api_unavailable (nothing changed). The edges must be of one loop, else Fusion refuses (FUSION_API_ERROR).

Control-mesh edges have no stable ids: pick them by points (mm by default) - take the exact edge midpoints from form_inspect. A point with no edge within tolerance, or equally near two edges (symmetric meshes), fails with INVALID_PARAMS and details.nearest; nothing is changed.

Returns {"body": , "changed": selected edges, "new_edges": n}.

Input Schema

NameRequiredDescriptionDefault
bodyYesT-spline body ref (form_list / form_create_*)
modeNosimple (default) or exactsimple
nearYesPoints near midpoints of edges of one loop
unitsNoUnit of lengths and points (default mm)mm
positionNoWhere the new edge goes, -1..1
toleranceNoMax distance from a point to its element, in `units`
both_sidesNoInsert on both sides

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the preview-API dependency and the exact failure (FUSION_API_ERROR reason=api_unavailable, nothing changed), the single-loop restriction, the ambiguous/too-far point failure with INVALID_PARAMS and details.nearest, and atomicity ('nothing is changed'). It also states the return payload shape.

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-loaded with the purpose, then the API-dependency caveat, then input sourcing, then return value — a sensible order with no filler. The prose is dense and the parenthetical mid-sentence break slightly hurts scannability, but every sentence carries information.

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

Completeness5/5

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

No output schema exists, yet the description spells out the return object, the failure modes, and the no-op guarantee, which is everything an agent needs to call a mutation tool safely. Nothing material is left implicit for a 7-parameter operation.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description goes beyond it by explaining that `near` should be exact edge midpoints taken from form_inspect and that units default to mm, which the schema only says as '[x, y, z] in `units`'. It adds nothing about mode, position, or both_sides, leaving those entirely to the schema.

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 ('Insert edges next to control-mesh edges of a T-spline body') plus the downstream effect ('the B-Rep is regenerated'), and references the sibling form_inspect for sourcing input points. An agent can distinguish this from form_move/form_crease/form_convert_to_brep without opening any 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 a clear workflow prerequisite — obtain exact edge midpoints from form_inspect — and states the constraint that all edges must belong to one loop. It does not name a when-not-to-use case or an alternative tool for adjacent operations, so it stops just short of a 5.

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

Deploy Server

Other Tools