Skip to main content
Glama
formlabs-local-mcp

formlabs-local-mcp

by mkebiclioglu

detect_minima

Read-only

Counts unsupported local minima in a model per scene, identifying points that would print in mid-air so you can find and fix unprintable geometry before starting a print.

Instructions

Count unsupported local minima per model (points that would print in mid-air).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "detect_minima"
  }
}

Input Schema

NameRequiredDescriptionDefault
scene_idNoScene id; omit for the default scenedefault

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.16
    • addedInput schema / properties / scene_id / pattern
      Added value: +"^(?!\\.{1,2}$)[^/\\\\?#%]+$"
  2. First observedv1.0.4

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds meaningful semantics about what is actually being counted, but says nothing about scope of the returned counts, scene prerequisites, or cost on large scenes.

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?

One sentence, front-loaded with the verb and the metric, with the clarifying parenthetical placed where it helps most. Nothing extraneous.

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?

For a one-parameter read-only inspection tool whose safety hints are already in annotations, the definition covers the essentials. A brief note on the shape of the per-model result would close the last gap, though no output schema exists to cover it.

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?

Single parameter with 100% schema description coverage ("Scene id; omit for the default scene"), so the schema carries the semantics. The description adds no further detail on scene_id or its default behavior; 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?

Specific verb ("Count") plus a precise resource ("unsupported local minima per model") and a parenthetical that translates the jargon into observable consequences ("points that would print in mid-air"). This distinguishes it in substance from siblings like detect_supportedness or detect_thin_walls, though it never names them.

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

Usage Guidelines2/5

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

No statement of when to reach for this check, when not to, or how it relates to the other detect_* siblings. The print-air framing hints at a pre-print validation use case, but the agent must infer that; there is no explicit routing guidance.

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