Skip to main content
Glama

get_quotes

Retrieve notable passages from a public-domain book by Gutenberg ID. Optionally filter by theme or keyword for targeted quote discovery.

Instructions

Notable passages from one indexed book by book_id. Pass an optional theme to full-text search within that book, or omit it for a sample of short dialogue-bearing lines. Costs $0.005 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax quotes to return (default 5)
themeNoOptional theme/keyword to search for within the book
book_idYesGutenberg book id
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses cost, required credentials (WALLET_PRIVATE_KEY, USDC on Base), and the behavioral difference between full-text search and sample output. However, it does not describe the return format, pagination, or error behavior.

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?

Two compact sentences, front-loaded with the core purpose, then the optional search behavior, then cost and prerequisites. No filler or redundancy.

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 3-parameter tool with no output schema, the description covers purpose, optional behavior, and critical payment/auth requirements. It doesn't state return type or error scenarios, but given the simplicity and intuitive nature of quotes, it's adequately complete.

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. The description adds value by clarifying that omitting theme returns a sample of short dialogue-bearing lines and that theme enables full-text search within the book, enriching the schema's terse descriptions.

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 clearly indicates the tool returns notable passages from a specific indexed book via book_id. It distinguishes from siblings by emphasizing book-specific retrieval and optional full-text theme search, though it lacks an explicit verb like 'retrieves' or 'lists'.

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?

The tool explains parameter usage (optional theme vs default sample) but does not give any guidance on when to prefer this tool over siblings like search_books or get_chapter. No exclusions or alternative tools are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/forgemeshlabs/library-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server