Skip to main content
Glama
SODAX Builders MCP
by gosodax

sodax_refresh_cache

Idempotent

Clear backend API and solver oracle caches to force fresh data on the next requests, with per-cache entries cleared reported; limited to once per minute.

Instructions

Clear both the backend API cache and the solver oracle cache to force fresh fetches on next requests. Reports the number of entries cleared per cache. At most once a minute across the server.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.3
  2. Removedv1.0.2
  3. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, but the description adds substantive context beyond them: both caches are affected simultaneously, the call reports the number of entries cleared per cache, and there is a server-wide throttle of one call per minute. The throttle's failure mode (error vs. silent no-op when called twice in a minute) is not disclosed.

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 sentences, front-loaded with the action and its effect, followed by the return value and then the rate constraint. Every sentence carries distinct information with no repetition of the title or annotations.

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?

With no output schema, the description usefully states that the response reports entries cleared per cache, and it flags the rate limit, so an agent can call it correctly. The only gap is what the agent should expect or do if it hits the one-per-minute ceiling.

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 baseline is 4. The description correctly implies no targeting is possible, since both caches are always cleared together and no scope can be narrowed.

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 uses a specific verb ("Clear") and names the exact resources affected: the backend API cache and the solver oracle cache. It is clearly a global cache-invalidation operation, distinguishable from read-style siblings like sodax_get_solver_oracle. It stops short of explicitly differentiating itself from docs_refresh, the other refresh-family tool, which keeps it from a 5.

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

Usage Guidelines4/5

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

The phrase "to force fresh fetches on next requests" gives a clear triggering condition: call this when you need data that may be stale. There is no explicit when-not guidance and no named alternative (e.g. when to prefer a plain re-query over a cache wipe), so the agent must infer the boundaries.

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