Skip to main content
Glama
Currency Analyze MCP

Currency Analyze MCP

by jey3dayo

clear_cache

Clears all in-memory cached data to remove stale exchange-rate and market-analysis results before requesting current Alpha Vantage data.

Instructions

Clear all cached data (memory cache only)

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": "clear_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose the key blast-radius fact: only memory cache is cleared, not persistent storage. It does not say whether the operation is reversible, whether it disrupts in-flight or warm-cache workloads, what permissions are required, or what (if anything) is returned.

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?

A single short sentence with no filler; the scope qualifier is placed immediately after the action so the most important constraint lands first. Nothing could be removed without losing information.

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

Completeness3/5

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

For a zero-parameter tool this is close to adequate, but it is a destructive operation with no annotations and no output schema, so the description should at least say whether a confirmation or permission is involved and what the caller gets back. The cache-tier scope is covered; operational side effects are not.

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 schema baseline applies and there is nothing for the description to disambiguate. No parameter-level detail is missing or needed.

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?

"Clear all cached data" gives a specific verb and resource, and the parenthetical "(memory cache only)" narrows the scope so the agent knows which cache tier is affected. It does not mention the related sibling get_cache_stats, so an agent must infer the read-vs-clear split on its own.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no stated alternatives such as inspecting cache stats before clearing. The only scoping signal is the parenthetical cache-tier note, which describes what is cleared rather than when to call it.

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