Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_stats

Summarize a COMSOL geometry sequence by reporting its space dimension, entity counts, bounding box, and objects so you can verify model setup.

Instructions

Summarize a geometry: space dimension, entity counts, bbox, objects.

Args: geometry: geometry sequence tag (default "geom1"). model: model name/tag (None = current model). Entity dimensions: 3 = domains, 2 = boundaries (faces), 1 = edges, 0 = points.

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_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
geometryNogeom1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations provided, the description must carry the behavioral load; it does communicate that this is a non-mutating summary and that omitting model targets the current model. It does not state that the tool is read-only, whether it errors on a missing/empty geometry tag, or how large geometries are handled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first sentence, which is good, but the embedded 'Args:' block reads like copied docstring scaffolding rather than description prose. The 'Entity dimensions' line earns its place as an interpretation key, but the overall packaging is slightly ragged.

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

Completeness4/5

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

With no output schema and no annotations, the description usefully enumerates what the summary contains (dimension, counts, bbox, objects) and explains the dimension-numbering convention used in the counts. What's missing is the return shape itself — e.g. whether counts are broken out per entity dimension — but the coverage is reasonable for a two-parameter read tool.

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 coverage is 0%, so the description has to compensate, and it does: geometry is explained as a geometry sequence tag with default 'geom1', and model as a model name/tag where None means the current model. The remaining gap is minor — no example values or naming conventions for tags beyond the default.

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 a specific verb and resource ('Summarize a geometry') and enumerates the concrete outputs: space dimension, entity counts, bbox, and objects. This makes it distinguishable in practice from narrower siblings like geom_bbox or geom_measure, though no sibling is named explicitly.

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 statement of when to use this tool versus geom_bbox, geom_entity_info, or geom_measure; usage is only implied by the word 'Summarize'. The default-value notes ('geom1', None = current model) are helpful but are parameter facts, not usage 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