Skip to main content
Glama

get_slice_settings

DestructiveIdempotent

Inspect slicer settings from a saved 3MF template or JSON/config profile without slicing, and determine whether a 3MF carries an unchanged Bambu Studio or Orca process.

Instructions

Inspect slicer settings from a saved 3MF template or a JSON/config slicer profile without slicing anything. For a 3MF given as source_path, own_process is true when slice_stl, given this call's other arguments as it would take them (slicer_profile, template_name, template_3mf_path, layer_height, wall_loops, sparse_infill_density, quality, strength), prints the process the file carries (a designer's Bambu Studio or Orca project) unchanged. A 3MF with no slicer settings reports raw_key_count 0; a file that can't be read is an error.

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": "get_slice_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
qualityNoPrint quality: draft (thicker layers, faster), standard (the preset's own layer height) or fine (thinner layers). The server picks the layer height for the nozzle in use; an explicit layer_height wins.
strengthNoPart strength: standard (the process's own walls and infill), strong or max (at least more walls and denser infill; a process that already has more keeps it). The server picks the values; explicit wall_loops or sparse_infill_density win.
wall_loopsNoFor own_process: the wall_loops slice_stl would be given.
source_pathNoPath to a 3MF template, extracted project_settings.config, or slicer profile JSON.
layer_heightNoFor own_process: the layer_height slice_stl would be given.
support_typeNoFor own_process: the support_type slice_stl would be given.
template_dirNoOptional template directory override when resolving template_name.
template_nameNoOptional named template from the local registry. Without source_path it is the source read; with source_path it is the slice's template, for own_process.
enable_supportNoFor own_process: the enable_support slice_stl would be given.
slicer_profileNoFor own_process: the slicer_profile slice_stl would be given.
nozzle_diameterNoFor own_process: the nozzle_diameter slice_stl would be given; layer heights are checked against it.
template_3mf_pathNoFor own_process: the template_3mf_path slice_stl would be given.
sparse_infill_densityNoFor own_process: the sparse_infill_density slice_stl would be given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv1.1.77
    • addedInput schema / properties / enable_support
      Added value: +{
      +  "description": "For own_process: the enable_support slice_stl would be given.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / layer_height
      Added value: +{
      +  "description": "For own_process: the layer_height slice_stl would be given.",
      +  "type": "number"
      +}
    • addedInput schema / properties / nozzle_diameter
      Added value: +{
      +  "description": "For own_process: the nozzle_diameter slice_stl would be given; layer heights are checked against it.",
      +  "type": "string"
      +}
    • addedInput schema / properties / quality
      Added value: +{
      +  "description": "Print quality: draft (thicker layers, faster), standard (the preset's own layer height) or fine (thinner layers). The server picks the layer height for the nozzle in use; an explicit layer_height wins.",
      +  "enum": [
      +    "draft",
      +    "standard",
      +    "fine"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / slicer_profile
      Added value: +{
      +  "description": "For own_process: the slicer_profile slice_stl would be given.",
      +  "type": "string"
      +}
    • addedInput schema / properties / sparse_infill_density
      Added value: +{
      +  "description": "For own_process: the sparse_infill_density slice_stl would be given.",
      +  "type": "string"
      +}
    • addedInput schema / properties / strength
      Added value: +{
      +  "description": "Part strength: standard (the process's own walls and infill), strong or max (at least more walls and denser infill; a process that already has more keeps it). The server picks the values; explicit wall_loops or sparse_infill_density win.",
      +  "enum": [
      +    "standard",
      +    "strong",
      +    "max"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / support_type
      Added value: +{
      +  "description": "For own_process: the support_type slice_stl would be given.",
      +  "type": "string"
      +}
    • addedInput schema / properties / template_3mf_path
      Added value: +{
      +  "description": "For own_process: the template_3mf_path slice_stl would be given.",
      +  "type": "string"
      +}
    • changedInput schema / properties / template_name / description
      Previous value: -"Optional named template from the local registry. If provided, resolves source_path automatically."New value: +"Optional named template from the local registry. Without source_path it is the source read; with source_path it is the slice's template, for own_process."
    • addedInput schema / properties / wall_loops
      Added value: +{
      +  "description": "For own_process: the wall_loops slice_stl would be given.",
      +  "type": "number"
      +}
  2. Changed1 schema field changedv1.1.14
    • removedInput schema / anyOf
      Removed value: -[
      -  {
      -    "required": [
      -      "source_path"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "template_name"
      -    ]
      -  }
      -]
  3. First observedv1.1.1

TDQS

B3.1/5.0
Behavior1/5

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

The description frames this as pure inspection that slices nothing and only reads a file, yet the annotations declare readOnlyHint=false and destructiveHint=true. An agent reading the description would assume a safe read; the annotations say otherwise, and nothing in the text explains what could be modified or destroyed.

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?

Three sentences, purpose front-loaded, no filler. The middle sentence is dense and awkwardly nested ('given this call's other arguments as it would take them'), costing some readability, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter tool with no output schema, the description only gestures at return values (own_process, raw_key_count 0, errors) without describing the result payload. The own_process logic and failure modes are covered, but the output and the destructive-vs-read nature are not.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema by explaining the own_process concept that unifies the ten 'slice_stl would be given' parameters and by clarifying the dual role of template_name. It does not explain quality/strength precedence, though the schema already does.

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?

The first sentence gives a specific verb and resource ('Inspect slicer settings from a saved 3MF template or a JSON/config slicer profile') and explicitly scopes it as non-slicing, which distinguishes it from slice_stl/slice_with_template. It stops short of naming a sibling directly, so a 4 rather than a 5.

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 by 'without slicing anything' and by the source_path vs template_name rules ('Without source_path it is the source read; with source_path it is the slice's template'), but there is no explicit statement of when to call this instead of slice_stl or when not to call it. The agent must infer the selection rule.

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