Skip to main content
Glama

build

Place an extractor or hub structure on your owned land cell to mine resources or enable trading. Automatic $CPU payment.

Instructions

Place a building on a revealed Land cell you own. Requires a session — call authenticate first. Two types: extractor (mines a resource deposit — pass the targetResourceId of a resource that has an active deposit on the cell) and hub (trade — pass targetResourceId: null). Build always costs $CPU, which this tool auto-approves once (a one-time unbounded allowance) before submitting the on-chain payment and waiting for its confirmation. The building is applied by the indexer a few seconds later; an extractor then starts mining automatically — track it with get_mining_status. Inspect the cell with get_cell.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenIdYesThe tokenId of a revealed cell you own to build on.
buildingTypeYesextractor (mines a resource deposit) or hub (trade).
targetResourceIdNoFor an extractor, the resource id (2–13) to mine — it must have an active deposit on the cell. Must be null for a hub.
Behavior5/5

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

No annotations provided, so description carries full burden. It details the auto-approval of CPU cost, on-chain payment, confirmation wait, indexer delay, and automatic mining start for extractors. This thoroughly discloses behavioral traits beyond basic functionality.

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 a single paragraph of 5-6 sentences, each contributing useful information. While not overly verbose, it could be more structured (e.g., bullet points for types). Still efficient and front-loaded with the core purpose.

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?

Covers prerequisites, types, parameters, behavioral details (cost, auto-approve, delay), and post-actions. Lacks error cases or conditions not met, but sufficient for an agent to invoke correctly given the input schema and sibling tools for inspection.

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%, providing baseline 3. The description adds value by explaining the two building types and their parameter requirements (e.g., targetResourceId must be null for hub, and for extractor it must be a resource with active deposit). This goes beyond the schema's brief descriptions.

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's purpose: 'Place a building on a revealed Land cell you own.' It distinguishes between extractor and hub building types, differentiating it from sibling tools that handle other actions like authenticate or get_cell.

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?

Provides explicit context: requires session (authenticate first), explains when to use extractor vs hub, gives conditions for targetResourceId, and suggests post-build actions like get_mining_status and get_cell. No explicit when-not-to-use, but sufficient guidance.

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