Skip to main content
Glama
FlashForge MCP

FlashForge MCP

by ildargiv

flash_memory

Store and apply local, opt-out printing preferences, material habits, print outcomes, and corrections to personalize future FlashForge slicing decisions.

Instructions

Local, opt-out memory of the user's printing preferences and history. Status shows learned defaults, per-printer habits, materials, recent prints and corrections. set stores an explicit preference (defaultMachine, defaultMaterial, quality, supports, brim, infill, temps). learn attaches free-form facts to a printer or material. feedback marks a print success/failed/partial, adds notes and records corrections (e.g. supportTopZDistance=0.3 after supports fused) that later advise calls use. forget removes entries; export/import move the profile between machines. Stored at ~/.flashforge-mcp/memory.json; disable with FLASHFORGE_MCP_NO_MEMORY=1.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "flash_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoforget: entry to remove (printer name, material, print id).
fileNoexport/import: JSON file path.
noteNofeedback: why the correction was needed.
pathNoset: dotted path, e.g. "profile.defaultMaterial" or "profile.temps.petg.nozzle".
notesNolearn/feedback: free-form facts, e.g. "supports fused at 0.26 mm gap".
printNofeedback: "last" (default), 1-based index, or part of the output/mesh name.
valueNoset: value for `path`.
actionNostatus
ratingNofeedback: optional quality rating.
valuesNoset: object of profile keys to values, e.g. {"defaultMaterial":"petg","brim":"auto"}.
confirmNoforget section=all requires confirm: true.
machineNolearn: printer to attach facts to.
outcomeNofeedback: how the print actually ended.
sectionNoget/forget: profile|printers|materials|prints|corrections|all.
materialNolearn: material to attach facts to (pla, petg, abs...).
correctionsNofeedback: settings that fixed a problem, e.g. {"supportTopZDistance":0.3}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the storage path (~/.flashforge-mcp/memory.json), the opt-out env var, that `forget` removes entries, and that `forget section=all` is guarded. It does not describe reversibility beyond removal, concurrency/locking on the local file, what happens when an unknown key or missing print is referenced, or whether feedback mutates an existing record.

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?

Front-loads the identity of the memory store, then dispatches action-by-action in a fixed verb-first pattern, ending with storage location and the disable switch. It is dense and backtick-heavy but essentially every clause carries a distinct fact; the only cost is that action semantics are packed into one paragraph rather than separated.

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, 8-action tool with no annotations and no output schema, the description covers identity, per-action semantics, persistence location, and an opt-out switch. Remaining gaps are response shape for `status`/`get` and failure behavior, which are lower risk since no output schema exists to contradict.

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 coverage is 94% and each parameter is already documented with its owning action, so the baseline is 3. The description adds real grouping value by listing the preference keys `set` accepts (defaultMachine, defaultMaterial, quality, supports, brim, infill, temps) and by illustrating the correction pattern (supportTopZDistance=0.3 after supports fused), which clarifies intent of the `corrections` object beyond its schema text.

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 resource ('local, opt-out memory of the user's printing preferences and history') and then enumerates every action verb (status, set, learn, feedback, forget, export/import) with what each does. It also ties itself to a sibling by noting corrections 'later advise calls use', so an agent can tell this is the persistence layer rather than flash_advise or flash_profiles.

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?

Gives clear per-action context: `set` for explicit preferences, `learn` for free-form facts bound to a printer or material, `feedback` for recording print outcomes and corrections, `forget` for removal. It stops short of explicit exclusions or precedence rules (e.g. whether `set` overrides a learned default, or when to prefer `learn` over `set` for the same fact).

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