Skip to main content
Glama
AliSoftware

gamelibs-mcp

by AliSoftware

refresh_cache

Clear cached game library data to force a fresh fetch from Steam, Epic, or IGDB on the next call. Use when library or metadata may be stale after installing or purchasing games.

Instructions

Flush cached library/metadata data so the next call re-fetches from the network.

Use when data may be stale (e.g. "get the latest ratings/library" or after you've installed/bought games). Auth tokens are NOT cleared — this refreshes data, not login. For refreshing just a few specific games, prefer force_refresh on the igdb_* tools.

Args: target: Which caches to clear — "all" (default), "steam", "epic", or "igdb".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNoall
Install Server

TDQS

A5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and meets it: it warns that cached data is flushed, clarifies the next call hits the network, and explicitly states auth tokens are NOT cleared. The data-vs-login distinction is exactly the behavioral context an agent needs.

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?

Three short blocks each accomplish a distinct job: what it does, when to use/avoid, and parameter values. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter cache-clearing tool, the definition covers action, trigger conditions, exceptions, and all argument choices. The output format is not critical since invoking the tool successfully does not depend on it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema only says target is a string defaulting to 'all'. The description compensates by listing all valid target values ('all', 'steam', 'epic', 'igdb') and restating the default.

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?

The description uses a specific verb ('flush') and names the exact resource ('cached library/metadata data'), stating the consequential behavior that the next call re-fetches. This is clearly distinct from the sibling read/list/auth tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says when to use the tool (when data may be stale, after installs/purchases) and when not to (for a few specific games, prefer force_refresh on the igdb_* tools). It also rules out auth-token clearing, reducing misinvocation.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AliSoftware/gamelibs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server