Skip to main content
Glama

Search the quotable marginalia and marked passages

search_marginalia
Read-onlyIdempotent

Full-text search over the marginalia text that the sources permit quoting: Melville's Marginalia Online (Melville's notes and the lines he marked), Derrida's Margins (his annotations and the passages he marked, plus his quotations of other authors in De la grammatologie), Annotated Books Online (notes by Dee, Luther, Erasmus, Scaliger and others, with translations), and Nietzsche naming other authors in his published works. Answers questions like 'did Melville mark "nothing can come of nothing"?', 'which marginal notes mention the whale?', 'where does Derrida quote Saussure on writing?', 'what does Nietzsche say about Wagner?'. Accent- and case-insensitive; phrase match first, then all words. Archaeology of Reading, Walt Whitman Archive and Beckett Digital Library text is not in the searchable set, under their terms.

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": {
      "query": "<query>"
    },
    "name": "search_marginalia"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many hits (default 10).
queryYesWords or a phrase to find, e.g. 'whale', 'nothing can come of nothing', 'écriture'.
whereNoreader_words = what the reader wrote (notes, translations, their own published prose); marked_passages = the printed lines they marked. Default all.
authorNoOptional: only marks in this author's books, or references to this author.
readerNoOptional: only this reader's marks, e.g. 'Melville'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. Beyond that the description discloses real behavior: accent- and case-insensitive matching, phrase match attempted first followed by all-words matching, and the licensing-driven content boundary of the corpus. It omits result ranking details beyond match order and anything about result shape, which keeps it off a 5.

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 core verb and resource, then coverage, then examples, then exclusions in a logical order. It is dense but nearly every clause carries information; the four sample questions are slightly redundant with the already-clear purpose and could be trimmed to one or two.

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 single-search tool with five well-documented parameters and no output schema, the description covers corpus scope, matching semantics, exclusions and intended question types. The notable remaining gap is what a hit contains and how results are ordered/limited, which an agent would want before calling.

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 the schema already explains query, limit, where (with its enum values), author and reader. The description reinforces meaning only indirectly, e.g. that 'author' can mean an author being referenced ('Nietzsche naming other authors in his published works') as well as an author whose books were marked, and that reader_words vs marked_passages maps to notes versus printed lines. Useful reinforcement, but largely duplicative of structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (full-text search) and resource (quotable marginalia text), then enumerates the four source corpora it covers (Melville's Marginalia Online, Derrida's Margins, Annotated Books Online, Nietzsche's published works). The example questions make the retrieval target unmistakable and distinguish it from siblings like reader_marks or reader_profile.

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 concrete triggering questions ('did Melville mark "nothing can come of nothing"?', 'where does Derrida quote Saussure on writing?') and an explicit scope exclusion: Archaeology of Reading, Walt Whitman Archive and Beckett Digital Library are not in the searchable set under their terms. It stops short of naming sibling tools or saying when to prefer reader_marks / what_reader_wrote_in_margins over this search, so routing between tools is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.