Skip to main content
Glama

refresh_buildings_cache

Forces a fresh download of all building data from the FIO API, bypassing the cache TTL to avoid stale records and returning the number of buildings cached.

Instructions

Refresh the buildings cache from FIO API.

Forces a fresh download of all building data, bypassing the TTL.

Returns:
    Status message with the number of buildings cached.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "refresh_buildings_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose meaningful behavior: it forces a full re-download of ALL building data and ignores the TTL, which signals a heavier/network-bound operation than a plain read. It omits cost, latency, failure behavior when the FIO API is unreachable, and whether the cache is replaced atomically or cleared first.

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?

Front-loaded with the action and resource in the first line, and the second sentence explains the TTL bypass. The 'Returns' block mildly duplicates the existing output schema, but it is short and not wasteful.

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?

A no-parameter cache-refresh tool with an output schema needs little more than what is here: what it refreshes, that it bypasses the TTL, and what comes back. Only operational caveats about expense or API availability are missing.

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?

The tool takes zero parameters, so the baseline is 4; there are simply no parameter semantics to add beyond the empty schema.

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 ('Refresh') plus resource ('the buildings cache') and the data source ('FIO API'), and the resource name cleanly separates it from the sibling refresh_materials_cache and refresh_recipes_cache tools.

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?

The phrase 'bypassing the TTL' implies the trigger condition (you need data fresher than the cache allows), but it never says when to call this versus search_buildings or the other refresh tools, nor whether it should be run routinely or only after known data changes.

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