Skip to main content
Glama
WeRead MCP Server

WeRead MCP Server

by aixiasang

Search Notes

search_notes

Locate highlights and thoughts saved in your local WeRead cache by keyword. Retrieve specific notes without browsing entire books.

Instructions

Search highlights and thoughts in local cache.

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_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordYesSearch keyword

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 discloses that the search is against a local cache, but does not state that the operation is read-only, whether results may be stale or incomplete, or how many results are returned. For a search tool with no annotations, this leaves important behavior implicit.

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 a single front-loaded sentence with no redundant wording. Every word contributes to identifying the action, the searched content, and the data source.

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 one-parameter search tool with full schema coverage and an output schema, the description provides enough context to invoke it correctly: what is searched and where. The main remaining gap is behavioral detail around result scope and cache staleness, but that is less critical given the tool's simplicity.

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%, and the single keyword parameter is already documented as "Search keyword." The description adds no further meaning about matching behavior, syntax, or scope, so the schema does the heavy lifting.

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 gives a specific verb ("Search") and resource ("highlights and thoughts"), clarifying that this is a notes search rather than a book search. It does not explicitly distinguish itself from siblings like search_books or get_book_notes, but the resource scope is clear.

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?

The phrase "in local cache" implies a usage constraint: only cached data is searched. However, there is no explicit guidance on when to choose this over get_book_notes or search_books, nor any stated exclusions or prerequisites.

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