Skip to main content
Glama
JSCodesTech

snapmaker-u1-mcp

by JSCodesTech

u1_analyze_gcode

Analyze a generated G-code file to validate slicing parameters and material settings, ensuring the output is ready for printing.

Instructions

Analyze a generated G-code file under U1_OUTPUT_DIR.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gcodeYes
requested_materialNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It only says 'Analyze', which implies a read-only operation, but it does not state whether the file must already exist, what the tool returns, whether any state changes occur, or what side effects might result.

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 description is a single concise sentence with no filler, and the key action 'Analyze' appears first. It earns its place, though it is perhaps too terse to fully inform an agent.

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

Completeness2/5

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

With no annotations, no output schema, and two parameters, the description leaves several important gaps: return value shape, parameter semantics, and conditions under which the tool is appropriate. An agent could guess the basic intent but would not know how to confidently invoke it or interpret results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description adds little about the parameters. It implies that the gcode parameter references a generated file under U1_OUTPUT_DIR, but it does not explain the expected format of that value or the meaning and effect of requested_material.

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 identifies a specific action ('Analyze') applied to a specific resource ('a generated G-code file') with a location qualifier ('under U1_OUTPUT_DIR'), making the core purpose understandable. It does not, however, specify what kind of analysis is performed or how it differs from sibling tools like compare_slices or smoke_slice.

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 explicit guidance on when to use this tool versus alternatives, no exclusions, and no mention of prerequisites such as having already run u1_slice. The word 'generated' implies it should be used after slicing, but that is left to inference.

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