Skip to main content
Glama

Move token

move-token
Idempotent

Reposition a token on a Foundry VTT scene by specifying pixel coordinates. Optionally animate the movement; target the active scene or provide a scene identifier.

Instructions

Put a token at a new position on the active scene (or the scene in sceneIdentifier). x and y are scene pixels of the top left corner of the token; grid, walls and scene bounds are not checked. With animate the token glides there, otherwise it jumps. The answer gives the position Foundry stored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYesX in scene pixels
yYesY in scene pixels
animateNoAnimate the movement (default false)
tokenIdYesId of the token on that scene, as get-current-scene lists it. Not a name, not an actor id.
sceneIdentifierNoScene of the token, by id or name. Without it the scene that is active for everyone is used; every answer names the scene.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv14.2609.4

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that grid, walls and scene bounds are not checked, animation vs. instant jump behavior, and that the answer reports the position Foundry actually stored. This gives an agent the non-obvious side effects of the call.

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 short sentences front-load the core action and then add scoping, coordinate semantics, caveats, animation behavior, and return behavior. No filler or repetition of schema text.

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 simple 5-parameter positioning tool without an output schema, the description covers the required coordinate semantics, optional scene resolution, coordinate caveats, animation behavior, and return value. An agent has everything needed to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already documents all parameters at 100% coverage, but the description adds meaning: x/y denote the token's top-left corner in scene pixels, position is not validated against grid/walls/bounds, and animate means gliding instead of jumping. This is useful clarification on top of the schema, though not every parameter is re-explained.

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 the operation ('Put a token at a new position') and its target resource (token on the active scene or sceneIdentifier). This clearly distinguishes move-token from sibling update-token and set-targets.

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 gives clear context: tokens are placed in scene pixels, the scene defaults to the active one unless sceneIdentifier is supplied, and x/y are top-left coordinates. It does not explicitly name alternative tools or state when not to use it, so it falls just short of a 5.

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