Skip to main content
Glama
prusaslicer-mcp
by sebastienc

suggest_orientation

Read-onlyIdempotent

Ranks print orientations for a 3D model by bed contact, overhang support and height, optionally slicing each option to measure real support filament, total filament and print time.

Instructions

Suggest which way up to print a model, ranked, with what each orientation costs.

The candidates are the model's large flat faces, its six axis directions and the orientation as stored (always listed, with its rank). Each is scored by the surface it puts on the bed (base_area_mm2, and stable unless that is under 5% of the model's silhouette from above), the surface leaning past 45 degrees that would need support (overhang_area_mm2) and the height. Pass the rotate_x and rotate_y of an option to preview_model to look at it and to slice_model to print it. Overhang area is a rough guide to how much support is needed, not a measure: orientations within about 10% of each other are effectively tied. The scores are geometry only: they know nothing about strength, how it looks or the material, so use them to choose, not to decide. With profiles each option is also sliced with supports on, and measured holds the real support filament, total filament and estimated time (or why PrusaSlicer refused it); the options are then ranked stable first, then by measured support, then by time, and geometry_rank keeps the geometric order.

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": {
      "model_path": "<model_path>"
    },
    "name": "suggest_orientation"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many of the best orientations to return
model_pathYesAbsolute path to an STL/3MF/OBJ/STEP file (not a PrusaSlicer project)
close_holesNoCap flat holes first, as slice_model(close_holes=true) would, so a scan's missing base can be the face it stands on. Without it an open base never counts as a base.
print_profileNoExact print profile name, from list_profiles. All three profiles or none.
printer_profileNoExact printer profile name, from list_printers. Give all three profiles to also slice each option once with automatic supports and report the real support filament, filament and time (slow: one slice per option, at most 6 options). Omit all three for the geometric scores alone.
material_profileNoExact filament profile name, from list_profiles. All three profiles or none.

Output Schema

NameRequiredDescriptionDefault
optionsYes
warningsYes
surface_area_mm2Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered structurally. The description adds substantial context beyond that: the candidate set, the scoring factors, the '~10% effectively tied' tolerance, the 'geometry only, use to choose not to decide' caveat, and the measured-vs-geometric ranking split. With annotations carrying the safety story, the bar is lower, so this sits at a solid 3 rather than higher.

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?

It is front-loaded with the purpose and every sentence carries real information (scoring inputs, tolerance, caveats, downstream routing). It is, however, one dense paragraph with nested parentheticals that could be broken into shorter statements without losing content.

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?

An output schema exists, yet the description still orients the agent to the key return fields (`measured`, `geometry_rank`) and the ranking rules that change when profiles are supplied. Given six parameters, an output schema and full annotation coverage, nothing an agent needs to call this correctly is missing.

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 every parameter is already documented in the schema, which sets the baseline at 3. The description adds only marginal semantic value on parameters – it hints that the profile trio is all-or-nothing and that profiles cap useful options at six, but that constraint is already spelled out in the schema text. No new parameter meaning is introduced 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?

The opening sentence names a specific verb and resource ('Suggest which way up to print a model') and adds the ranking/co st dimension, which no sibling does. It immediately distinguishes itself from preview_model and slice_model, which are named as downstream consumers rather than alternatives.

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 states explicitly what to do with a result ('Pass the `rotate_x` and `rotate_y` of an option to preview_model to look at it and to slice_model to print it') and gives a clear when-not branch: 'Omit all three for the geometric scores alone'. It also flags the cost tradeoff of supplying profiles (one slice per option, slow), so an agent can decide before invoking.

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