Skip to main content
Glama

set_animated_door

Mark objects or free-standing portals as Animated Doors or update their hinge, swing, animation and state. Requires the Animated Doors mod; wall-mounted doors are rejected.

Instructions

Mark objects or free-standing portals as CePeU's Animated Doors, or change them.

Needs the Animated Doors mod (ping reports animated_doors); refused
without it. Its own Export window writes the animated Universal VTT;
export_dd2vtt does not carry the animation.
Only objects and free-standing portals on the current level can be doors.
A wall-mounted door cannot: an opening door would show the wall under it.
Leave a gap in the wall and place the door in it with
add_portal(mount='free', rotation=...) or place_object.
enabled: true declares a door, using the mod's defaults for anything not
given; false removes it and takes no other setting. Other settings change
declared doors only.
hinge: 'a' or 'b', the end it turns on (a: left or top edge of the
unrotated image). swing: 'left' or 'right'. axis: 'width' or 'height', the
image axis along the door. door_type: 'door', 'secret' or 'window'.
animation: swing, slide, swivel, ascend or descend. state: 'closed',
'open' or 'locked' (exported start state; the art does not move).
double_door: two leaves. extension: 0-180, 90 is normal strength.
hinge_offset_a/_b: crop inward from each end, in woxels.
One undo step for all ids; all are checked before any changes.
get_element(id) reports animated_door. duplicate_object copies it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ids": "<ids>"
    },
    "name": "set_animated_door"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
axisNo
hingeNo
stateNo
swingNo
enabledNo
animationNo
door_typeNo
extensionNo
double_doorNo
hinge_offset_aNo
hinge_offset_bNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.8/5.0
Behavior5/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: it discloses the mod prerequisite and refusal behavior, that all ids are validated before any change is applied, that the operation is a single undo step, that enabled:false removes a door while other settings only affect already-declared doors, and how get_element and duplicate_object interact with the result. These are non-obvious mutation semantics an agent could not infer from the schema.

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?

Purpose and prerequisite are front-loaded, and the dense parameter block earns its space given zero schema coverage. The telegraphic fragment style ('hinge: 'a' or 'b', the end it turns on') is efficient but ungrouped, making the long parameter run harder to scan than a lightly structured list would be.

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 12-parameter mutation tool with no annotations and no output schema, the definition covers prerequisites, validity constraints, atomicity, undo behavior, and side effects on other tools. The gaps are that the meaning of 'ids' is left implicit and there is no statement of what the call reports back on success or partial validation failure.

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% and no parameter has enums, so the description must supply all value semantics — and it does for enabled, hinge, swing, axis, door_type, animation, state, double_door, extension (0-180 with 90 as normal), and both hinge offsets, including the 'a: left or top edge of the unrotated image' reference frame. The only shortfall is that 'ids' is never defined as element ids or noted as capped at 100, though 'One undo step for all ids' implies the multi-id behavior.

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?

States a specific verb and resource ('Mark objects or free-standing portals as CePeU's Animated Doors, or change them') and names the scope: objects and free-standing portals on the current level. It also explicitly separates itself from export_dd2vtt ('does not carry the animation'), so an agent can tell which tool writes the animated VTT.

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?

Gives explicit when-not guidance with a reason and a remedy: a wall-mounted door cannot be used because an opening door would show the wall under it, so leave a gap and use add_portal(mount='free', rotation=...) or place_object instead. It also states the prerequisite (the Animated Doors mod, verifiable via ping) and that the tool is refused without it.

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

Deploy Server

Other Tools