Skip to main content
Glama
orcaslicer-mcp

orcaslicer-mcp

Compare slice variants

compare_slices
Read-only

Slice 2–8 named setting variants, compare time, filament use, and warnings with precomputed deltas and a verdict, then restore the original configuration unchanged.

Instructions

Slice under 2-8 named combinations of settings and compare time, filament and warnings with ready-made deltas and a verdict, putting the settings back after; compare_settings only sweeps one setting.

Each variant is {"name": str, "changes": {setting: value}}; changes={} means the current config as-is (a natural baseline row). Applies each variant over the ORIGINAL config (resetting between variants, so they don't stack), slices it, then restores your config exactly as it was - nothing is left changed (slice validity is left false, as after any un-resliced edit).

Returns a ready-to-relay headline and table_markdown, plus structured variants. All deltas and percentages are ALREADY computed against baseline (defaults to the changes={} variant, else the first) from the rounded minutes and grams the table shows - relay them as given rather than recomputing. recommended (starred in the table) is set only when one variant is at least as good as every other on time, filament and warnings. In a trade-off it is null and the headline reads "No clear winner: X is fastest, Y is lightest."; tradeoff names them, so leave the choice to the user.

The trial writes and slices are not recorded in OrcaSlicer's MCP panel; one line such as "Compared 3 options · nothing kept" is added instead.

Each variant is a full slice (minutes); capped at 8. Set detail=True only when a per-feature (wall/infill/support) split is wanted - it grows the response ~N x. With more than ~5 variants, lead with the recommendation and the extremes, not all rows.

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": {
      "variants": "<variants>"
    },
    "name": "compare_slices"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNo
timeoutNo
baselineNo
variantsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.9

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint annotation: it discloses that each variant is applied over the ORIGINAL config with resets between variants (no stacking), that config is restored exactly, that slice validity is left false afterward, that trial writes/slices are omitted from the MCP panel with only a one-line entry, and that each variant is a full slice capped at 8. It also explains pre-computed deltas/percentages, the `recommended` tie-breaking rule, and the trade-off headline format.

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 lead sentence front-loads purpose, sibling differentiation and side-effect profile, and the remaining paragraphs are organized by topic (variant shape, execution/restore, return values, recommendation logic, cost). It is long and occasionally repeats the restore guarantee, but nearly every sentence carries operational information.

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?

For a no-output-schema, 4-param, side-effecting comparison tool this covers what an agent needs: input shape, baseline resolution, execution semantics and cleanup, a precise description of returned fields (headline, table_markdown, variants, recommended, tradeoff), and cost warnings. The only omission, timeout behavior, is minor.

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?

With 0% schema description coverage the description must carry the load, and it documents the `variants` item shape ({name, changes}), the changes={} baseline convention, `baseline` default resolution order, and the cost/behavior of `detail`. Only `timeout` (and its 300s default) is left entirely undocumented.

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+resource with scope: 'Slice under 2-8 named combinations of settings and compare time, filament and warnings with ready-made deltas and a verdict.' It also names the closest sibling (compare_settings) and states how it differs ('only sweeps one setting'), so an agent can route 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing rule against compare_settings, explicit condition for detail=True ('only when a per-feature split is wanted'), and explicit guidance for large N ('with more than ~5 variants, lead with the recommendation and the extremes'). It also tells the agent to leave trade-off choices to the user when `recommended` is null.

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