Skip to main content
Glama

set_map_style

Set map-wide building wear and grid line styles as one undoable edit, with omitted fields keeping current values for safe map finishing.

Instructions

Set optional finishing effects across the map, as one undoable edit.

building_wear: none, dust, grime, noise, scratched. Applies to building
  floors/walls across every level; use only when that global effect fits.
grid_style: dashes, dotted, narrow_line, thick_line. Changes the grid's
  line pattern, not whether the grid is visible or included in an export.

Omitted fields keep their current values. Both fields are validated before
editing, and the response reads actual world textures. Use get_map_style
before changing a map and inspect a screenshot/export afterwards. Undo and
redo restore both values together, even after switching levels.

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

Input Schema

NameRequiredDescriptionDefault
grid_styleNo
building_wearNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.7/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: the edit is a single undoable unit, omitted fields retain current values, both fields validate before any mutation, the response reads actual world textures, and undo/redo restore both values together even after level switches. Those are exactly the atomicity and persistence traits an agent needs before a write.

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 operation, then per-field definitions, then partial-update and undo semantics — a logical order an agent can scan. The closing paragraph packs several distinct facts into one long sentence, which is dense but every clause carries information; only minor tightening is possible.

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?

Two optional parameters, no output schema, no annotations — a profile where the description must do all the work, and it covers value sets, default-by-omission behavior, validation timing, atomicity, undo/redo interaction, and post-change verification. Nothing an agent needs to call this correctly is missing.

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 the schema declares no enums, so the description must supply the value space — and it does, listing none/dust/grime/noise/scratched for building_wear and dashes/dotted/narrow_line/thick_line for grid_style. It also explains that both are optional and that omission means 'keep current value', plus the scope of building_wear (floors/walls across every level).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Set optional finishing effects across the map') and enumerates the two effects it governs. It implicitly separates itself from the grid-visibility tool by noting grid_style 'changes the grid's line pattern, not whether the grid is visible or included in an export', though it never names that sibling outright.

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 an explicit when-to-use constraint for building_wear ('use only when that global effect fits') and a full read-modify-verify workflow: 'Use get_map_style before changing a map and inspect a screenshot/export afterwards'. Both named alternatives tell the agent precisely where this tool sits in a sequence.

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