Skip to main content
Glama

cpu_build

Place a building on a revealed cell you own to extract raw deposits, run crafting recipes, or route trade via hub. It auto-approves $CPU spend and waits for on-chain confirmation.

Instructions

Place a building on a revealed Land cell you own (needs a session — cpu_authenticate first). Pick a buildingType from the catalog (cpu_get_game_config): an extractor mines a raw deposit, a crafter runs a recipe, the hub routes transport/trade. Costs $CPU (some buildings also consume refined resources from the cell's warehouse); the tool auto-approves the $CPU spend once, sends the on-chain place, and waits for confirmation. Building takes time — it is not usable until it finishes. Once ready, start an extractor with cpu_start_mining or a crafter with cpu_craft. A cell holds one building: re-running build on the same building is a safe no-op; to switch buildings cpu_demolish first (a just-demolished cell is locked from rebuilding until its cooldown ends). Inspect the result with cpu_get_cell.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenIdYesThe tokenId of a revealed cell you own to build on.
buildingTypeYesWhich building to place — see cpu_get_game_config for the full catalog (kind, cost, mine/craft bindings). An extractor mines a deposit (then start it with cpu_start_mining), a crafter runs a recipe (cpu_craft), the hub routes transport and trade.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.10.0
    • changedInput schema / properties / tokenId / maximum
      Previous value: -48990New value: +29150
  2. First observedv0.8.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses the $CPU cost and auto-approval, on-chain placement and confirmation wait, construction delay, one-building-per-cell limit, safe no-op on rebuild, and the post-demolition cooldown lock. This is unusually transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but every sentence contributes a distinct fact: precondition, catalog, cost/side effect, timing, follow-up actions, idempotency, demolition path, and result inspection. It front-loads the core purpose and keeps the practical constraints tight.

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?

For a mutating, on-chain tool with no output schema, this description covers prerequisites, cost, timing, idempotency, capacity constraints, cooldowns, next steps, and how to verify the result via cpu_get_cell. No critical operational gap remains.

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%, so the baseline is 3. The description adds semantic value by explaining that an extractor mines, a crafter runs recipes, the hub routes transport/trade, and that tokenId must reference a revealed cell you own. It enhances, rather than merely repeats, the schema.

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 opens with a specific verb and resource: 'Place a building on a revealed Land cell you own.' It clearly distinguishes this from sibling tools like cpu_demolish, cpu_get_building, cpu_start_mining, and cpu_craft by explaining what build does and what happens next.

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?

It explicitly states the prerequisite (cpu_authenticate first), where to find valid options (cpu_get_game_config), what to do after the building finishes (cpu_start_mining or cpu_craft), how to switch buildings (cpu_demolish first), and the cooldown caveat. This is strong routing guidance.

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

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

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