Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

mesh_free_tri

Creates or configures a FreeTri mesh feature for 2D domains or 3D boundaries in COMSOL, letting you set meshing properties and target selections.

Instructions

Create (or configure) a FreeTri feature (2D domains, or 3D boundaries).

Args: properties: FreeTri properties, e.g. {"method": "delaunay", "smoothmaxiter": "4"}. selection: entity numbers to mesh (2D: domains; 3D: boundaries). named: named selection instead of selection. all_entities: select all entities of the chosen dimension (default true). entity_dim: selection dimension (2D geometry: 2 = domains; 3D geometry: 2 = boundaries). Default is handled per dimension. mesh: mesh sequence tag (None = first). component: component tag (None = auto-detect). 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": "mesh_free_tri"
  }
}

Input Schema

NameRequiredDescriptionDefault
meshNo
modelNo
namedNo
componentNo
selectionNo
entity_dimNo
propertiesNo
all_entitiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It says this creates or configures a feature but does not disclose whether existing mesh data is affected, whether meshing actually runs, what permissions are needed, or whether the operation is idempotent.

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 main purpose is front-loaded, followed by an organized argument list that is appropriate for eight parameters. The wording is somewhat docstring-like and contains minor redundancy, but it does not waste many tokens.

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 an eight-parameter tool with no annotations and no output schema, the description adequately documents the inputs and selection modes. It remains incomplete on side effects, workflow placement, return behavior, and the distinction from related meshing tools.

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 description coverage is 0%, so the description must compensate, and it does document all eight parameters, including selection vs named, all_entities default, entity_dim meaning per geometry, and mesh/component/model fallbacks. Some details remain ambiguous, such as exact properties values and default resolution per dimension, but the coverage is substantially better than the bare schema.

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: create/configure a FreeTri feature, scoped to 2D domains or 3D boundaries. It is clear enough to distinguish this from a generic mesh operation, though it does not explicitly name or differentiate the sibling mesh_free_tet.

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?

There is no explicit guidance on when to use this versus mesh_free_tet, mesh_auto_size, or other mesh setup tools. The argument notes explain selection modes but do not state prerequisites, when not to use it, or how it fits into a mesh workflow.

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