Skip to main content
Glama

export_adaptive_slicer_config

Read-only

Export an adaptive slicing plan as slicer-compatible configuration for PrusaSlicer, OrcaSlicer, Cura, or generic use, converting layer-height data into the target format.

Instructions

Export an adaptive slicing plan as slicer-compatible configuration.

Converts a plan to the target slicer's format — PrusaSlicer and
OrcaSlicer use variable layer height data, Cura uses adaptive
layers plugin format.

Args:
    plan_data: Plan dict from ``generate_adaptive_slicing_plan``.
    slicer: Target slicer — "prusaslicer", "orcaslicer", "cura",
        or "generic".

A plan built with generic settings (``basic: true``) exports with
``basic: true`` and a first note saying its settings are generic.

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": {
      "plan_data": "<plan_data>"
    },
    "name": "export_adaptive_slicer_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
slicerNoTarget slicer — "prusaslicer", "orcaslicer", "cura", or "generic". Default: "prusaslicer".
plan_dataYesPlan dict from ``generate_adaptive_slicing_plan``.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.1
    • addedInput schema / properties / plan_data / description
      Added value: +"Plan dict from ``generate_adaptive_slicing_plan``."
    • changedInput schema / properties / slicer / description
      Previous value: -"Default: \"prusaslicer\"."New value: +"Target slicer — \"prusaslicer\", \"orcaslicer\", \"cura\", or \"generic\". Default: \"prusaslicer\"."
  2. Changed2 schema fields changedv1.5.0
    • removedInput schema / properties / slicer / default
      Removed value: -"prusaslicer"
    • addedInput schema / properties / slicer / description
      Added value: +"Default: \"prusaslicer\"."
  3. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish that this is read-only, non-destructive, and closed-world. Beyond that, the description adds useful behavioral detail about format conversion for PrusaSlicer/OrcaSlicer versus Cura and how generic plans propagate `basic: true` with a note.

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?

The description is front-loaded and easy to scan, with format behavior explained before the argument list. The `Args:` section duplicates schema descriptions somewhat, but the overall length is appropriate.

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 two-parameter export tool with annotations but no output schema, the description covers the key inputs, supported slicer formats, and an important generic-plan edge case. It does not state what the returned export looks like, which is a minor gap given the absence of an output schema.

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%, and the description largely repeats the schema’s parameter descriptions. It does add some meaning around how `plan_data` with generic settings is handled, but the core parameter semantics are already supplied by 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 description states a specific verb and resource: exporting an adaptive slicing plan as slicer-compatible configuration. It also clarifies the conversion target formats and distinguishes the source plan as coming from `generate_adaptive_slicing_plan`.

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 description makes the usage context clear: take a plan from `generate_adaptive_slicing_plan` and export it for a chosen slicer. It does not explicitly state when not to use it or name alternative export/summary tools, but the intended workflow is clear.

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