Skip to main content
Glama
GlacianNex

stockdata-mcp

by GlacianNex

cache_clear

Clear cached data from the stockdata-mcp server. Choose backend, expired (default, safe), or all/live entries (may incur re-fetch costs). Price bars never expire.

Instructions

Drop cached responses. Use when data looks stale despite its TTL.

"expired" (the default) only removes entries already past their TTL and is always safe. Clearing live entries means paying for those requests again — note that past price bars never expire by design, because they cannot change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
backendNoexpired

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full transparency burden and does well: it explains that expired-mode is safe, that clearing live entries means paying for requests again, and that price bars never expire by design. It does not mention authorization or rate-limit implications, but it covers the core behavioral consequences for a cache-clearing tool.

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?

The description is compact and front-loaded, with the core purpose in the first sentence. Every subsequent sentence adds needed behavioral context about safety, cost, and the immutability of historical price bars, with no filler or repetition.

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 tool with one optional parameter and an output schema, the description covers the main usage context well: when to use it, what the safe default is, and the cost tradeoff of clearing live entries. The main missing piece is a fuller explanation of the backend enum values, but overall the description is sufficiently complete for a tool of this complexity.

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?

The input schema has 0% description coverage, so the description must compensate for the single 'backend' parameter. It usefully explains what 'expired' does and that clearing live entries is costly, but it does not clarify what the 'all', 'fmp', and 'qualtrim' values specifically target. This leaves a meaningful gap in understanding the full parameter semantics.

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 opening sentence 'Drop cached responses' states the exact verb and resource, making the tool's purpose immediately clear. It also distinguishes cache_clear from its data-retrieval and status sibling tools, none of which manage cached data.

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?

The description explicitly says to use this when data looks stale despite its TTL, giving a clear trigger condition. It also provides important usage nuance: the 'expired' default is safe, while clearing live entries has a cost implication. The note about price bars never expiring further guides appropriate usage.

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/GlacianNex/stockdata-mcp'

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