Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_midsurface

Extract midsurfaces from thin 3D solid objects to simplify geometry for shell modeling and analysis.

Instructions

Extract the midsurface of thin solid objects (3D).

Args: objects: solid object names to extract the midsurface from (None = all current objects). properties: extra COMSOL properties (e.g. {"keep": "on"}). tag: feature tag (None = automatic, e.g. mid1). 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_midsurface"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
buildNo
labelNo
modelNo
objectsNo
geometryNogeom1
componentNo
propertiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It never states whether the original solid is consumed or preserved, whether the resulting feature is added to and persisted in the geometry sequence, whether build=true triggers an expensive rebuild with failure modes, or what a failure returns — all material for a geometry-mutation tool.

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?

One front-loaded purpose sentence followed by a compact per-argument list; nothing is padded. The Args block partially restates parameter names from the schema, but that repetition is justified given zero schema descriptions.

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 8-parameter tool with no annotations and no output schema, the description covers the inputs adequately but says nothing about the result — an agent cannot tell whether it gets back a feature tag, a geometry object, or nothing unless build runs. Missing side-effect and return-value context keeps it at minimum-viable-plus.

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 Args block does real work: it explains objects=None means all current objects, tag=None auto-generates a name like mid1, model=None means the current model, geometry defaults to "geom1", and gives a concrete example for properties ({"keep": "on"}). That compensates well for 8 undocumented schema properties, though component's "auto" behavior is left vague.

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?

States a specific verb and resource: "Extract the midsurface of thin solid objects (3D)", which is instantly distinguishable from siblings like geom_thicken or geom_primitive. It does not explicitly name an alternative tool to use in other situations, so it stops short of a 5.

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?

The qualifier "thin solid objects" implies the applicability condition (when midsurfacing makes sense), but there is no explicit when-to-use/when-not guidance and no mention of alternatives such as geom_thicken for the reverse operation or geom_boolean for combining thin parts. Usage is inferable but not stated.

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