Skip to main content
Glama
OFFTECH

gmsh-mcp-server

by OFFTECH

mesh_inspect

Read-onlyIdempotent

Read bounded node and element pages with counts from a completed mesh, ensuring revision consistency to avoid mixing stale meshes.

Instructions

Read bounded node/connectivity pages and counts from the completed mesh. Retain expected_revision across pages; stale revisions fail instead of mixing different meshes. Limits are 1..1000. dimension=-1 includes all element types.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dimensionNo
node_limitNo
session_idYes
node_offsetNo
element_limitNo
element_offsetNo
expected_revisionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior, so the bar is lower. The description still adds real value beyond them: bounded paging, the stale-revision failure mode ('fail instead of mixing different meshes'), the 1..1000 limit range, and the dimension=-1 sentinel.

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?

Three terse sentences, each carrying distinct information, with the core read scope front-loaded and constraints (revision, limits, dimension) packed into single clauses. No filler.

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?

An output schema exists, so return shape need not be explained, and the description covers scope, paging discipline, and revision consistency. It is close to complete for a read/pagination tool, with only the offset and session parameters left to the schema's bare titles.

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

Parameters3/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. It defines the limit bounds and dimension=-1, but never explains expected_revision's type/source, session_id, or the node_offset/element_offset paging semantics beyond the generic word 'pages'.

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: reading bounded node/connectivity pages and counts from a mesh. 'completed mesh' scopes it relative to mesh_generate/mesh_configure, though it never names a sibling to route between mesh_inspect, mesh_quality, and geometry_inspect.

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?

'from the completed mesh' implies the prerequisite that a mesh must already exist. The instruction to retain expected_revision across pages is genuine usage guidance for pagination, but there is no explicit when-to-use/when-not or alternative-tool routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.