Skip to main content
Glama

get_cache_info

Retrieve status for all data caches—validity, counts, age, and file paths—to check whether cached game data is current and usable.

Instructions

Get cache status for all data caches.

Returns:
    TOON-encoded cache info including validity, counts, age, and file paths.

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": "get_cache_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 'Get cache status' implies a non-mutating read, and it discloses that results cover validity, counts, age, and file paths. It does not state whether the call has side effects, whether it touches the filesystem, or any cost/latency characteristics.

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 definition is short and front-loaded: the purpose sentence comes first, then a returns block. The 'Returns:' section largely restates what the output schema already provides, which is mild redundancy, but nothing is bloated or buried.

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?

This is a simple zero-parameter read with an output schema present, so the description need not enumerate return fields in depth. It covers purpose and the shape of the response, leaving only the when-to-call decision unaddressed, which is a modest gap for a tool this small.

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 there is no parameter semantics to explain; the baseline of 4 applies. Nothing in the description misleads about inputs, and the empty schema is consistent with a whole-cache status read.

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 and resource: 'Get cache status for all data caches.' An agent can tell this is a read of cache state rather than a refresh, which separates it from the refresh_* siblings. It does not explicitly name those siblings or scope which caches are covered beyond 'all'.

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?

No when-to-use guidance is offered. It does not say to call this before a refresh, after a refresh, or to check staleness before querying building/material/recipe data, and it does not mention the refresh_buildings_cache / refresh_materials_cache / refresh_recipes_cache alternatives that a caller would naturally weigh against it.

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