Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_validate

Check a COMSOL geometry sequence for problems, optionally rebuilding first to collect build errors before validation.

Instructions

Check a geometry sequence for problems (optionally rebuild first).

Args: geometry: geometry sequence tag (default "geom1"). build: run the sequence first to collect build errors (slower but thorough). 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_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
buildNo
modelNo
geometryNogeom1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses the hidden side effect that build=true actually runs the geometry sequence, and flags the performance cost, but says nothing about what a 'problem' report looks like or whether validation mutates state.

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?

Front-loaded one-line purpose followed by a compact Args list; the parenthetical repeats the build behavior described below it, a minor redundancy that is acceptable given the zero-coverage schema.

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?

There is no output schema, so the description should say what the check returns or how problems are reported; it never does. Inputs and the optional-rebuild behavior are covered, but the result side is left opaque for a diagnostic 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 description coverage is 0%, so the Args block is doing all the work, and it adequately covers all three parameters with defaults and meaning: the default 'geom1' tag, None meaning the current model, and build's 'collect build errors (slower but thorough)' semantics. This adds genuine meaning beyond the bare JSON types.

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?

Uses a specific verb and resource: 'Check a geometry sequence for problems', with the parenthetical clarifying that an optional rebuild precedes the check. This distinguishes it from a pure build tool, though it never names geom_build explicitly.

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 build parameter note ('slower but thorough') implies when to enable the rebuild, giving a cost/thoroughness tradeoff. However, there is no explicit statement of when to use this versus geom_build or when validation is unnecessary, so usage remains implied rather than directed.

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