Skip to main content
Glama

add_safety_profile

Add a validated community safety profile for a printer model, enabling users to contribute custom safety limits for printers not in the built-in database.

Instructions

Add a community safety profile for a printer model.

        Validates the profile and saves it to the user-local community
        profiles file (``~/.kiln/community_profiles.json``).  Community
        profiles take precedence over bundled profiles, allowing users to
        contribute limits for printers not in the built-in database.

        Args:
            printer_model: Short identifier for the printer (e.g.
                ``"my_custom_corexy"``).
            profile: Dict containing at least ``max_hotend_temp``,
                ``max_bed_temp``, ``max_feedrate``, and ``build_volume``
                (a list of 3 positive numbers ``[X, Y, Z]``).  Optional
                fields: ``display_name``, ``max_chamber_temp``, ``min_safe_z``,
                ``max_volumetric_flow``, ``notes``.
        

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileYes
printer_modelYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool validates and saves to a local file, and gives the file path. However, it does not mention whether it overwrites existing profiles, error conditions (e.g., validation failure, file lock), or permission requirements. The behavioral disclosure is incomplete.

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 well-structured with a clear summary sentence, a paragraph on file and precedence, and a parameter list in a common docstring format. It is concise with no extraneous content, and the most important information is front-loaded.

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 complexity (nested object, no annotations, no output schema), the description covers purpose, parameters, and file behavior. However, it lacks details on return value, error handling, duplicate handling, and prerequisites. Completeness is adequate but has notable gaps.

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

Parameters5/5

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

The schema has 0% coverage, so the description fully compensates. It details the 'printer_model' parameter with an example, and for 'profile' it lists all required and optional fields with types and a specific format for 'build_volume'. This adds significant meaning beyond the minimal schema.

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 tool adds a community safety profile for a printer model. It specifies the verb 'add' and the resource 'safety profile', and distinguishes from siblings like 'list_safety_profiles' by mentioning that community profiles take precedence over bundled ones. The purpose is specific and unambiguous.

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 provides context by stating that community profiles allow users to contribute limits for printers not in the built-in database, implying when to use. However, it does not explicitly state when not to use this tool or provide alternatives (e.g., editing an existing profile). Guidance is implicit rather than explicit.

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