Skip to main content
Glama
hellstein-dev

fusion-mcp

body_boundary_fill

Fills closed cells enclosed by bodies, faces, or planes to create solids, optionally selecting only cells that contain specified points.

Instructions

Boundary fill: make solids from the closed cells that tool bodies, faces and planes enclose.

Cells are chosen by points, never by index: every cell by default, or the cells that contain cell_points. If a point lies in no cell, nothing is created and the error lists every cell (details.cells: center [x, y, z] mm and volume mm³) to pick points from. Refs: bodies/faces from inspect_query, planes from origin:* / construction_*.

Errors: a point in no cell, tools enclosing no cell -> INVALID_PARAMS (nothing changed); a fill Fusion cannot compute -> FUSION_API_ERROR, rolled back.

Returns {"feature", "health", "created_bodies", "modified_bodies", "removed_bodies"}.

Example: body_boundary_fill(tools=[, "origin:XY"], cell_points=[[5, 5, 5]])

Input Schema

NameRequiredDescriptionDefault
toolsYesBodies, faces and planes that bound the cells
unitsNoUnit of plain-number lengthsmm
operationNonew_body (default), join, cut, intersect, new_componentnew_body
cell_pointsNoFill only the cells containing these [x, y, z] points (in `units`); omitted = every cell
remove_toolsNoRemove the tool bodies

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/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 well: it discloses failure modes (INVALID_PARAMS with nothing changed, FUSION_API_ERROR with rollback) and the resolution path via details.cells center/volume. It does not spell out the side effect on tool bodies when remove_tools is left at its default, which keeps it off 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?

Front-loads the one-line purpose, then scope rules, ref provenance, errors, return shape and an example in tight blocks. Dense but nearly every line earns its place; the error sentence is slightly overloaded.

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 supplies the return keys (feature, health, created/modified/removed_bodies), the error contract, and a concrete example. An agent has everything needed to invoke this correctly on the first try.

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 3 is the baseline, but the description adds genuine meaning: cell_points selects by containment rather than index, omitted means every cell, tools are entity refs sourced from inspect_query/origin prefixes. Units behavior for the point coordinates is only partly covered.

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?

Names a specific verb+resource (boundary fill producing solids from closed cells) and states the exact precondition — cells enclosed by tool bodies, faces and planes. It is clearly distinguishable from adjacent body tools such as body_combine or body_split.

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?

Explains how cells are selected (points, never index; all cells by default), where refs come from (inspect_query for bodies/faces, origin:*/construction_* for planes) and gives a worked example call. It stops short of explicitly contrasting with sibling tools like body_combine, so it is strong context rather than full when/when-not routing.

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