Skip to main content
Glama

refresh_materials_cache

Forces a fresh download of all materials data from the FIO API, bypassing the TTL, and returns a status message with the number of materials cached.

Instructions

Refresh the materials cache from FIO API.

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

Returns:
    Status message with the number of materials 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_materials_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.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the key behavioral traits — a forced full re-download that bypasses TTL and returns a count — which implies a costly operation, but it says nothing about runtime, rate limits, failure modes, or whether the refresh hits an external API quota.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences plus a returns note, with the core effect front-loaded in the first line. Nothing extraneous, though the Returns block is slightly redundant given an output schema exists.

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 zero-parameter cache-refresh tool with an output schema and no annotations, the description covers what the tool does and what it returns. Only the absence of cost/rate-limit context and sibling routing keeps it from being fully complete.

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 no parameter semantics to add and the description correctly avoids inventing any.

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 ('Refresh the materials cache from FIO API') and clarifies the effect ('Forces a fresh download of all materials data, bypassing the TTL'). This clearly distinguishes it from read-only siblings like get_all_materials, though it never names them explicitly.

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 mention of bypassing the TTL signals this is for forcing stale data to update, but there is no explicit when-to-use or when-not-to-use guidance relative to get_all_materials, get_cache_info, or the other refresh_*_cache tools.

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