Skip to main content
Glama

simplify_mesh

Destructive

Reduce a DynamicMeshActor's dynamic mesh to a target triangle count using QEM simplification, lowering geometry complexity for performance while preserving overall shape.

Instructions

QEM-simplify a DynamicMeshActor's dynamic mesh to a target triangle count

Returns: { actor_name: string, target_triangle_count: int, triangle_count_before: int, triangle_count_after: int, vertex_count: int, simplified: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actor_nameYesLabel or name of the target DynamicMeshActor
target_triangle_countYesTarget triangle count to simplify down to (must be > 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotency=false, so the safety profile is largely covered. The description adds the algorithm (QEM) and target semantics but does not disclose what happens to the original mesh, whether the change is reversible, or any permission requirements beyond what annotations imply.

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?

Front-loads the action in one line, then a compact structured returns block. Every element earns its place; the returns disclosure is valuable given no output schema exists. Slightly terse on context but not padded.

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 supplies the full return shape (before/after counts, simplified flag), and annotations carry the destructive/safety profile. The remaining gap is the absence of alternative-tool guidance, but for a well-scoped mesh transform the definition is largely complete.

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% and both parameters are self-documented (actor label, target count with > 0 constraint). The description only restates 'to a target triangle count' with no added syntax, valid range, or interaction detail, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (QEM-simplify), a specific resource (a DynamicMeshActor's dynamic mesh) and the target outcome (a target triangle count). Naming the QEM algorithm distinguishes it from sibling remeshers like apply_adaptive_remesh and apply_uniform_remesh.

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 by the purpose: reduce a mesh to a specific triangle target. There is no explicit when-to-use, when-not-to-use, or routing to the many competing remesh siblings (apply_adaptive_remesh, apply_uniform_remesh, scale_dynamic_mesh). No prerequisites or exclusions are stated.

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