Skip to main content
Glama
Noosbai
by Noosbai

Post-traiter un G-code

postprocess_gcode

Modify existing G-code files to insert layer-specific actions like pauses, filament changes, temperature adjustments, or custom commands without overwriting the original file.

Instructions

Modifie un fichier G-code existant pour insérer des actions : pause à une couche, changement de filament (M600), changement de température, ou commande custom. Crée un nouveau fichier sans écraser l'original.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gcode_pathYesChemin du fichier G-code à modifier
actionsYesListe d'actions à insérer
output_pathNoChemin de sortie (sinon _modified.gcode)
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: it modifies files, creates new output files without overwriting originals, and supports specific action types. However, it doesn't mention error handling, file format requirements, or what happens with invalid inputs.

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?

Two concise sentences that are front-loaded with the core purpose and key behavioral detail (non-destructive output). Every word earns its place with no redundancy or unnecessary elaboration.

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 mutation tool with no annotations and no output schema, the description provides good coverage of what the tool does and its non-destructive nature. However, it doesn't describe the output format or potential error conditions, leaving some gaps in understanding the complete behavior.

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 all parameters thoroughly. The description adds minimal value beyond the schema by mentioning the four action types, but doesn't provide additional context about parameter interactions or usage patterns. Baseline 3 is appropriate when schema does the heavy lifting.

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 ('modifies an existing G-code file') and resource ('G-code file'), listing four distinct modification types (pause, filament change, temperature change, custom command). It distinguishes this tool from siblings like 'slice_prusaslicer' or 'analyze_mesh' by focusing on post-processing rather than creation or analysis.

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 description implies usage when needing to insert specific actions into G-code files, but provides no explicit guidance on when to use this versus alternatives like 'slice_prusaslicer' (which might generate G-code with built-in features) or 'print_wizard' (which might guide overall printing). No exclusions or prerequisites are mentioned.

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/Noosbai/PrusaMCP'

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