Skip to main content
Glama
WeRead MCP Server

WeRead MCP Server

by aixiasang

Get Cache Stats

get_cache_stats

Retrieve local cache statistics to monitor cached WeRead bookshelf, highlights, and notes data and verify cache freshness before syncing or exporting.

Instructions

Get local cache statistics.

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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read-only operation via "Get" and scopes it to the local cache, but says nothing about side effects, cost, whether it refreshes or mutates cache state, or permission needs. With an output schema present it needn't detail return values, but the behavioral gap remains.

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 five-word sentence with zero waste and the resource front-loaded after the verb. It is appropriately sized for a zero-argument tool, though it adds no structuring or qualifying 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 trivial zero-parameter read with an output schema, the description covers the essentials of what the tool does. However, it leaves the agent without any signal about when this tool is relevant in a catalog dominated by book-related siblings, which is the main situational gap.

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. Baseline 4 applies.

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 ("Get local cache statistics"), making it clear this is a read of cache metrics. The word "local" usefully scopes it, though the description doesn't distinguish it from sibling tools (which are all book-related, so little confusion is likely).

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?

No indication of when an agent should call this tool, what problem it solves, or any alternative. The agent must infer the use case entirely from the name.

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