Skip to main content
Glama
FlashForge MCP

FlashForge MCP

by ildargiv

flash_info

Parse an existing .gcode file to report printer model, print time, layers, filament usage, temperatures, and file size so you can verify settings before printing.

Instructions

Parse an existing .gcode and report: printer model, estimated time, layers, filament used (mm / cm3 / g), support/brim material, infill, nozzle/bed temps, vase mode, file size.

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": {
      "file": "<file>"
    },
    "name": "flash_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesPath to a .gcode file, relative to the current directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; 'parse' and 'report' strongly imply a read-only operation, and the field list tells the agent what comes back. It does not disclose failure behavior on malformed or non-gcode files, whether it shells out to a parser, or whether the report is text or structured data.

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

Conciseness5/5

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

One sentence, verb-first, with the return payload enumerated compactly. Every clause carries information an agent needs and nothing is padded.

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?

There is no output schema, and the description compensates by enumerating the reported fields (model, time, layers, filament in three units, support/brim, infill, temps, vase mode, size). The main residual gap is error/edge-case behavior for invalid files.

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 coverage is 100% and the single 'file' parameter is fully documented as a path relative to the current directory, so the schema does the heavy lifting. The description only reinforces that the file must be an existing .gcode; it adds no path-resolution or format detail beyond that.

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 verb ('parse') and a specific resource ('an existing .gcode') plus an enumerated list of what it reports, so the agent knows this is a metadata-reader, not a slicer. It does not name any sibling (e.g., flash_slice or flash_analyze) to sharpen the boundary, so it stops short of 5.

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 word 'existing' implies the file must already be sliced, which is a usable contextual cue, but there is no explicit when-to-use statement, no exclusion ('not for slicing'), and no named alternative for related tasks.

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