Skip to main content
Glama

set_material

Set the filament material loaded in a 3D printer, including material type, color, spool ID, and tool index for multi-tool printers.

Instructions

Record which filament material is loaded in a printer.

Args:
    printer_name: Target printer name.
    material: Material type (PLA, PETG, ABS, etc.).
    color: Optional filament color.
    spool_id: Optional ID of a tracked spool.
    tool_index: Extruder index for multi-tool printers (default 0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNo
materialYes
spool_idNo
tool_indexNo
printer_nameYes
Behavior2/5

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

With no annotations, the description carries full burden but only says 'Record', which implies a non-destructive update. It fails to disclose whether this triggers printer actions, requires authentication, or overwrites existing 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?

Extremely concise with one line of purpose and a bullet list for parameters. No redundant information, efficiently structured for quick parsing.

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 no annotations and no output schema, the description explains inputs but not outcomes (e.g., return value, side effects, validation checks). For a tool with 5 parameters, this is adequate but not thorough.

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?

Args section explains each parameter (e.g., material is 'Material type (PLA, PETG, ABS, etc.)', tool_index is 'Extruder index for multi-tool printers (default 0)'), adding meaning beyond the schema's property names. However, lacks enums or format details.

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?

Description clearly states 'Record which filament material is loaded in a printer', providing a specific verb and resource. This distinguishes it from sibling tools like get_material or set_temperature.

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?

No guidance on when to use this tool versus alternatives, such as get_material or add_spool. No prerequisites or exclusions mentioned, leaving the agent without context for tool selection.

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/codeofaxel/kiln'

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