Skip to main content
Glama

cpu_get_map

Retrieve live game world state: summary, your cell resources, and neighbor data. Apply scopes to focus on mine, around a token, specific cells, or all. Indicates server reachability.

Instructions

Read the live game world (public, background-synced). The world is a finite sphere of 48,990 cells keyed by tokenId — no coordinates: navigate via each cell’s neighbors (6 adjacent, 5 next to a pentagon vertex; owned/other/empty, empty = unminted) and cpu_next_hops; pos {face,i,j} is only a rough hint (wraps at face seams). Returns a summary, a resourceIndex of your cells, and per-resource storage (used/cap/full; a box with room for less than one whole cycle halts that resource’s production, cap null = uncapped). Scopes: mine | around (grid radius from aroundTokenId) | cells | all | summary. version/updated are epoch ms, serverTime/startAt unix seconds. server.reachable false means actions will fail; your to-do list is cpu_get_attention.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNomine | around | cells | all | summary. Omit to default to "mine" (or "summary" if no wallet).
radiusNoGrid radius (BFS steps) for scope="around" (default 2, max 10).
tokenIdsNoRequired for scope="cells": the cell tokenIds to return.
aroundTokenIdNoCenter cell tokenId for scope="around".
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses it's a public read operation, background-synced, and that pos is a rough hint. Mentions server.reachable flag indicating action viability. Could be improved by explicitly stating no authentication required and that it's a safe read.

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?

Description is dense but appropriately sized for the tool's complexity. Front-loaded with purpose and includes necessary details. Could be slightly more structured (e.g., bullet points) but remains clear and efficient.

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?

Given no output schema, description fully explains return structure (summary, resourceIndex, storage with details, timestamps, server.reachable). Addresses navigation, scope selection, and potential failure conditions. Comprehensive for a complex tool.

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?

Schema coverage is 100%, but description adds significant value beyond schema. Explains default scopes based on wallet presence, context for radius and aroundTokenId, and the meaning of 'around' scope. Provides behavioral context for parameters that enhances usability.

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, using a specific verb ('Read') and resource ('game world'). It distinguishes itself from siblings like cpu_get_cell (single cell) and cpu_get_attention (to-do list) by mentioning them in context.

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?

Explicitly describes when to use different scopes (mine, around, cells, all, summary) and provides defaults. Also explains conditions for server.reachable false and directs to cpu_get_attention for to-do list, offering clear usage context.

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/project-cpu-mcp'

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