Skip to main content
Glama
mkebiclioglu

formlabs-local-mcp

by mkebiclioglu

auto_add_drain_holes

Automatically place drain holes on every model flagged as a cup by sampling points under its bounding box and projecting them onto the surface. Skips models without cups.

Instructions

Place drain holes automatically on every model that cup detection flags. Runs detect_cups, then for each cupped model samples points under its bounding box and lets PreForm project them onto the surface (depth AUTO). Models without cups are skipped. A "no surface found" warning means the cups are on a side face: offer add_drain_holes instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelsNo"ALL" or a list of model idsALL
scene_idNoScene id; omit for the default scenedefault
diameter_mmNo
max_holes_per_modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A4.4/5.0
Behavior5/5

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

The description reveals the actual pipeline: it runs detect_cups, samples points under each cupped model's bounding box, lets PreForm project them at depth AUTO, and skips non-cupped models. It also explains a warning condition. This adds substantial behavior beyond the simple readOnlyHint/destructiveHint annotations, and there is no contradiction.

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

Conciseness5/5

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

Three sentences, each earning its place: the core purpose, the internal algorithm, and the failure-mode alternative. Information is front-loaded and there is no redundant wording or schema repetition.

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?

The description covers the tool's workflow, skip behavior, and a warning condition, which is strong for a complex automation tool. It could additionally state what kind of result or confirmation the agent should expect after completion, but overall it is nearly complete.

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

Parameters2/5

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

Schema coverage is only 50%, and the description does not explain the meaning of diameter_mm, max_holes_per_model, or scene_id. It mentions the sampling and projection approach but does not connect these concepts to the actual parameters, leaving the agent to infer how the parameters control hole placement.

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 opens with a precise verb and resource: 'Place drain holes automatically on every model that cup detection flags.' It clearly describes the automated detect-then-place workflow and distinguishes itself from the manual sibling add_drain_holes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says models without cups are skipped and gives a concrete redirect: when a 'no surface found' warning appears, the cups are on a side face and the agent should offer add_drain_holes instead. This is clear when-to-use and when-not-to-use guidance.

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