Skip to main content
Glama

visualize_area

Read-onlyIdempotent

Retrieve an area's spatial data—tile grid, terrain, walkability, zone connectivity, transitions, and placed objects—for spatial reasoning, quest design, and object placement.

Instructions

Get the spatial awareness payload for an area: tile grid with terrain, materials, crossers, walkability, and features; walkable zones with connectivity and area transition analysis; all placed objects (creatures, placeables, doors, waypoints, triggers, encounters, sounds, stores) with world positions and full properties. Use this for spatial reasoning, quest design, object placement, and area analysis. To generate a human-readable HTML visualization, use export_area_report.

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": {
      "area": "<area>"
    },
    "name": "visualize_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaYesArea resref (e.g., 'area001')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so safety is covered. The description adds real value beyond that by disclosing the shape and breadth of what comes back, which matters because there is no output schema. It does not warn about payload size on large areas or behavior on an invalid resref, which would be the remaining useful disclosures.

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 is front-loaded in the first clause, followed by a dense but purposeful enumeration and a closing routing sentence. The parenthetical list is long but each entry conveys real payload scope; there is no filler or restatement of the tool name.

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 and a one-parameter input, the description carries the entire burden of explaining what is returned, and it does so comprehensively across all three payload sections. An agent can decide whether to call this or export_area_report and can anticipate the response structure without further documentation.

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

Parameters3/5

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

There is a single parameter with 100% schema description coverage ('Area resref (e.g., area001)'), so the schema already carries the meaning. The description adds no additional syntax, format, or resolution guidance for the area argument beyond what the schema states, so the baseline of 3 applies.

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 description opens with a specific verb and resource ('Get the spatial awareness payload for an area') and then enumerates the payload's constituent parts: tile grid with terrain/materials/crossers/walkability/features, walkable zones with connectivity, and all placed objects with world positions. That enumeration distinguishes it cleanly from the granular get_area_creatures / get_area_doors style siblings and from export_area_report.

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?

It gives explicit use cases ('spatial reasoning, quest design, object placement, and area analysis') and names an alternative with the condition that selects it ('To generate a human-readable HTML visualization, use export_area_report'). It does not explicitly say when to prefer the granular per-category siblings over this bulk call, but the 'all placed objects' phrasing implies the superset relationship.

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