Skip to main content
Glama

PartDesign Fillet

partdesign_fillet

Add fillets to selected edges of a feature in a Body, validating the solid after each change to reject results that break geometry or inflate the bounding box.

Instructions

PartDesign Fillet on edges of a feature in a Body. edges accepts e_* tags or 'EdgeN' index strings; radius in mm (> 0).

Validated before a handle is issued, like fillet_edges (issue #283): Shape.isValid(), unchanged solid count, and no growth of the tight bounding box. PartDesign needs it as badly as the Part workbench — r=0.6 on a 40x40x1 pad returns an 'Up-to-date' single solid 15% LARGER than the pad.

per_edge: add the edges one at a time, validating after each. allow_partial: accept a partial result instead of aborting. Off by default.

Returns {handle, name, volume (mm^3), edges (the 'EdgeN' names actually filleted), checks {valid, solids, envelope_ok, envelope_growth_mm, envelope_tol_mm}, mode ('batch' | 'per_edge'), partial}; when partial is True, also skipped_edges and a warnings entry. On a failed check the feature is removed, the Body's Tip is restored, and BlendCheckFailed is raised naming the offending edges and the subset that does fillet cleanly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoPdFillet
edgesYes
radiusNo
featureYes
per_edgeNo
allow_partialNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The description discloses concrete validation steps (Shape.isValid(), solid count, bounding box growth), failure behavior (feature removed, Tip restored, BlendCheckFailed raised), optional modes (per_edge, allow_partial), and a concrete motivating example. This goes far beyond the sparse annotations, which only mark readOnly/openWorld/destructive hints. No contradiction with annotations.

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?

The description is dense but each sentence adds material value: purpose, parameter semantics, validation rationale, option behavior, return structure, and error handling. It is front-loaded with the core purpose and avoids filler. The anecdote about the 40x40x1 pad justifies the validation but is not redundant. Well organized into logical chunks.

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?

Given the tool's complexity, the description is remarkably complete. It covers input semantics, options, validation criteria, exact return fields, and failure handling. There is no output schema, so the thorough return-type explanation is essential and provided. An agent can call this tool correctly with no further documentation.

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?

With 0% schema description coverage, the description fully compensates: it specifies that edges accepts e_* tags or 'EdgeN' strings, radius is in mm and must be > 0, and explains the behavioral meaning of per_edge and allow_partial. Feature and name are covered contextually ('feature in a Body' and default provided in schema). This is excellent parameter documentation.

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?

The description opens with 'PartDesign Fillet on edges of a feature in a Body', naming the exact verb, resource, and scope. It explicitly references fillet_edges as a sibling and clarifies the PartDesign-specific context, so an agent can distinguish this from the Part workbench tool even without opening schemas.

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?

The description clearly implies it is for PartDesign Bodies, and the mention of fillet_edges and 'PartDesign needs it as badly as the Part workbench' signals when to prefer this over the sibling. However, it does not explicitly state exclusions (e.g., when NOT to use it or when fillet_edges would be the correct choice), so it stops short of full routing guidance.

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