Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_chamfer

Bevel 2D vertices or 3D edges with a chamfer to remove sharp corners in COMSOL geometry sequences.

Instructions

Bevel corners/edges with a chamfer (2D vertices or 3D edges).

Args: entities: vertices to chamfer in 2D as {"object": [vertex numbers]}, or edges in 3D as {"object": [edge numbers]}. objects: object names (for a flat entity list). distance: chamfer distance in length units (2D "dist"; 3D uses the COMSOL Chamfer3D radius-like property with the same value). properties: extra COMSOL properties (may override distance). tag: feature tag (None = automatic, e.g. cha1). label: display label. build: build after creation (default true). geometry: geometry sequence tag (default "geom1"). component: component tag (None = auto). model: model name/tag (None = current model).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "geom_chamfer"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
buildNo
labelNo
modelNo
objectsNo
distanceNo
entitiesNo
geometryNogeom1
componentNo
propertiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does disclose some behavior: build defaults to true, tags are automatic when omitted, and properties may override distance. It still omits important behavioral details such as whether this creates a persistent feature, what errors occur for invalid selections, and what the operation returns.

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 first sentence is front-loaded and states the core purpose, followed by an Args block that gives each parameter a useful line. The structure is appropriate for a 10-parameter tool, though the docstring-style formatting is somewhat dense rather than maximally polished.

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

Completeness3/5

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

For a 10-parameter geometry mutation tool with no annotations and no output schema, the description is thorough on parameter semantics and defaults. It remains incomplete on side effects, prerequisites, failure modes, and return behavior, which an agent would need for confident invocation.

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%, so the description must compensate for all 10 parameters, and it does: it explains entities, objects, distance, properties, tag, label, build, geometry, component, and model with defaults and formats. It also adds COMSOL-specific meaning, such as the 3D Chamfer3D radius-like property and properties overriding distance.

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 states a specific verb and resource: 'Bevel corners/edges with a chamfer,' and clarifies the supported entity modes as 2D vertices or 3D edges. It is clear, but it does not explicitly distinguish this from the sibling geom_fillet operation.

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

Usage Guidelines3/5

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

Usage is implied by the statement that it operates on 2D vertices or 3D edges, which gives an agent context for applicability. However, there is no explicit guidance on when to choose chamfer versus fillet or other geometry operations.

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