Skip to main content
Glama

wafle_resources_invalidate

Idempotent

Clear the MCP resource cache to ensure subsequent reads fetch fresh data. Pass a URI substring to drop matching entries, or omit to flush all.

Instructions

Invalidate the in-memory MCP resource cache. Pass uri_pattern to drop matching entries (substring match), or omit to flush everything.

Master only. Use after a destructive write (mutating products, settings) if you want the next resources/read to fetch fresh data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uri_patternNoSubstring of the resource URI to drop (e.g. 'gamerland'). Omit to flush all.
Behavior5/5

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

Annotations already indicate idempotentHint and destructiveHint, but the description adds valuable context: substring matching behavior, flushing behavior, and the effect on subsequent reads. It also discloses the 'Master only' permission requirement, which is not present in annotations. No contradiction with annotations.

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 sentences, front-loaded with the action, and every sentence earns its place. The first sentence covers the core function and parameter semantics; the second covers usage context and permission. No waste or repetition.

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 simple tool with one optional parameter, no output schema, and helpful annotations, the description is fully complete. It explains the operation, the parameter's effect, when to use it, and a master-only constraint. No gaps remain for the agent to infer.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description restates the parameter behavior ('Pass uri_pattern to drop matching entries (substring match), or omit to flush everything') but adds no new parameter-level details beyond what the schema already provides. The 'Master only' note is tool-level, not parameter-level.

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 clearly states the action: 'Invalidate the in-memory MCP resource cache,' with a specific verb and resource. It also explains the optional parameter behavior and distinguishes this from sibling tools by focusing on cache invalidation, which no other tool addresses.

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 states when to use the tool: 'Use after a destructive write (mutating products, settings) if you want the next resources/read to fetch fresh data.' It also adds the 'Master only' restriction, providing clear context for invocation relative to alternatives.

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

Install Server

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/the33warehouse-tech/wafle-mcp'

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