Skip to main content
Glama
Currency Analyze MCP

Currency Analyze MCP

by jey3dayo

get_cache_stats

Retrieve cache statistics including hit rate, API usage, and cost savings to assess caching performance and reduce repeated Alpha Vantage requests.

Instructions

Get cache statistics including hit rate, API usage, and cost savings

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does convey that this is a non-mutating lookup and which metrics come back. However, it says nothing about freshness of the statistics, whether the numbers are aggregated over a time window, or any cost/rate implications, which matters given 'API usage' and 'cost savings' are reported.

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?

A single front-loaded sentence with no filler; the verb and resource come first, followed by the three metric categories. It is appropriately sized for a simple zero-argument tool.

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?

There is no output schema, so the description's list of returned metrics is the only documentation of the response shape, and it covers the main ones. Combined with the trivial empty input schema, this is largely sufficient, though a note on scope or freshness would make it 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 there is nothing for the description to disambiguate; the baseline for a no-parameter schema applies. The enumeration of reported metrics adds modest value about what the call surfaces.

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 names a specific verb ('Get') and resource ('cache statistics') and enumerates the returned metrics (hit rate, API usage, cost savings), which clearly separates it from the sibling 'clear_cache'. It stops short of explicitly naming that sibling, but the read-vs-clear distinction is still 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?

Usage is only implied by the word 'Get' and the metric list; there is no statement about when to consult cache stats (e.g., to diagnose stale data or verify cache effectiveness) or when another tool such as clear_cache is preferred. For a zero-parameter read tool the omission is minor, but no explicit guidance is offered.

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