Skip to main content
Glama

simplify_mesh_model

Reduce triangle count in STL mesh files for faster previews or smaller file sizes. Uses vertex-clustering decimation to merge nearby vertices while preserving shape.

Instructions

Reduce mesh triangle count for faster preview or smaller files.

        Uses vertex-clustering decimation to merge nearby vertices.
        The result is a lower-resolution version of the same shape.

        :param file_path: Path to the STL file.
        :param target_ratio: Target fraction of original triangles (0.01-1.0).
        :param output_path: Output path (defaults to ``<name>_simplified.stl``).
        :returns: Dict with original/simplified triangle counts and reduction percentage.
        

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
output_pathNo
target_ratioNo
Behavior3/5

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

With no annotations, the description must carry the transparency burden. It discloses the decimation algorithm and that the result is lower-resolution. However, it does not mention whether the operation is destructive to the original file, required permissions, or potential side effects like loss of detail. The default output path suggests non-destructive behavior but is not explicit.

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?

The description is concise and front-loaded with the purpose. It includes algorithm details and parameter documentation without fluff. The structure could be slightly improved by separating parameter descriptions more clearly, but overall it is efficient.

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?

Given the simplicity of the tool (3 parameters, no nested objects), the description covers key aspects: purpose, algorithm, parameters, return value. It lacks error handling or invalid input behavior, but for a straightforward tool it is reasonably complete.

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?

The input schema has 0% description coverage, so the description must compensate. It provides clear, detailed parameter descriptions: file_path (STL file), target_ratio (fraction 0.01-1.0), and output_path (default to <name>_simplified.stl). This adds significant meaning beyond the bare schema properties.

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?

The description clearly states the tool's function: 'Reduce mesh triangle count for faster preview or smaller files.' It specifies the algorithm used (vertex-clustering decimation) and the outcome (lower-resolution version of same shape). This distinguishes it from sibling tools like repair_mesh or hollow_mesh_model.

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?

The description implies use cases ('faster preview or smaller files') but does not provide explicit guidance on when to use this tool versus alternatives in the extensive sibling list. No when-not-to-use or prerequisite information is given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/codeofaxel/kiln'

If you have feedback or need assistance with the MCP directory API, please join our Discord server