Skip to main content
Glama
OFFTECH

gmsh-mcp-server

by OFFTECH

view_clip

Idempotent

Clip the displayed model at a global coordinate plane along an axis, keeping coordinates above or below a position to isolate regions in the live viewer without altering camera or mesh.

Instructions

Clip the displayed model at a global coordinate plane in metres. positive retains coordinates >= position; negative retains <= position. enabled=False disables clipping. Affects only the live viewer, preserves camera and mesh revision, and persists through subsequent checkpoints.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
axisNoz
keepNopositive
enabledNo
positionNo
session_idYes

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=false, idempotent=true, and destructive=false. The description adds that it affects only the live viewer, preserves camera and mesh revision, and persists through checkpoints, which is valuable behavioral context; it does not cover auth or rate limits.

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?

Four short sentences, front-loaded with purpose, each adding distinct information (retention semantics, disabling, side effects). 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?

Output schema exists, so return values need not be described, and annotations cover the safety profile. The description covers important side effects and key parameter behavior, though it leaves some schema details (axis, session_id) undocumented.

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 explains keep (positive/negative retention), enabled=False disables clipping, and position in metres, but leaves axis enum semantics and session_id unaddressed, so compensation is only partial.

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 ('Clip') and resource ('displayed model') and scope (global coordinate plane in metres). It does not distinguish this from sibling view tools such as view_set or view_capture, so it falls short of a 5.

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?

Implies usage by describing what clipping does and that enabled=False disables it, but gives no explicit when-to-use guidance versus view_set, view_capture, or other view tools. Adequate minimum, but no alternatives or exclusions.

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