Skip to main content
Glama
formlabs-local-mcp

formlabs-local-mcp

by mkebiclioglu

detect_cups

Read-only

Count resin cups (trapped-resin pockets) per model quickly without running full validation. Use it to check a scene for trapped resin before printing.

Instructions

Count resin cups (trapped-resin pockets) per model. Faster than full validation.

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_cups"
  }
}

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

A3.5/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 that results are reported per model and that the operation is a cheap subset of full validation, but says nothing about runtime cost, accuracy limits, or whether non-manifold/resin-trapping geometry is also reported.

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?

Two short sentences, front-loaded with the core action; nothing is padding. It is arguably too terse for a detection tool, but every sentence earns its place.

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 simple read-only analysis tool with one optional, fully documented parameter and no output schema, the description covers what the tool computes and roughly how results are organized. Missing detail is limited to return shape and the exact criteria for a 'cup', which is a minor gap at this complexity.

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% for the single optional scene_id, so the schema carries parameter meaning. The phrase "per model" adds the only extra semantic hint — that results are grouped by model within the scene — but it does not clarify model targeting at all, since there is no model parameter.

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?

States a concrete verb and resource — "Count resin cups (trapped-resin pockets) per model" — and defines the domain term inline so an agent knows exactly what is being counted. It does not name any of the sibling detect_* tools, so differentiation rests on the 'faster than full validation' comparison rather than explicit routing.

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?

"Faster than full validation" implies this is the lightweight alternative to a heavier validation check, which gives an agent a usable cue for when to reach for it. However, it does not explicitly name the full-validation tool, nor state when this tool is insufficient (e.g., when a complete pass/fail verdict is required).

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