Skip to main content
Glama
BambuStudio-MCP

BambuStudio-MCP

inspect_slice

Read-only

Inspect embedded G-code targets, object layers, and feature feeds without running a print; use a job revision or saved project to compare paths and link geometry to issue IDs.

Instructions

Inspect embedded G-code targets, object layers and feature feeds without running it.

With job_id inspect that exact succeeded revision; otherwise inspect the saved project, including older sliced imports. Compact results retain counts, shared path totals and bead-edge margins; raw paths stay at report_path. Geometry comparisons link paths to issue IDs from the exact revision. Unknown firmware, plate origins and extruder mappings remain unknown. Targets do not establish actual temperatures or physical fusion.

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": {
      "project_id": "<project_id>"
    },
    "name": "inspect_slice"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNo
revisionNo
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint=false, so the description's job is to add context — and it does: it discloses that G-code is never executed, that compact mode keeps counts/shared path totals/bead-edge margins while raw paths land at report_path, and it explicitly bounds what the output means (unknown firmware/plate origins/extruder mappings stay unknown; targets do not establish actual temperatures or physical fusion). These epistemic caveats are exactly the kind of behavior an agent cannot 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?

The purpose is front-loaded in sentence one, followed by the selection rule and then output caveats — a sensible order with no filler. It is dense and jargon-heavy ('bead-edge margins', 'shared path totals'), but each sentence conveys distinct information.

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?

With no output schema, the description must explain return shape, and it does so partially (compact vs raw, report_path). Gaps remain around the unexplained revision parameter and what happens when job_id is absent or the revision is not succeeded, which matters for a tool whose behavior branches on those inputs.

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 0% for three parameters, so the description must carry the load. It explains job_id (inspect that exact succeeded revision, implying a succeeded-job precondition) and project_id (the saved project fallback), but the 'revision' parameter is never mentioned, leaving one of three parameters with no semantics anywhere.

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 names a specific verb and specific resources: 'Inspect embedded G-code targets, object layers and feature feeds without running it.' The read-only framing ('without running it') separates it from execution tools like start_slice, though it does not explicitly distinguish itself from close siblings such as analyze_geometry or inspect_project.

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?

It gives one concrete routing rule: use job_id to inspect that exact succeeded revision, otherwise inspect the saved project including older sliced imports. That is guidance about parameter selection rather than tool selection — there is no statement of when to choose this over analyze_geometry, compare_candidates, or inspect_project.

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