Skip to main content
Glama

get_map

Retrieve a current snapshot of the game world map, showing cells, resources, and player positions. Supports scopes like your cells, a region, or specific cells.

Instructions

Read the live game world. The map is loaded at startup and kept current in the background; this returns a snapshot of it on demand (you only see updates when you call a tool). The map is public — you can see every player. Resources live on cells. Always returns a "summary" (counts + freshness) and, when your wallet is known, a "resourceIndex" (resourceId → your cells holding it, with location). Cells come back as a graph: each carries axial x/y and "neighbors" (the 6 adjacent hexes, each owned/other/empty). Scopes: "mine" (your cells), "around" (cells within a hex radius — scout a region), "cells" (specific tokenIds), "all" (everything), "summary" (no cells). Default: "mine", else "summary". Note units: version/updated are epoch ms, serverTime/startAt are unix seconds, amounts are decimal strings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNomine | around | cells | all | summary. Omit to default to "mine" (or "summary" if no wallet).
tokenIdsNoRequired for scope="cells": the cell tokenIds to return.
centerXNoAxial x of the centre for scope="around".
centerYNoAxial y of the centre for scope="around".
radiusNoHex radius for scope="around" (default 2, max 10).
Behavior5/5

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

No annotations are provided, but the description fully discloses behavioral traits: map is loaded at startup, returns snapshot on demand, only updates when tool called, map is public, resources on cells, and explains return structure and units (epoch ms vs unix seconds, decimal strings).

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 description is moderately long but each sentence serves a purpose. It is well-structured: opens with a clear purpose, then details behavior, scopes, and unit notes. Could be slightly more concise, but the additional detail is beneficial for an AI agent.

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?

Given the tool complexity (5 parameters, no output schema, no annotations), the description provides sufficient context: return structure, scope usage, defaults, and unit conversions. It does not cover error handling or edge cases, but the provided information is enough for correct invocation.

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?

All 5 parameters have schema descriptions (100% coverage). The description adds value by explaining the dual default behavior ('mine' if wallet known, else 'summary'), the meaning of scopes, and the relationship between parameters (e.g., tokenIds required for scope 'cells', centerX/Y and radius for 'around').

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 clearly states the tool reads the live game world and explains what it returns (snapshot of the map, summary, resourceIndex, cells as graph). It distinguishes from siblings by its scope options and the fact it returns a full map snapshot rather than a single cell or changes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains the different scopes (mine, around, cells, all, summary) and their defaults, but does not explicitly compare to sibling tools like get_cell or get_changes. It provides implicit guidance on when to use each scope, but lacks direct alternatives explanation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sodiqit/cpu-game-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server