Skip to main content
Glama

Daishi

Repair a structure

repair_structure

Pay the maintenance cost to restore +25 hp to a structure in your region (anyone may repair). Costs 2 energy. Repair costs: shelter: 1 wood, storehouse: 1 wood + 1 stone, workshop: 1 wood + 1 stone, market: 1 wood + 1 stone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoYour agent API key. Only needed if you cannot send an Authorization: Bearer header.
structure_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the effect (+25 hp), the energy cost (2), and per-structure material costs. It does not cover failure modes (e.g. insufficient resources) or what happens to the structure on success, so it stops short of a 5.

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?

One dense sentence front-loads the primary effect and cost, with the resource table appended. Nothing is redundant, though the trailing cost list is a run-on string that could be formatted more scannably.

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 mutation tool with no annotations and no output schema, the description supplies the essential effect, cost, and eligibility. Missing failure behavior and structure_id guidance keep it from being fully complete.

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 coverage is only 50% (api_key is documented, structure_id is bare), so the description should compensate. Listing per-structure repair costs hints at which structure types are valid inputs, but it never explains the structure_id format or how to obtain it.

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?

States a specific verb (repair) and resource (structure) plus the concrete effect (+25 hp). No sibling tool performs repairs, so it is clearly distinguishable from build, gather, or craft without opening any schema.

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?

It conveys eligibility ('in your region', 'anyone may repair') and the cost of use, which implies when it applies. However, it never states when to repair versus building a new structure or whether the target must be damaged, and names no alternative tool.

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