Skip to main content
Glama
baktubak
by baktubak

ap_object_set_transform

Set an object's position, rotation, or scale in ArmorPaint, rebuilding its transform matrix. Accepts XYZ Euler rotation in degrees; omitted components remain unchanged.

Instructions

Set an object's location, rotation and/or scale, then rebuild its matrix. Rotation is given as XYZ Euler angles in DEGREES and converted to the quaternion the engine wants. Omitted components are left alone. ArmorPaint's world is Z-up.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesObject name.
scaleNoScale [x, y, z].
locationNoWorld location [x, y, z].
rotation_euler_degreesNoXYZ Euler rotation in degrees.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations at all, the description carries the disclosure burden and does well: it warns that rotation is in degrees, states conversion to quaternion occurs, says omitted components are left alone, and notes the world is Z-up. It doesn't mention whether the operation is destructive or requires any state, but for a transform setter the core behavioral traits are disclosed. The 'rebuild its matrix' note gives useful insight into internal effect.

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?

Three sentences, no filler. The most important information (what it does, degrees, omitted-left-alone, Z-up) is front-loaded and each sentence earns its place. The structure leads with the verb and resource, then flags the critical unit/conversion detail, then the omission behavior, then the coordinate-space note.

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 transform setter with 1 required param and 3 optional arrays, the description covers the core usage context. It tells you the coordinate system, the rotation convention, and the omission behavior. It doesn't discuss what the return value is, but there is no output schema and it's not essential for invoking a transform setter. It doesn't mention whether the object must exist, but the parameter description for name plus the tool family context makes that obvious. A half-point deduction for lacking any note about error cases or prerequisites.

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 description coverage is 100%, and the parameter descriptions are mostly self-explanatory. The description adds value to rotation_euler_degrees by specifying degrees and conversion, and clarifies semantics of omitted arrays. However, scale and location parameter meanings ('World location', 'Scale') are already in the schema, so the description doesn't add much beyond the schema baseline.

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 states a clear verb-object pair ('Set an object's location, rotation and/or scale, then rebuild its matrix'), names the specific resource (an object's transform), and includes a distinctive detail that differentiates from siblings like ap_object_set_visible and ap_get_object: rotation is provided as XYZ Euler degrees and converted internally. It also clarifies omissions are left alone, which disambiguates it from a tool that might reset all components.

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

Usage Guidelines4/5

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

The description implicitly tells when to use it: when you need to set transform components of an object, leave unspecified components untouched, and want the matrix rebuilt. It doesn't explicitly state when not to use it or name alternatives, but the sibling set is large and mostly about other concerns (paint, materials, nodes, files), so the context is clear enough. Losing a point because there is no explicit exclusion or alternative pointer.

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

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/baktubak/armorpaint-mcp'

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