Skip to main content
Glama

analyze_gcode_metadata

Extract structured metadata including print time, filament usage, cost, and layer information from G-code files for analysis and planning.

Instructions

Parse metadata (estimated time, filament usage, cost, layers) from a G-code file and return structured JSON.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesG-code filename (in work directory).
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool parses metadata and returns JSON, but lacks details on error handling (e.g., invalid file), performance (e.g., processing time), or side effects (e.g., file access). This leaves gaps for a tool that reads and processes files.

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?

The description is a single, efficient sentence that front-loads the core action ('parse metadata') and includes all essential details (target, output, metadata types). There is no wasted verbiage, making it highly concise and well-structured.

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?

Given the tool's moderate complexity (file parsing), no annotations, and no output schema, the description is minimally adequate but incomplete. It covers the purpose and output format but lacks behavioral context (e.g., errors, limitations) and detailed usage guidelines, which are needed for a tool with file operations.

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 the schema already documents the 'file' parameter as a G-code filename in the work directory. The description adds no additional parameter semantics beyond what the schema provides, such as file format requirements or examples, meeting the baseline for high schema coverage.

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?

The description clearly states the specific action ('parse metadata'), the target resource ('G-code file'), and the output format ('structured JSON'), distinguishing it from siblings like slice_model or list_profiles. It explicitly lists the types of metadata extracted (estimated time, filament usage, cost, layers), making the purpose 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?

The description provides no guidance on when to use this tool versus alternatives like slice_model or search_settings, nor does it mention prerequisites (e.g., file must exist in work directory) or exclusions. Usage is implied by the action but not explicitly contextualized relative to sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/itsumonotakumi/orcaslicer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server