Skip to main content
Glama

translate_elements

Move canvas elements by a delta, including bound labels, group members, frame children, and fully connected arrows. Refuses elements drawn by other active agents unless forced.

Instructions

Move elements by a delta, carrying everything that must travel with them: each element's bound label, every other member of a group the ids belong to, the children of a moved frame, and any arrow bound at both ends to elements that are moving. An arrow bound at one end is re-attached to the moved shape instead of moved, and reported on its own line. Each element moves exactly once however many ways the closure reaches it. The result reports how many moved and which ids the closure added. An element another agent in the room drew is left alone and reported as refused unless force is true; a person's elements and those of an agent that has left are never guarded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dxYesHorizontal delta in scene pixels; positive is right.
dyYesVertical delta in scene pixels; positive is down.
idsYes
forceNoEdit elements another agent in the room drew anyway. Without it those ids are skipped and reported as refused, so the agent still working on them keeps a true picture of the scene.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it spells out the closure rule, arrow re-attachment vs re-binding, the exactly-once invariant, result reporting, and the concurrency guard with its two exemptions (person's elements, departed agents). It omits permission/auth requirements and any failure modes beyond refusal, which keeps it from a 5.

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 core action is front-loaded in the first clause, and the following sentences each add a distinct rule (closure, arrows, single-move, reporting, refusal). It is dense near the limit of readability but no sentence is redundant.

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 4-parameter mutation tool with no annotations and no output schema, the description covers the non-obvious behavior and even describes the return content (count moved, closure-added ids, refusal lines). Gaps are limited to permissions and error semantics.

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 coverage is 75% (dx, dy, force documented), so the baseline is 3. The description reinforces what force means and why the guard exists, and implicitly explains what the ids represent (groups, frames, bound arrows), but adds no syntax or format detail beyond the schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Move elements by a delta') and immediately characterizes the operation through its closure semantics, so an agent can tell it is a geometric transform rather than a generic mutation. It never names a sibling like update_elements to draw the boundary explicitly, so it falls short of full differentiation.

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 its use case (relocating elements together with everything bound to them) and gives a concrete condition for the force flag, but it never states when to prefer this tool over update_elements or add_elements/delete_elements. The alternative-selection guidance is left to inference.

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