Skip to main content
Glama

EasyTerritory MCP

get_map_visualization

[Tier 1 — MC-First Entry] FIRST step of non-headless territory work (invariant I-1). When: open a blank map for planning, or open/reuse the user's Map Component for an existing Territory Solution (TS), ts_handle, or completed job. Pass new_project=true to replace the live workspace with an empty project; omitted empty+view reuses the existing project. Optional presentation.view_name: empty | points_only | review | selection (defaults from mode/TS content). Diagnostics: presentation.debug_panel=true. Prerequisites: none (idempotent per user_id). Next: hand user map_url, then ensure_map_viewer until viewer_status.connected. Dual surface (same map_session_id, one map): Apps-capable hosts render this map in chat from ui://easyterritory/map-viewer (_meta.ui.resourceUri); every other client — including Cursor — opens map_url in a browser tab. map_url is always returned. Do not open a second surface or call this tool again to 'fix' a map. Scenarios: MC-000, MC-001, MV-001, S004.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tsNo
modeNoview
job_idNo
user_idNo
ts_handleNo
new_projectNo
presentationNo
active_tal_idNo
expiry_secondsNo
guidance_handleNo
interaction_flagsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/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 largely delivers: idempotency per user_id, dual-surface rendering behavior (chat ui:// vs. browser tab for Cursor), and the guarantee that map_url is always returned. These are non-obvious operational traits an agent would otherwise guess wrong.

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 tier label and the primary action, then organized into When/Prerequisites/Next/Scenarios blocks. Dense but each clause carries operational meaning; slightly over-packed with jargon (I-1, MC-000, S004) that adds little for tool selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values needn't be described, and the description covers workflow sequencing, the dual surface, and idempotency. Given 11 undocumented params, some input semantics remain thin, but an agent can call it correctly for the primary flows.

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?

Schema coverage is 0% across 11 params, so the description must compensate. It explains new_project, presentation.view_name (with enum values), presentation.debug_panel, mode (as a driver of view defaults), and alludes to ts/ts_handle/job_id as inputs, but leaves expiry_seconds, guidance_handle, active_tal_id, interaction_flags, and user_id undocumented.

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?

States a specific verb+resource (open/reuse the map visualization) and its position as the 'FIRST step of non-headless territory work'. It clearly delineates the two use cases (blank planning map vs. reuse an existing TS/job map), letting an agent distinguish it from siblings like ensure_map_viewer and set_map_state.

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?

Explicit 'When:' clause names both entry conditions, gives the new_project=true vs. omitted behavior for reuse, and states prerequisites and the next step (hand user map_url, then ensure_map_viewer until viewer_status.connected). It also gives an explicit when-not: 'Do not open a second surface or call this tool again to fix a map.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources