Skip to main content
Glama
fdm-mcp

fdm-mcp

by akshara-ns

Plan an unattended (overnight) print

plan_unattended_print
Read-onlyIdempotent

Plan an unattended 3D print by calculating finish time, expected failure detection delay and wasted filament/cost, and finding a start time that keeps first layers watched.

Instructions

NEW. For a print that runs partly while nobody is watching: finish time, share unattended, expected time until a failure is noticed, expected wasted filament/hours/$, and optionally the best start time in a window so the first layers are watched. Errors: bad clock times, away_from == back_at, only one of the search bounds.

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": {
      "print_time_h": "<print_time_h>",
      "filament_g": "<filament_g>",
      "start_time": "<start_time>",
      "away_from": "<away_from>",
      "back_at": "<back_at>"
    },
    "name": "plan_unattended_print"
  }
}

Input Schema

NameRequiredDescriptionDefault
back_atYesWhen someone checks again, e.g. wake-up 'HH:MM'
away_fromYesWhen nobody will be watching from, e.g. bedtime 'HH:MM'
detectionNonone: you find failures yourself; auto_stop: printer camera detection pauses the jobnone
filament_gYesSlicer filament mass [g, 0.1–10000]
start_timeYes24-hour clock time 'HH:MM'
latest_startNoSearch start times until (with earliest_start)
print_time_hYesSlicer print time [h, 0.05–200]
earliest_startNoSearch start times from (with latest_start)
early_window_hNoHow long the 'first layers' last; default 0.5 [h, 0.05–5]
check_interval_minNoHow often you look while present; default 60 [min, 1–480]
detection_coverageNoShare of failures auto_stop catches; default 0.6 (assumption) [-, 0–1]
machine_cost_per_hNoMachine time cost; default 0.5 [$/h, 0–200]
detection_delay_minNoDelay before auto_stop pauses; default 10 [min, 0–600]
early_failure_shareNoShare of failures in the first layers; default 0.5 (assumption) [-, 0–1]
failure_probabilityNoChance this attempt fails; default 0.15 (assumption) [-, 0–0.9]
filament_price_per_kgNoFilament price; default 23 [$/kg, 0–500]

Output Schema

NameRequiredDescriptionDefault
toolYes
checksYes
inputsYesEvery input actually used, after defaults.
resultsYes
summaryYes
verdictYesWorst status among the checks.
decisionNoRecommended action (new tools only).
featuresNoPer-feature table (check_deviated_part).
warningsYes
assumptionsYes
human_checksNoWhat a person must verify before acting.
defaults_usedYesInputs the user did not give and the default applied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety needs no restatement. The description earns credit for disclosing the error conditions (bad clock times, away_from == back_at, unpaired search bounds) and the optional-window behavior, but it doesn't reveal that many outcomes rest on assumption defaults (failure_probability 0.15, detection_coverage 0.6), which materially shapes the numbers returned.

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?

A single dense paragraph that front-loads the scenario, then enumerates outputs, then error cases — nothing is padded. The leading 'NEW.' token carries no operational value and the phrase 'share unattended' is compressed to the point of ambiguity, but overall the structure is efficient.

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 16-parameter tool with an output schema and full field coverage, the description covers purpose, computed results, and validation failures adequately. The remaining gap is that it never signals the estimate is assumption-driven unless the caller inspects the optional null parameters, which matters for interpreting the output.

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 description coverage is 100%, so the baseline is 3. The description adds genuine cross-parameter semantics the schema cannot express: away_from must differ from back_at, and earliest_start/latest_start must be supplied together, both of which are validation rules absent from the per-field descriptions.

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 description names the specific computation set (finish time, unattended share, expected detection lag, wasted filament/hours/$) and the optional start-time search, which is far more specific than the title alone. It falls short of 5 because it never names the near-neighbor tools (estimate_print_job, compare_failure_costs) so the agent must infer its boundary from the description alone.

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?

The opening clause 'For a print that runs partly while nobody is watching' does establish the scenario that selects this tool, which is real usage guidance. However there is no explicit when-not guidance and no comparison to the cost-estimation siblings, so the agent must decide between plan_unattended_print and estimate_print_job on its own.

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