Skip to main content
Glama

get_recovery_recommendations

Read-only

Returns a history-based recovery strategy for a specified 3D-printing failure type, optionally calibrated by saved goal, printer, and material.

Instructions

Return the historically best recovery strategy (Pro).

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": {
      "failure_type": "<failure_type>"
    },
    "name": "get_recovery_recommendations"
  }
}

Input Schema

NameRequiredDescriptionDefault
goal_idNoOptional saved-goal id from ``design_session`` (or auto-attached at REST dispatch). Surfaces the design's duty / environment / safety so the recovery recommendation can be calibrated to the goal. Default: "".
failure_typeYese.g. ``"adhesion_failure"``, ``"layer_shift"``, ``"filament_runout"``.
printer_nameNoOptional printer filter. Default: "".
material_typeNoOptional material filter (``"pla"``, ``"petg"``, etc.). Default: "".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.6.0
    • removedInput schema / properties / brief_id
      Removed value: -{
      -  "description": "Optional saved-goal id from ``design_session`` (or auto-attached at REST dispatch).  Surfaces the design's duty / environment / safety so the recovery recommendation can be calibrated to the goal. Default: \"\".",
      -  "title": "Brief Id",
      -  "type": "string"
      -}
    • addedInput schema / properties / goal_id
      Added value: +{
      +  "description": "Optional saved-goal id from ``design_session`` (or auto-attached at REST dispatch).  Surfaces the design's duty / environment / safety so the recovery recommendation can be calibrated to the goal. Default: \"\".",
      +  "title": "Goal Id",
      +  "type": "string"
      +}
  2. Addedv1.5.1

TDQS

B3.2/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 only '(Pro)' (an implied tier gate) and 'historically best' (implies recommendation derives from past outcomes), but does not say what happens without a Pro entitlement or when no history exists for the given failure_type — a meaningful gap for a recommendation tool.

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 front-loaded sentence with no filler. It is efficient, though the parenthetical '(Pro)' is terse to the point of ambiguity and could be clarified in the same space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With annotations, a fully described schema and no output schema, most of the burden is already carried by structured fields. Still, the description leaves open what the returned recommendation contains versus get_recovery_plan, and how tier gating or absent historical data are handled, which an agent needs to call this correctly.

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%, with each of the four parameters (goal_id, failure_type, printer_name, material_type) documented in the schema itself. The description adds no filtering or format detail beyond that, so the baseline 3 applies.

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 states a specific verb and resource ('Return... recovery strategy') plus a distinguishing qualifier ('historically best'), so an agent can tell it apart from a planning tool like get_recovery_plan or a stats tool. It stops short of explicitly naming the sibling it differs from, and '(Pro)' is unexplained, but the core purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites beyond the cryptic '(Pro)' token, and no routing to alternatives such as get_recovery_plan if a fresh plan (rather than a historical one) is wanted. Usage must be inferred entirely from the name and description.

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