Skip to main content
Glama

What a reader wrote in the margins

what_reader_wrote_in_margins
Read-onlyIdempotent

Only the notes one reader wrote in their own words in the margins of their books (not bare underlines or scores), from the Marginalia Corpus, optionally narrowed to one author, one title or a word. Each note comes with the printed passage it sits beside, the page, whether the source attributes the hand to the reader with certainty, and its cite line. Text a source withholds under its terms is counted, not quoted.

Example questions:

  • "What did Melville write in the margins of his Milton?"

  • "What notes did John Dee leave in his books?"

  • "Derrida's handwritten notes on Rousseau"

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": {
      "reader": "<reader>"
    },
    "name": "what_reader_wrote_in_margins"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many notes (default 10).
titleNoOptional: words from the book's title.
authorNoOptional: the author whose books carry the notes, e.g. 'Milton'.
readerYesThe reader, e.g. 'Melville', 'John Dee', 'Derrida'.
containsNoOptional: only notes or passages containing these words.
own_hand_onlyNoOptional: true keeps only notes the source attributes to the reader's own hand with certainty.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile needs no repetition. The description instead adds real behavioral context beyond them: the fields each note carries (printed passage, page, hand-attribution certainty, cite line) and the important caveat that terms-restricted text 'is counted, not quoted', which explains apparent gaps in results.

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?

The core scope statement is front-loaded in the first sentence with the exclusion attached, followed by output-field context and compact example questions. The examples consume space but directly serve query formulation; there is no filler or restated title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description describes what comes back (passage, page, attribution certainty, cite line) and warns about withheld text. Combined with a schema that fully documents all six parameters including the limit default, an agent has everything needed to call this correctly.

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 100%, so the baseline is 3, but the description adds interpretive value: 'narrowed to one author, one title or a word' maps the conceptual filters to author/title/contains, and 'whether the source attributes the hand to the reader with certainty' explains the intent behind own_hand_only. It does not explain the limit semantics, which the schema already covers.

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?

The description states a specific verb and resource — notes a reader wrote in their own words in the margins of their books — and scopes it to the Marginalia Corpus. It explicitly excludes 'bare underlines or scores', which separates it from mark-collecting siblings like reader_marks without the agent needing to open any schema.

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?

The three example questions ('What did Melville write in the margins of his Milton?') give concrete, unambiguous usage contexts, and the parenthetical exclusion tells the agent when NOT to use it. It stops short of naming an alternative tool for the underline/score case, so routing to the correct sibling 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.