Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

mesh_clear

Clears generated mesh data while preserving the mesh sequence and its features, letting you reset meshing without rebuilding the sequence.

Instructions

Clear the built mesh data (keep the sequence and its features).

Args: 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_clear"
  }
}

Input Schema

NameRequiredDescriptionDefault
meshNo
modelNo
componentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses that only built mesh data is cleared while the sequence and its features remain, but it does not explain reversibility, permissions, failure behavior, or what happens to existing mesh state; this is a real gap for a destructive-sounding operation.

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

Conciseness5/5

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

The description is short, front-loaded with the core effect, and uses a compact Args section with no filler. Every sentence conveys actionable information.

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 three-optional-parameter mutation tool with no annotations, no output schema, and 0% schema coverage, the definition covers the parameters and the central keep/clear behavior. It still omits important operational context such as return behavior, success or failure indication, and safety or undo expectations for a destructive operation.

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: it explains the meaning of mesh, component, and model tags, including the None defaults for first mesh, auto-detection, and current model. It adds substantial semantic meaning beyond bare schema titles, though it does not clarify tag formats or precedence between omitted values.

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 gives a specific verb and resource: "Clear the built mesh data," with a clear scope note that the sequence and its features are kept. It does not explicitly distinguish this operation from similarly named siblings such as mesh_remove or mesh_free_tet, so it falls just short of 5.

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?

The description states what clearing does but gives no guidance on when an agent should choose this tool instead of mesh_remove, mesh_free_tet, or rebuilding the mesh. There is no explicit when-to-use or when-not-to-use instruction.

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