Skip to main content
Glama
orcaslicer-mcp

orcaslicer-mcp

Download sliced gcode

get_gcode
Read-only

Retrieve the G-code text from the last OrcaSlicer slice so you can inspect or verify the generated toolpaths without saving a file.

Instructions

Return the last slice's G-code as text; save_gcode writes it to a file and records the slice.

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_gcode"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.8

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, so the safety profile is covered; the description adds the non-obvious fact that output comes back inline as text and that only the file-saving sibling records the slice. It doesn't mention payload size or what happens when no slice exists, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the return behavior and followed by the sibling contrast; every clause earns its place with no redundancy.

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 zero-parameter, no-output-schema read tool, the description covers what is returned and how it differs from the file-writing sibling. A brief note on failure when no slice exists, or on output size, would close the remaining gap.

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?

The tool takes zero parameters, so the schema carries no semantic burden and the description has nothing extra to clarify; baseline 4 territory is partially offset by the lack of any parameter-related context at all. Nothing is missing or misleading here.

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?

States a specific verb and resource ('Return the last slice's G-code') plus the delivery format ('as text'), which makes it unambiguously distinct from save_gcode without opening either schema.

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?

Names the sibling alternative save_gcode and the criterion that separates them (it writes to a file and records the slice), giving the agent a clear routing rule. It stops short of an explicit 'use this instead when...' phrasing, so a 4 rather than a 5.

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