Skip to main content
Glama

get_cache_status

Retrieves cache coverage, size, and missing items, returning JSON statistics to confirm stored Australian workplace legislation data is available.

Instructions

Get cache status including coverage, size, and missing items.

Returns: JSON string with cache statistics

Example: >>> get_cache_status() '{"total_cached": 3, "cache_size_mb": 3.2, ...}'

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_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the disclosure burden, and it does at least establish that this is a pure retrieval returning a JSON string of statistics, with a sample payload showing field names. It does not say whether the call is side-effect free, how expensive it is, or whether the numbers are point-in-time or cumulative.

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?

Purpose is front-loaded in the first line, followed by a short returns note and a compact example. The returns sentence and the example overlap somewhat, but the example adds concrete field names that earn their space.

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 zero-parameter read tool with an output schema is a simple case, and the description plus example cover everything needed to invoke it correctly. Only marginal additions, such as freshness or cost of the statistics, 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 schema has no parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The example reinforces that the call takes no arguments.

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 first sentence gives a specific verb and resource plus the scope of what is reported: coverage, size, and missing items. That is enough to distinguish it from the unrelated sibling tools, though no explicit contrast with an alternative cache tool is offered.

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?

There is no statement of when to call this versus anything else, nor any prerequisites or exclusions. For a zero-argument read-only diagnostic the intended use (inspecting cache health) is strongly implied by the name and the listed fields, so this is adequate but not explicit.

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