Skip to main content
Glama
fdm-mcp

fdm-mcp

by akshara-ns

Check a deviated or repaired part

check_deviated_part
Read-onlyIdempotent

Compare a deviated or repaired part feature-by-feature against design tolerances to choose keep, test, or reprint, and re-check load-bearing arm safety at as-printed thickness.

Instructions

NEW. Decide KEEP / TEST_BEFORE_USE / REPRINT for a part that came out (or was repaired) different from its design, feature by feature against designer tolerances, and re-check a load-bearing arm's safety factor at its as-printed thickness. Errors: a fit or load_bearing feature without tolerance_mm, bad role, values out of range.

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": {
      "features": "<features>"
    },
    "name": "check_deviated_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
beamNoLoad-bearing arm to re-check with check_cantilever
featuresYesFeatures to compare with the design
reprint_time_hNoPrinter time for a reprint, to show what scrapping costs [h, 0.05–500]
machine_cost_per_hNoMachine time cost; default 0.5 [$/h, 0–200]
reprint_filament_gNoFilament for a reprint [g, 0.1–10000]
filament_price_per_kgNoFilament price; default 23 [$/kg, 0–500]
repaired_in_load_pathNoLayers were changed or restarted where load passes

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 this is a read-only, idempotent, non-destructive computation, so the safety profile is covered. The description adds real value by enumerating the failure modes (fit/load_bearing feature missing tolerance_mm, bad role, out-of-range values), which tells the agent what input mistakes will be rejected. It does not explain how the decision thresholds are derived or what the beam re-check actually returns, but the output schema carries that.

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 decision and its outputs are front-loaded in the first clause, followed by the mechanics and then a compact error list. The leading 'NEW.' is noise that earns nothing, but otherwise every sentence pulls weight.

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?

With annotations, a full output schema, and 100% schema coverage, the description only needs to convey purpose, decision vocabulary, and input constraints, and it does all three. The cost-related parameters and the beam mechanics are left to the schema, which is acceptable given the output schema exists.

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 the Feature and Beam fields are already documented, including the tolerance_mm requirement for fit and load_bearing. The description adds the cross-cutting semantics of how features and beam feed the decision, but repeats the tolerance rule already stated in the schema rather than expanding on cost or cost-model parameters.

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?

States a specific decision to make (KEEP / TEST_BEFORE_USE / REPRINT) on a specific resource (a part deviated from design or repaired), compared feature by feature plus a load-bearing safety re-check. An agent can tell exactly what it returns. It stops short of naming how it differs from sibling checks like check_cantilever, even though the beam sub-check overlaps that tool.

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?

The trigger condition is explicit: a part that came out, or was repaired, different from its design. No when-not-to-use case and no alternative tools are named, so the agent must infer that pristine parts need no check.

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