Skip to main content
Glama

build_structure

Builds a chosen structure on an unoccupied tile in a 5x5 grid using x/y coordinates, letting AI agents expand the game map safely.

Instructions

Build a structure on a free tile of the 5x5 grid.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>",
      "x": "<x>",
      "y": "<y>"
    },
    "name": "build_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
kindYes

Output Schema

NameRequiredDescriptionDefault
okYes
codeNo
dataNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent mutation, so the safety profile is covered. The description adds the genuine, non-schema-enforced precondition that the target tile must be free, plus the 5x5 board bound. It does not say what happens when the tile is occupied (error vs. silent overwrite) or what building costs, leaving a meaningful gap for a mutating tool.

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?

A single front-loaded sentence with zero filler, and the placement constraint appears ahead of anything else. Its brevity is efficient but edges toward under-specification rather than tightness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating three-parameter tool with an output schema but 0% parameter description coverage, this is thin: the agent learns the tile must be free but not what each structure kind does, what resources are spent, or what failure looks like. The output schema covers return values, but the input-side semantics remain largely unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it only partially does: 'tile' implies x/y are board coordinates within the 5x5 grid (though the schema already enforces 0-4), and 'structure' implies the kind enum. The five kind values (house, farm, well, power_plant, sawmill) and their differing effects or costs are never explained.

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?

States a specific verb ('Build') and resource ('structure') plus a placement constraint ('free tile of the 5x5 grid'), which is enough to separate it from collect_taxes, get_city_state, and sell_resource. It stops short of naming how it relates to those siblings, but the action itself is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says whether to inspect the grid first via get_city_state, whether building consumes resources or a turn, or when one structure kind is preferable to another. The only steering is the embedded 'free tile' precondition, which is a constraint rather than usage guidance.

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