Skip to main content
Glama

apply_design_reinforcements

Analyzes a mesh for structural risks and auto-applies reinforcements: thickened walls, filleted corners, base plate, and gusset ribs. Returns before/after structural scores.

Instructions

Analyze a mesh for structural risks, then auto-apply fixes.

        This is the **one-step design hardening tool** — it runs the full
        structural analysis pipeline, then applies every applicable fix:

        - **Thin necks** → thickened walls (+material at narrow sections)
        - **Sharp corners** → filleted edges (stress concentration eliminated)
        - **Insufficient base** → wider base plate (stabilizing geometry added)
        - **Cantilevers** → triangular gusset ribs (deflection reduced 3-10x)

        Returns a before/after structural score so agents can see the
        improvement.  Reinforcements that can't be auto-applied (like
        ``reorient``) are listed in ``skipped`` with guidance.

        Requires OpenSCAD for base plate and gusset operations.

        :param file_path: Path to the STL file to reinforce.
        :param output_path: Output path (defaults to ``<name>_reinforced.stl``).
        :param fillet_radius_mm: Fillet radius for sharp corners (default 1.5).
        :param wall_thicken_mm: Amount to add to thin walls (default 0.6).
        :param base_height_mm: Height of stabilizing base plate (default 2.0).
        :returns: Dict with before/after scores, applied/skipped reinforcements.
        

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
output_pathNo
base_height_mmNo
wall_thicken_mmNo
fillet_radius_mmNo
Behavior4/5

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

With no annotations, the description carries the full burden. It details the pipeline steps, the types of fixes applied, and that it returns before/after scores. It also notes the requirement for OpenSCAD. However, it does not disclose potential side effects like file overwriting or permissions needed, but overall it is fairly transparent.

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 well-structured with bullet points and sections, making it easy to parse. However, it is somewhat lengthy; the docstring-style parameter list could be more concise. Still, every sentence adds value, and the structure aids quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (combining analysis and multiple fixes), the description covers the core behavior, return value structure, and limitations. It explains what the tool does, what it returns, and prerequisites. For a tool without output schema, this is sufficiently complete for an agent to decide when to use it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% coverage, meaning no parameter descriptions. The description compensates by listing all 5 parameters with explanations and default values. It adds context beyond the schema, such as default output path naming and the purpose of each parameter.

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 that the tool analyzes a mesh for structural risks and auto-applies fixes. It lists specific fixes like thin necks, sharp corners, insufficient base, and cantilevers. It distinguishes itself as the 'one-step design hardening tool' implying it combines analysis and application, unlike siblings like 'analyze_structural_risks' which only analyze.

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 description explicitly says 'This is the one-step design hardening tool' and describes when to use it for full pipeline execution. It implies that if only analysis is needed, one should use other tools, but it does not provide explicit when-not-to-use guidance. It mentions that skipped reinforcements are listed, which helps the agent understand limitations.

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