Skip to main content
Glama

refresh_recipes_cache

Forces a fresh download of all recipe data from the FIO API, bypassing the TTL to update the recipes cache. Returns a status message with the number of recipes cached.

Instructions

Refresh the recipes cache from FIO API.

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

Returns:
    Status message with the number of recipes 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_recipes_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.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 full behavioral burden. It does well to disclose that this forces a full re-download and ignores the TTL, which signals a potentially expensive network operation, but it says nothing about duration, rate limits, failure behavior, or whether other cached data is affected.

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?

Two short sentences with the action front-loaded and the TTL behavior immediately after. The 'Returns:' line is mildly redundant given a dedicated output schema exists, but it is brief.

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, the description covers what it does and the key side effect (full download bypassing TTL). Only operational details like expected duration or error handling are missing, which is a minor gap at this complexity.

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 is no parameter meaning for the description to add or omit.

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 description gives a specific verb and resource ('Refresh the recipes cache from FIO API') and the second sentence clarifies scope ('all recipe data'). It does not explicitly distinguish itself from the parallel refresh_buildings_cache/refresh_materials_cache siblings, but the resource name makes the target unambiguous.

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?

'Bypassing the TTL' implies the tool is for when cached recipe data is stale, which is useful implicit guidance. However, it never states when NOT to use it (e.g. normal reads) or points to get_cache_info for checking freshness, leaving selection to inference.

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