Skip to main content
Glama

Get Mesh

get_mesh
Read-only

List a mesh object's faces with index, center, normal, side, area, and material slot; use it to retrieve face indices or refresh data after geometry changes.

Instructions

List a mesh's faces. Returns: each face's index, center, normal, side, area, material slot. WHEN TO CALL: for face indices; again after faces change.

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": {
      "object": "<object>"
    },
    "name": "get_mesh"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 200
spaceNoDefault world
objectYesName
materialNoIts faces only: slot or name
evaluatedNoAfter modifiers
include_verticesNoList vertices too

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is handed to the agent. The description adds genuine context beyond that: the exact per-face payload and the instruction to re-call after faces change. It says nothing about the default page size of 200 or whether results are truncated, which is the remaining behavioral gap.

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?

Three short telegraphic sentences with zero filler, and the return payload is front-loaded before the calling condition. The clipped phrasing ("WHEN TO CALL", "List a mesh's faces") is efficient though slightly terse.

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?

With no output schema, the description usefully compensates by enumerating returned fields, and it addresses the freshness concern that matters for a read-only snapshot tool. For a 6-parameter tool, only pagination/limit behavior is left unaddressed, which the schema's "Default 200" partially covers.

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 100%, so all six parameters (limit default 200, space default world, object name, material slot/name, evaluated, include_vertices) are already documented in the schema. The description's mention of "material slot" in the return values incidentally clarifies the material filter, but it adds no direct parameter guidance. Baseline 3 applies.

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?

"List a mesh's faces" is a specific verb + resource, and the following sentence enumerates exactly what is returned (index, center, normal, side, area, material slot). It is clearly distinct from get_object/get_scene/edit_mesh, though it never explicitly names a sibling to contrast with.

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?

The "WHEN TO CALL: for face indices; again after faces change" clause gives explicit trigger conditions, including the non-obvious staleness rule (re-fetch after mutations). It stops short of stating when NOT to use it or naming an alternative such as get_object for non-face data.

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