Skip to main content
Glama

place_at_pixel

Destructive

Move an object so an anchor point on its box aligns with an image pixel using a camera ray, placing parts where a photo shows them while keeping size and rotation.

Instructions

Move an object so that a point of its box lands where a picture pixel points. anchor is the point of the box of the object with its children as fractions (0.5, 0.5, 0 is the middle of the bottom). pixel is [x, y] in a picture of image_size [width, height], y down. With plane_z the ray from camera hits that horizontal plane. Without it the ray stops on the first surface of the scene (the object itself is ignored) and, if there is none, on the plane at the bottom height of the object. It only moves: size and rotation stay. Returns the description of the object and what it was placed on. Use it to put parts where the photo shows them, after match_camera. Without a photo use attach, move_to_contact or place_on.

Input Schema

NameRequiredDescriptionDefault
pixelYes
anchorNo
cameraYes
objectYes
plane_zNo
image_sizeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.7/5.0
Behavior4/5

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

With annotations already declaring readOnlyHint=false and destructiveHint=true, the description still adds real behavior: the ray-cast fallback chain (plane_z, first scene surface with the object ignored, then the object's own bottom plane), and that size and rotation are preserved. It also discloses the return payload. The destructiveHint=true label is not reconciled with an operation framed as pure translation, which is a small gap, but nothing is contradicted.

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?

Front-loaded with the action, then parameters, then output, then usage — a sensible order. The plane_z sentence is dense and takes a second read, but no sentence is padding; it is verbose without being wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter mutation with no output schema, the description covers behavior, coordinate conventions, fallback semantics, the return value, and sibling routing. Nothing an agent needs to invoke it correctly is missing.

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?

Schema description coverage is 0%, so the description carries the full burden and does: it defines the anchor fraction convention with a default example, pixel as [x, y] with y down, image_size as [width, height], and plane_z as the plane the camera ray intersects. That is the substantive semantics an agent needs for all six parameters.

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 first sentence names a specific verb and effect ('Move an object so that a point of its box lands where a picture pixel points'), and the closing line explicitly separates it from siblings (attach, move_to_contact, place_on, match_camera). An agent can distinguish this from the other placement tools without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the positive precondition ('after match_camera', 'where the photo shows them') and the negative case with named alternatives ('Without a photo use attach, move_to_contact or place_on'). Routing is fully explicit.

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