Skip to main content
Glama

estimate_adaptive_time_savings

Read-only

Compare an adaptive slicing plan against a uniform layer height to quantify layer-count reduction, estimated time savings, and percentage improvement.

Instructions

Compare adaptive plan time savings vs uniform layer height.

Shows layer count reduction, estimated time savings, and percentage
improvement.

Args:
    plan_data: Plan dict from ``generate_adaptive_slicing_plan``.
    uniform_height_mm: Reference uniform layer height for comparison
        (default 0.2mm).

Savings for a plan built with generic settings (``basic: true``) say
``basic: true`` too.

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

Input Schema

NameRequiredDescriptionDefault
plan_dataYesPlan dict from ``generate_adaptive_slicing_plan``.
uniform_height_mmNoReference uniform layer height for comparison (default 0.2mm). Default: 0.2.

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 / uniform_height_mm / description
      Previous value: -"Default: 0.2."New value: +"Reference uniform layer height for comparison (default 0.2mm). Default: 0.2."
  2. Changed2 schema fields changedv1.5.0
    • removedInput schema / properties / uniform_height_mm / default
      Removed value: -0.2
    • addedInput schema / properties / uniform_height_mm / description
      Added value: +"Default: 0.2."
  3. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that three comparison metrics are returned, which is useful since there is no output schema, but the final sentence ('Savings for a plan built with generic settings (``basic: true``) say ``basic: true`` too') is garbled and fails to convey the caveat it was clearly meant to express about estimation accuracy.

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

Conciseness3/5

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

The opening two sentences are well front-loaded, but the 'Args' section duplicates the schema word-for-word and the trailing sentence is corrupted to the point of being uninterpretable. Roughly a third of the text earns no place.

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 simple two-parameter, read-only estimation tool with full schema coverage and annotations covering safety, the definition supplies purpose, input provenance, and returned metrics. The one real gap is the mangled caveat about generic ('basic: true') plans, which likely matters to interpreting the numbers but cannot be decoded.

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%, so both parameters are already fully documented, including the 0.2 default for uniform_height_mm. The 'Args' block in the description merely restates the schema text verbatim, adding no new meaning such as valid ranges, units, or behavior when plan_data comes from a non-standard plan.

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 states a specific comparison ('adaptive plan time savings vs uniform layer height') and the second enumerates the outputs (layer count reduction, time savings, percentage improvement). This is clearly distinguishable from the plan-generation sibling, though it never names other estimator siblings it might be confused with.

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 rather than stated: plan_data is documented as coming from ``generate_adaptive_slicing_plan``, which quietly establishes the prerequisite and workflow order. There is no explicit when-to-use versus other estimate_* tools and no when-not guidance.

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