Skip to main content
Glama

mesh_native_analyze

Checks triangle-nodal mesh schemas offline or compares scalar fields across meshes using files under COMSOL_OUTPUT_ROOT; it does not run a COMSOL solve or physical validation.

Instructions

Offline triangle-nodal mesh schema check or cross-mesh scalar comparison; NOT a COMSOL solve or physical validation. Inputs must reside in COMSOL_OUTPUT_ROOT.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "operation": "<operation>",
      "reference_path": "<reference_path>"
    },
    "name": "mesh_native_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldNo
max_pairsNo
operationYes
min_coverageNo
candidate_pathNo
reference_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it usefully discloses that the operation is offline, does not run a solve, and requires a specific input root. It says nothing about read-only vs mutating behavior, what happens when coverage falls below threshold, pair-count limits, or what the response contains.

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?

Two tight clauses, front-loaded with the core capability followed by the negative scope and the input constraint. Dense but jargon-heavy ('triangle-nodal'), with no wasted sentences.

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

Completeness2/5

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

For a six-parameter tool with no annotations, no output schema, and zero schema coverage, the description omits thresholds semantics, operation enumeration, and any return-value or failure behavior. The scope statements are valuable but not sufficient to invoke this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across six parameters, and the description only obliquely explains reference_path (via cross-mesh comparison) and the root constraint on paths. Nothing explains field, candidate_path, min_coverage (a 0.98 threshold), max_pairs (a 2,000,000 cap), or the accepted operation 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?

States two concrete modes (offline triangle-nodal mesh schema check, cross-mesh scalar comparison) plus an explicit negative scope (not a COMSOL solve or physical validation), which distinguishes it from solver siblings like comsol_run_case. It does not tie those two modes to the required 'operation' values, leaving a small inference gap about how the modes are selected.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear precondition (inputs must reside in COMSOL_OUTPUT_ROOT) and a clear when-not (not for solving or physical validation), which is meaningful routing guidance. It names no explicit alternative tools, so the agent must infer where to go for an actual solve.

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