Skip to main content
Glama
WeRead MCP Server

WeRead MCP Server

by aixiasang

Search Books

search_books

Search locally cached ebooks by title, author, or category to locate books in your WeRead shelf and return matching results.

Instructions

Search books in local cache by title/author/category.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "keyword": "<keyword>"
    },
    "name": "search_books"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results
keywordYesSearch keyword

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. "Local cache" is a genuinely useful disclosure (results may be stale and depend on prior sync), but nothing is said about ordering, whether other search paths exist, or what happens on a cache miss, and the read-only safety profile is only implied by "search".

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?

A single short sentence, front-loaded with the verb and scope, with zero filler. Every phrase (search, books, local cache, the three match fields) contributes 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?

An output schema exists and the schema fully documents parameters, so return values and inputs need no explanation here. What is missing is cache-freshness context and any routing hint among the many get_*/search_* siblings, which matters for a tool operating on a local cache that must be kept in sync.

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?

Schema description coverage is 100%, so both parameters are already documented. The description does add meaning to "keyword" by specifying it matches title, author, or category, but says nothing about the limit parameter or matching behavior (partial vs exact, case sensitivity).

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 states a specific verb and resource ("Search books") and adds scope ("in local cache") plus the searchable fields (title/author/category). It clearly identifies this as a book search, but does not name a sibling to distinguish it from, e.g., search_notes, leaving that differentiation to the tool name alone.

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?

"in local cache" implies the tool queries cached data rather than a remote source, which hints at when to prefer it over sync-style siblings. However, there is no explicit when-to-use or when-not-to-use statement, and no pointer to an alternative for refreshing or remote search.

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