Skip to main content
Glama

One building piece: costs, durability, siblings

get_building_piece
Read-onlyIdempotent

[Game reference] One building piece: costs, durability, siblings. The piece's slug, display_name, grade, health and decay_hours, plus costs (build, repair and upkeep lists of item_name, amount or min_amount/max_amount, with shortname/icon_url when the material maps to a catalogue item), durability (up to ten entries each for explosive, melee and bullet damage: item_name, seconds_taken to destroy, required_items = how many of that weapon/explosive) and siblings - the same piece at every other grade, Twig to Armored. Cached for one hour.

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": {
      "slug": "<slug>"
    },
    "name": "get_building_piece"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesPiece slug from `/building`, e.g. `stone-wall`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety needs no restating. The description adds genuinely new behavioral context the annotations cannot convey: results are cached for one hour, and the return shape's constraints (up to ten durability entries per damage type) are disclosed.

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 purpose is front-loaded and every clause carries information about the response payload, which is justified because there is no output schema. The middle sentence is a long run-on enumerating nested fields, which is dense but not padded.

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?

With no output schema, the description must carry the return-value burden, and it does so thoroughly, including nested cost entries, durability limits and the sibling-grade set. The remaining gap is routing guidance against list_building_pieces and get_raid_costs, which is a minor omission for a one-parameter read tool.

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?

Schema description coverage is 100% and the single `slug` parameter is already documented with format, length bounds and an example in the schema. The description adds no further semantics about the parameter, so the baseline 3 applies.

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 names a specific verb and resource ('One building piece') and enumerates exactly what the record contains (costs, durability, siblings), which is far more than a restatement of the name. It does not explicitly contrast with the closest sibling, list_building_pieces, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: the schema's 'Piece slug from `/building`' hints that a slug must first be obtained from a listing, and the singular framing implies this is the per-item lookup versus the list tool. There is no explicit when-to-use, when-not-to-use, or named alternative.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources