Skip to main content
Glama

validate_mesh

Check manifold edges, watertightness, volume, and proportions to verify 3D model geometry using sample or custom JSON mesh data.

Instructions

Check manifold edges, watertightness, volume, and proportions.

Use sample "unit_cube" or "open_corner", or pass mesh_json as
{"vertices": [[x, y, z], ...], "faces": [[i, j, k], ...]}.
trimesh and Open3D contribute extra fields when they are installed.

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": "validate_mesh"
  }
}

Input Schema

NameRequiredDescriptionDefault
sampleNo
mesh_jsonNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden. It usefully notes that trimesh and Open3D 'contribute extra fields when they are installed', which signals dependency-conditional results, but it never states whether the tool is read-only, whether it requires an active scene, or what happens with malformed mesh_json.

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

Conciseness3/5

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

Front-loaded with the checks performed, which is good, but the trailing sentence about trimesh and Open3D is vague and the sample/JSON instructions are compressed into one dense line without stating precedence between the two inputs.

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?

An output schema exists, so return values need not be described. However, for a tool with no annotations and two mutually-overlapping input modes, the definition leaves key operational questions unanswered: which input wins when both are supplied, and whether validation requires an existing scene.

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 coverage is 0%, and the description compensates well: it names the two valid sample values (unit_cube, open_corner) and gives the exact JSON shape for mesh_json including vertex and face array structure. The mutual exclusivity of the two inputs is not stated, but the format guidance is otherwise concrete.

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 (check) and enumerates the exact properties validated: manifold edges, watertightness, volume, proportions. An agent knows precisely what the tool computes, though it does not explicitly contrast with sibling checks like check_intersections or check_scene.

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?

Usage is only implied: the description explains how to supply input (named samples or mesh_json) rather than when this tool should be chosen over check_scene or check_intersections. No exclusions or alternative-selection criteria are given.

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