Skip to main content
Glama

place_objects

Place multiple map objects at exact positions in one batch, checked and rolled back as a single undo step. Use for deliberate layouts like rows of tables or a furnished bar.

Instructions

Place many objects at chosen positions in ONE call and ONE undo step.

Use it whenever you know where several things go: a row of tables, the
dressing on a bar, eight trees ringing a clearing. Each entry takes the
same arguments as place_object and behaves identically.

`scatter_objects` is for RANDOM arrangement over an area; this is for
deliberate positions.

Up to 100 entries in `objects`. Every asset is checked before anything is
placed, and if one entry fails the whole batch is rolled back, so the map
never holds a half-finished batch whose ids you were not told.

file: an absolute path to a JSON file of the same entries (a list, or
  {"objects": [...]}), up to 1000. Use it when a script computed the
  positions: write the file and pass its path instead of copying hundreds
  of entries into the call. The reply is compact: `placed`, `id_ranges`
  ([first, last] runs of ids) and `colorable_without_color`.

Returns `objects`: one {id, position, layer} per entry, in the order you
passed them (with `light_id` for an entry that has a `light`), plus `ids`.
Entries placed from a colourable asset with no color are listed in the
note: those are flat red, and colour cannot be added afterwards. Give each
one a color that suits it; if nothing fits better, Dungeondraft's own
default is #6b3834.

One undo() reverses the whole batch while it is the latest operation.
snap applies to every entry with an x and y; see get_snap_settings.

A batch placed entirely at scale 1.0 on quarter turns comes back with an
`arrangement_note`: most placements read better with slight variation.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "place_objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
snapNo
objectsNo

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?

No annotations are supplied, so the description carries the full burden and does: atomic validation and whole-batch rollback on a single failure, the 100-entry inline cap versus 1000 via file, and one undo() reversing the batch only while it is the latest operation. It also discloses non-obvious side effects — colorless colourable assets come back in `colorable_without_color` as flat red and cannot be recolored afterward — plus the `arrangement_note` for uniform scale/rotation batches.

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 core value proposition and organized into short paragraphs covering limits, file mode, return shape, undo, and snap. It is on the long side, and the palette advice ('Dungeondraft's own default is #6b3834') and the closing arrangement_note paragraph are marginally beyond the minimum, though both are actionable.

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?

With no output schema, the description supplies the return contract itself: `objects` as {id, position, layer} in input order with `light_id` where applicable, plus `ids`, `id_ranges` and `colorable_without_color` for file mode. Limits, atomicity, undo scope, and snap behavior round out everything needed to call this batch mutation 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?

Schema description coverage is 0%, yet the description meaningfully explains all three top-level params: `objects` (up to 100 entries, each taking place_object's arguments and behaving identically), `file` (absolute path, accepts a bare list or {"objects": [...]}, up to 1000, intended when a script computed positions), and `snap` (applies to every entry with x and y, deferring to get_snap_settings). The per-entry fields themselves (x, y, asset, color, layer, light, scale, rotation) are only implied via the place_object reference, which is the remaining gap.

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?

A specific verb plus resource ('Place many objects at chosen positions in ONE call and ONE undo step') with the batch scope stated up front. It explicitly distinguishes itself from both siblings: `scatter_objects` for random arrangement and `place_object` for the single-object case, so an agent can route 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?

It gives concrete when-to-use triggers ('a row of tables, the dressing on a bar, eight trees ringing a clearing'), names the alternative and the condition that selects it (`scatter_objects` is for RANDOM arrangement; this is for deliberate positions), and explains when to switch to the `file` variant instead of inlining entries.

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