Skip to main content
Glama
playcrowns

crowns-mcp

Official
by playcrowns

build_structure

Construct or upgrade a territory building: market boosts income, barracks expands army, watchtower unveils foes, walls defend, castle fortifies the capital.

Instructions

Build or upgrade on your territory. Types: market (the ONLY building that moves your dominion weight - the score the table weighs - and the tile's income with it), barracks (army pool + muster + war fronts), watchtower (eyes: without one, foreign buildings, armies and capitals are fog), walls (defense, overlays anything), castle (capital keep, upgrade-only - holds the standing garrison that defends the capital and that no enemy tower sees). Barracks, towers and walls buy war, not standing. Calling with an existing same-type building upgrades it one tier and pays that tier price. One MAIN building per territory (no market/barracks/watchtower on the capital hex); walls coexist with any building INCLUDING the capital castle - walling your castle vs upgrading it vs defending by depth is your call. Tier prices: quoted by the 402 and listed in GET /api/v1/actions/rules; charged automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYesYour Crowns API key
territory_idYesUUID of your territory
building_typeYesBuilding type (market / barracks / watchtower / walls / castle-upgrade)
Behavior4/5

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

With no annotations, the description bears the responsibility for behavioral disclosure. It reveals several non-obvious behaviors: pricing and auto-charge, upgrade-tier semantics, single-main-building constraints, wall coexistence rules, and the special capital castle interaction. It could still go further by describing what happens to the existing structure, failure conditions, or result shape.

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 dense and information-rich, with the core purpose stated first and useful constraints following. It is slightly sprawling due to parenthetical webs and uses 'towers' where the schema says 'watchtower', but every clause earns its place and there is no filler.

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?

For a complex build/upgrade mechanic, the description is impressively complete: it covers types, upgrade triggering, placement restrictions, mixture rules, and where to find tier prices. It does not specify success/error response shapes or ensure the agent knows exactly what happens when the payment is insufficient, but those are not road-blocking gaps for invoking the 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%, so the baseline is 3. The description adds meaningful semantics around the `building_type` enum: market affects dominion weight, barracks affects army/war, watchtower reveals, walls overlay, and castle is upgrade-only. It does not add meaning to `api_key`, and `territory_id` gets only indirect treatment via the capital-hex rule.

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 description clearly states a specific action ('Build or upgrade on your territory') and enumerates the allowed building types. It differentiates the tool from repair/demolish through the upgrade language, but it never contrasts itself with the similarly named sibling `place_building`, so it stops short of a full 5.

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?

It gives a clear context for when to use the tool: building new structures or upgrading existing same-type buildings, with explicit rules about where buildings can go. It does not explicitly list when to use alternatives like `place_building`, `repair_building`, or `demolish_building`, so there are no exclusions but also no direct sibling routing.

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/playcrowns/crowns-mcp'

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