Skip to main content
Glama
poe-data-mcp

poe-data-mcp

by charleslucas

update_craftofexile_cache

Download or refresh Craft of Exile data files, re-fetching only files whose version changed since the last check. Use it to keep local crafting data current before crafting queries.

Instructions

Download or refresh Craft of Exile data files from craftofexile.com.

On first call this downloads all files (~a few MB total). Subsequent calls only re-download files whose version has changed on the site (checked via the ?v= timestamps embedded in the craftofexile homepage).

The site is checked for updates at most every 12 hours automatically. Pass force=True to bypass the interval and check immediately.

Files are cached in reference_data/craftofexile/ which is gitignored — each user fetches their own copy and nothing is redistributed.

Args: force: Re-check the site immediately even if checked recently.

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

Input Schema

NameRequiredDescriptionDefault
forceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses download size (~a few MB), incremental re-download logic via ?v= timestamps, a 12-hour automatic check interval, and that files land in a gitignored local directory with nothing redistributed. It omits failure modes (offline behavior, partial download handling) and rough duration, which would complete the operational picture.

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?

Front-loaded with the purpose, followed by first-call vs. subsequent-call behavior, then the interval and force override. The force explanation is stated twice (in prose and again in the Args block), a small redundancy, but the overall length is proportionate to the behavioral detail conveyed.

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?

An output schema exists, so return values need not be described. Combined with the cache-location note, size estimate, and update-interval logic, an agent has enough to call this correctly; only error/offline behavior is unaddressed.

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?

Schema coverage is 0% for the single parameter, so the description must compensate, and it does: force is defined as 'Re-check the site immediately even if checked recently,' which is meaningfully more than the schema's bare boolean/default. No other parameters exist to explain.

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?

States a specific verb and resource: 'Download or refresh Craft of Exile data files from craftofexile.com.' An agent immediately knows this is a cache-population tool. It does not explicitly differentiate itself from the sibling craftofexile_cache_status, leaving that distinction implicit.

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?

Gives clear invocation context: first call downloads everything, later calls only fetch changed versions, and force=True bypasses the 12-hour check interval. It does not say when to prefer craftofexile_cache_status or whether other craft tools require this cache to be populated first, so there are no explicit exclusions or alternatives.

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