Skip to main content
Glama

get_snap_settings

Reports the user's Dungeondraft snap settings and grid geometry (square, hex, isometric), so placement tools can match or bypass snapping and coordinates land where intended.

Instructions

Report the grid the user snaps to. Read-only.

Dungeondraft's snapping (and the Custom Snap Mod's square or hex grid)
moves the MOUSE, so coordinates you pass are placed exactly as given.
Placement tools take `snap` to match the user's grid instead:

  'none'  place exactly where asked. Pass it only when the user asks for
          exact coordinates; otherwise leave snap out, and the user's
          Placements choice in Dungeondraft's Battlemap MCP Bridge panel applies.
  'auto'  snap to the Custom Snap Mod's grid when the user has snapping
          on and the mod enabled - where their own cursor would land.
          Otherwise nothing moves, and the reply says why.
  'grid'  snap to the mod's grid if it is enabled, else to the grid
          Dungeondraft's own tool uses: the tile (256) for walls, rooms,
          lights, moves and prefabs, the half tile (128) for objects,
          doors and windows, paths and copies. Ignores the S toggle.

Returns vanilla_snapping, mod_loaded, mod_enabled, preset, `placements`
(the panel's default for an omitted snap, with a note on using it) and `grid`
(geometry square/hex_h/hex_v/isometric, interval, offset, radial mode).
Isometric snaps as horizontal hex where the mod does (snaps_like), and is
otherwise reported and never applied.
On a hex map, build on that lattice and say so. Never change the user's
snap settings; they are theirs.

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": "get_snap_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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 so: it declares the operation read-only, specifies that it must never mutate the user's snap settings, enumerates the returned fields, and explains edge behaviors such as isometric maps being reported but never applied and hex maps requiring building on the reported lattice. That is behavior well beyond the empty 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?

The purpose and read-only note are front-loaded, and the enumerated 'none'/'auto'/'grid' block is scannable. It runs long for a zero-parameter getter, and the material about placement tools is arguably beyond this tool's scope, but each section still informs correct use.

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?

There is no output schema, yet the description names the return fields (vanilla_snapping, mod_loaded, mod_enabled, preset, placements, grid with its geometry/interval/offset/radial details). For a simple read-only getter with no parameters, nothing an agent needs in order to call or interpret it is missing.

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 tool takes zero parameters, so parameter semantics baseline at 4. The description does add meaning about the `snap` values consumed by sibling placement tools, which is useful context even though it does not describe this tool's own inputs.

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?

Opens with a specific verb and resource ("Report the grid the user snaps to") plus its read-only nature. It distinguishes itself explicitly from placement tools, which take a `snap` argument, so an agent can tell what this tool does and does not do without consulting siblings.

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 concrete when-to-use rules for each downstream `snap` value: pass 'none' only when the user asks for exact coordinates, otherwise omit snap and let the panel default apply; use 'auto' and 'grid' under described conditions. It also states an explicit exclusionary rule: never change the user's snap settings.

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