Skip to main content
Glama
PrusaSlicer MCP

PrusaSlicer MCP

by JoFaTech2508

Check STL orientation

check_orientation
Read-only

Analyzes an STL, 3MF, or OBJ file to rank the six possible bed-contact orientations by flat contact area and overhang area, then reports overhang faces by height for the chosen side.

Instructions

Reads an STL (binary or ASCII) and reports its size and, for each of the 6 "which side down" choices, the flat bed contact area and the downward-facing area steeper than 45 degrees, best first. Then lists overhang faces by height above the bed for the best side, or for down. These are geometric numbers only, not a support decision: small areas at one height are often short lips or bridges that print fine.

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": {
      "path": "<path>"
    },
    "name": "check_orientation"
  }
}

Input Schema

NameRequiredDescriptionDefault
downNoSide to put on the bed, e.g. "y+".
pathYesAbsolute path to an .stl, .3mf or .obj file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive/closed-world, so the bar is lower, and the description still adds real value: accepted STL encodings, the ordering of results (best first), and the scope of the overhang listing (best side, or the `down` side). The explicit warning that these are raw geometric numbers and that small single-height areas are often lips or bridges is genuine interpretive context an agent could not get from structured fields.

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 dense sentences, front-loaded with what is read and what is computed, then the caveat. Every clause carries content, though the second sentence packs ranking behavior, the `down` override, and the interpretation warning together, making it slightly harder to parse at a glance.

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?

With no output schema, the description carries the return-value burden and does so adequately: size, per-side contact and >45-degree downward areas, ordered, plus overhang faces by height. Gaps remain — no units for the reported areas, no error/failure behavior, and the schema permits .3mf and .obj paths while the description mentions only STL (binary or ASCII), a minor inconsistency an agent could trip on.

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 coverage is 100%, so both parameters are documented already, and the description's enum explanation mostly restates the schema. It does add one piece of meaning the schema lacks: absent `down`, the overhang listing defaults to the best-scoring side. That is a useful but small increment over a fully-described 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?

Names a specific verb and resource (reads an STL, reports its size and per-side bed-contact/downward-facing areas) and enumerates exactly what is returned. The output signature — six side candidates ranked best-first plus overhang faces by height — is distinctive enough that an agent can tell this apart from slice or compare without inspecting schemas.

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?

Usage is implied: this is a pre-slicing geometric check, and the parameter `down` lets you drill into a specific side. But there is no explicit statement of when to call this versus `slice` or `compare`, nor any prerequisite or follow-up guidance (e.g. run this before slicing to choose an orientation). The closing caution clarifies interpretation rather than when-to-use.

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

Deploy Server

Other Tools