Skip to main content
Glama

EasyTerritory MCP

get_map_selection

[Tier 2 — MC Selection Poll] When: read the latest committed MC session selection — especially when Monica started selection from the legend finger icon and then tells the agent what to do with 'my selection' (no prior request_part_selection in this turn). Prerequisites: map_session_id of the open MC. Returns part_layer + part_ids (+ selection_task_id when a first-class task was created). Prefer get_part_selection when you already have selection_task_id and it is still available. Next for 'add these to ': call realign with tal_id, the same map_session_id, and moves=[{part_id, to_territory_id}] derived from every returned part_id using the stable leaf territory_id (created_territory.territory_id / leaf catalog). Display-name aliases need an exact unique name match — do not invent shorthand (T3 ≠ Territory 3). If unclear, ask which leaf. Do not resend the TS or request a new selection. Scenarios: MC-004 variants, user-initiated select.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
map_session_idYes
guidance_handleNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/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 does so: it discloses the return shape, the prerequisite, downstream call semantics (realign with moves), and constraints like 'do not invent shorthand' and 'ask which leaf if unclear'. It does not state read-only/idempotency explicitly, but the read framing is implicit throughout.

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?

Dense but information-rich; the tier label and trigger condition are front-loaded, and each clause (prerequisite, return, next-step routing, aliasing warning) carries routing value. Some scenarios/Warnings could be tightened, but little is pure filler.

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 need not be fully specified, yet the description still names them. Combined with trigger conditions, prerequisites, and next-step guidance, it is nearly complete for a session-scoped selection reader; the only gap is the undocumented guidance_handle.

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%, so the description must compensate. It gives semantic meaning to map_session_id ('of the open MC') but never mentions guidance_handle at all, leaving one of two parameters undocumented anywhere. Partial compensation, hence a middling score.

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 ('read the latest committed MC session selection') and explicitly distinguishes it from siblings get_part_selection and request_part_selection. An agent can tell what this tool returns (part_layer + part_ids) without opening the 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?

Gives explicit trigger conditions (Monica started selection from the legend finger icon, no prior request_part_selection in this turn), prerequisites (open MC's map_session_id), an alternative routing rule (prefer get_part_selection when you have selection_task_id), and even a negative instruction ('Do not resend the TS or request a new selection'). This is textbook when/when-not/alternatives coverage.

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