Skip to main content
Glama

cpu_get_building

Retrieve detailed building specs for any catalog type, covering construction costs, operation recipes, extractor yields, hub routing, and lifecycle options. Input the building type to get its full card.

Instructions

One building of the catalog as a card. Input is the catalog type (as cpu_get_game_config lists it). Three plans, never mixed: CONSTRUCTION — $CPU cost, build time, build inputs burned once to erect it; OPERATION — a crafter: every recipe it runs (inputs → outputs, cycle duration, $CPU per cycle); an extractor: the minable resources it draws from the cell deposit (it consumes no inputs); a hub: what it routes; LIFECYCLE — demolish cost, mode switching, upgrade links both ways. Build inputs are spent once at construction; recipe inputs on every cycle. Read-only. No session needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buildingTypeYesThe catalog `type` of the building, e.g. `steel_mill`, as `cpu_get_game_config` lists it.

Schema Changelog

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

  1. Addedv0.10.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description assumes full responsibility for behavioral disclosure. It explicitly declares 'Read-only' and 'No session needed', and it details the three plan modes plus the distinction between build inputs and recipe inputs, giving an unusually complete picture of what a call returns.

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 front-loaded with the core purpose and then efficiently organized by labeled plan categories (CONSTRUCTION, OPERATION, LIFECYCLE). The dense detail is warranted because the tool has no output schema and the description must carry the return-value semantics.

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 single-parameter, no-output-schema tool, this is complete: it gives the prerequisite for obtaining the type, explains the three plan groups and their subcategories, clarifies cost timing, and states read-only and session requirements. There are no obvious gaps that would prevent correct invocation.

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?

The schema already documents buildingType with 100% coverage, including an example ('steel_mill') and the get_game_config source. The description reinforces that the parameter is the catalog type but adds no new format, constraints, or examples beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening line 'One building of the catalog as a card' clearly identifies the resource and the operation: retrieve a single catalog entry. It also names the input source via cpu_get_game_config, which helps distinguish it from lookup/search sibling tools, though it does not explicitly contrast with cpu_find_buildings.

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?

The description states that the input is the catalog type 'as cpu_get_game_config lists it', giving a clear prerequisite for calling the tool. It also sets expectations that the result is organized into construction, operation, and lifecycle plans, but it does not explicitly say when to prefer this over sibling get/list tools.

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