Skip to main content
Glama
gpambrozio

onshape-mcp

by gpambrozio

Fillet edges

onshape_fillet

Round selected edges in Onshape CAD by choosing edges via IDs, FeatureScript query, feature, all, or circular selection.

Instructions

Round the selected edges. Name the edges with one of: edges (ids), query (FeatureScript), feature (every edge that feature made), all, or circular.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wsYesWorkspace id — the <ws> segment of the document URL.
allNoSelect all edges of all solid bodies.
docYesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemYesElement id (tab) — the <elem> segment of the document URL.
nameNoFeature name shown in the tree (default "Fillet").
typeNoFillet type (default EDGE).
edgesNoExplicit deterministic edge ids, from onshape_get_edges.
queryNoFeatureScript query, e.g. query = qCreatedBy(makeId("FID"), EntityType.EDGE);
radiusNoFillet radius in inches (default 0.1).
featureNoSelect every edge created by this feature id.
circularNoSelect only circular edges.
validateNoRe-read the feature list afterwards and fail if the feature regenerated with an error (default true).
radius_variableNoUse a Part Studio variable for the radius.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations provide only a title, so the description carries the full burden of behavioral disclosure. It states the action ('Round the selected edges') but does not mention that this creates or modifies a feature, implies write access, or describe any side effects or validation behavior. This is similar to the 'update_drive' example—mutation is implied but not elaborated.

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 two sentences with no fluff. The core purpose is front-loaded, and the edge-selection options are listed compactly. It is efficient and scannable, though the phrase 'Name the edges' is slightly unusual, it does not waste words.

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

Completeness2/5

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

With 13 parameters, no output schema, and sparse annotations, this tool is complex, yet the description only addresses edge selection. It omits context about radius, type, validation, and the overall feature-creation workflow. An agent has to rely entirely on the schema for everything except edge selection, leaving significant gaps in understanding how to call the tool effectively.

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 100%, so the baseline is 3. The description adds a minor but useful clarification that the edge selection parameters (edges, query, feature, all, circular) are mutually exclusive alternatives, which the schema does not explicitly state. However, it does not expand on any parameter beyond what the schema already describes, so it only marginally exceeds the baseline.

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 opens with 'Round the selected edges,' which is a clear verb+resource statement that unambiguously conveys the tool's purpose of filleting edges. It distinguishes from the sibling onshape_chamfer by using 'round' instead of 'bevel.' However, it doesn't explicitly name the sibling or contrast with it, so it stops short of strong differentiation.

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

Usage Guidelines2/5

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

The description implies the tool is for rounding edges but gives no explicit guidance on when to choose it over alternatives like onshape_chamfer or onshape_shell. No exclusions or alternative tool mentions are present. The edge-selection instructions are about how to pick edges, not about when to use the tool.

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