Skip to main content
Glama
FlashForge MCP

FlashForge MCP

by ildargiv

flash_analyze

Analyze STL/OBJ meshes before slicing to get bounding box, volume, bed contact, overhang area, and orientation metrics, plus advice on rotation, supports, brim width, and AD5X fit.

Instructions

Analyze an STL/OBJ before slicing: bounding box, volume, bed-contact area, overhang area above an angle, and the same metrics for five axis-aligned re-orientations. Returns concrete advice: rotate, supports (tree/normal + angle), brim width, and whether the part fits the AD5X (220x220x220). 3MF gets bounds only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "stl": "<stl>"
    },
    "name": "flash_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
stlYesMesh path (.stl/.3mf/.obj), relative to the current directory.
angleNoOverhang threshold in degrees from vertical.
machineNoMachine profile name. Defaults to the AD5X 0.4 nozzle.
materialNoOptional: include recommended temps and support gap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that the tool computes metrics across five re-orientations and returns actionable recommendations (rotate, supports with type and angle, brim width, AD5X fit). The format caveat that 3MF yields bounds only is exactly the kind of behavioral detail annotations could not supply. It does not state side-effect profile, cost/runtime, or failure behavior on a missing/invalid mesh, leaving a gap.

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 front-loaded with the highest-value information: first what is measured, then what is recommended, then the format exception. No filler or restatement of the name, and the trailing 3MF caveat is placed where it is easy to catch.

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?

There is no output schema, so the description must explain returns and it does so concretely, down to the build-volume dimensions and the support/brim recommendations. Given a simple four-parameter, one-required-argument tool, an agent has enough to call it correctly and interpret the result.

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%, so all four parameters are already documented in the schema, establishing a baseline of 3. The description reinforces the angle parameter semantically ("overhang area above an angle") and the machine parameter (AD5X 220x220x220), but never mentions the material parameter's effect (temps and support gap), so it adds only partial meaning beyond the schema.

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?

Opens with a specific verb and resource ("Analyze an STL/OBJ") and then enumerates exactly what is computed: bounding box, volume, bed-contact area, overhang area, and metrics for five axis-aligned re-orientations. The phrase "before slicing" positions it against the sibling flash_slice, so an agent can distinguish the two without opening either schema.

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 "before slicing" framing gives clear sequencing guidance and implies the handoff to flash_slice. It also implicitly excludes 3MF parts from full analysis ("3MF gets bounds only"). It stops short of naming an explicit alternative or stating when-not-to-use, so it falls one step below full guidance.

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