Skip to main content
Glama

center_model_on_bed

Center a 3D model on the build plate and lower it to z=0, ensuring accurate placement for printing. Specify the STL file and bed dimensions to automatically reposition the mesh with a preview in an interactive 3D stage.

Instructions

Center a mesh on the build plate and place at z=0.

        Translates the model so it sits centered on the bed with its
        lowest point touching the build plate.

        :param file_path: Path to the STL file.
        :param bed_x_mm: Build plate X dimension (default 256).
        :param bed_y_mm: Build plate Y dimension (default 256).
        :param printer_id: Optional supported printer model id.  When
            provided, printer intelligence supplies the bed size.
        :param output_path: Output path (defaults to overwriting input).
        :returns: Dict with translation applied.

INLINE 3D STAGE: on success this tool also opens Kiln's interactive 3D stage — an inline viewer panel the user can orbit, zoom, and turn over — in hosts that render MCP Apps panels (Kiln's hosted connection attaches a browser stage link for hosts that don't). Oversized meshes are decimated automatically for the stage; the PNG preview is the floor, not the whole experience.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bed_x_mmNo
bed_y_mmNo
file_pathYes
printer_idNo
output_pathNo
Install Server

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the transparency burden and does a solid job: it discloses the transformation applied, the output_path default of overwriting the input, the return value, and the inline 3D stage side effect. It falls short only of explaining failure/edge-case behavior such as what happens for meshes larger than the bed.

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 front-loaded with a clear summary, followed by structured parameter documentation and a useful inline-stage note. The only minor redundancy is that the second sentence restates the first, but overall every section earns its place.

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?

Given the moderate complexity, lack of annotations, and absence of an output schema, the description is largely complete: it covers purpose, all parameters, defaults, return value, and a notable side effect. It could be more complete by describing conflict behavior between printer_id and explicit bed dimensions, but it is sufficient for safe invocation.

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 no descriptions, but the tool description documents every parameter with meaning: file_path is the STL file, bed_x_mm and bed_y_mm are build plate dimensions with defaults, printer_id optionally supplies bed size via printer intelligence, and output_path defaults to overwriting the input. This fully compensates for the 0% 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 opens with a specific verb and resource: 'Center a mesh on the build plate and place at z=0.' It clearly defines the operation and its effect, distinguishing it from sibling tools like rotate_model or auto_orient_model by focusing on horizontal centering and z=0 placement.

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 about when to use this tool versus alternatives such as auto_orient_model, rescale_model, or rotate_model. The description implies its use case through its purpose, but it does not state when-not-to-use it or mention alternative tools.

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

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