Skip to main content
Glama

gutenberg-mcp-server

Browse Popular Gutenberg Books

gutenberg_browse_popular
Read-onlyIdempotent

Browse the most-downloaded Project Gutenberg books, ordered by popularity. Returns up to 32 titles with their Gutenberg IDs, authors, languages, and download counts. Optionally filter by language or topic. Use this as a discovery entry point — "what are the most popular classics in French?" — or as a heartbeat check that the catalog is reachable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of books to return (1–32). Default 20 gives a useful overview without overwhelming context.
topicNoFilter by a subject or bookshelf keyword (case-insensitive phrase match). Example: "science fiction", "adventure", "detective". Applies on top of the language filter.
languagesNoRestrict to books in these languages (two-character ISO 639-1 codes). Example: ["en"] for English only, ["de", "fr"] for German or French. Omit for all languages.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
capNoThe limit that was applied.
booksNoTop books by download count, most popular first.
errorNoPresent when the call failed. Absent on success.
shownNoNumber of books returned in this response.
truncatedNoTrue when the catalog held more matches than were returned.
totalInCatalogNoTotal books matching the filter in the full catalog (useful for context — "top 20 of 60,000").
truncationCeilingNoDownload count of the least-popular book shown — omitted books have at most this many downloads.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is known. The description adds useful behavioral context: it specifies the maximum number of titles (up to 32), the ordering (by popularity), and that filters apply on top of each other. The phrase 'heartbeat check' also implies the tool makes a live catalog query. No contradictions with annotations.

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 three sentences, each with a distinct purpose: the core action, the output shape, and use cases. It is front-loaded with the main verb and resource, and every sentence earns its place without redundancy or fluff. This is a model of concise, structured documentation.

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?

For a read-only, idempotent browse tool with three optional parameters and a defined output schema, the description covers the core functionality, return fields, filter behavior, and typical use cases. It also hints at availability checking via the 'heartbeat' use. With annotations covering safety and the output schema handling return structure, nothing essential is missing for an agent to select and invoke the tool correctly.

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?

The input schema already provides descriptions for all three parameters (limit, topic, languages) with 100% coverage. The tool description mentions 'Optionally filter by language or topic' but does not add syntactic details beyond the schema. Since the schema does the heavy lifting, a baseline of 3 is appropriate; the description reinforces optionality but adds no new semantic information.

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 opens with a specific action and resource: 'Browse the most-downloaded Project Gutenberg books, ordered by popularity.' It then enumerates the returned fields (Gutenberg IDs, authors, languages, download counts), making the tool's output clear. This distinguishes it from sibling tools like gutenberg_get_book (single book) and gutenberg_search_books (search by query), as it explicitly positions itself as a popularity-based discovery endpoint.

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 description gives concrete use cases: 'discovery entry point' with an example query ('what are the most popular classics in French?') and a 'heartbeat check that the catalog is reachable.' This provides clear context for when to invoke the tool. It does not explicitly name alternative tools or state when not to use it, but the examples imply that for specific lookups one would use the get/search siblings. This meets the 'clear context, no exclusions' level.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool has a clear, distinct purpose: browse popular books, fetch metadata, retrieve text, and search the catalog. No overlap or ambiguity between them.

Naming Consistency5/5

All tools follow the consistent pattern of 'gutenberg_' prefix followed by a descriptive verb and noun (browse_popular, get_book, get_text, search_books). The naming is uniform and predictable.

Tool Count5/5

Four tools is well-scoped for a Project Gutenberg server, covering essential operations without unnecessary bloat. The count is ideal for the domain.

Completeness5/5

The surface covers the full read-only lifecycle: discovery (browse and search), metadata retrieval (get_book), and content access (get_text). No gaps are evident for the intended use case.