Skip to main content
Glama

get_shelf

Read-onlyIdempotent

List books from a public Goodreads shelf by name, including custom shelves and additional pages, to browse reading status, ratings, and reviews without authentication.

Instructions

List books on a shelf via its RSS feed (public shelves; no auth).

Common shelves: 'read', 'currently-reading', 'to-read', plus any custom shelf name. Names are case-sensitive and must match a shelf the user has (list_shelves gives them); any other name raises ValueError. An empty name, or '#ALL#', lists every shelf. RSS pages hold ~100 items; pass page=2,3,... for more (pages start at 1). Defaults to the configured GOODREADS_USER_ID. Raises LoginRequired for a private profile, whose feed is empty. Raises ShelfFeedUnavailable when Goodreads answers the feed with 404, as it has for every user since Oct 2026 (#421).

Each item has title, author, book_id, isbn, average_rating (float), my_rating (int 1-5; None when unrated), shelves, date_added and date_read (YYYY-MM-DD; "" when absent, the raw text if it is not a date), year_published (int or None), cover (image URL), pages (int), my_review (the reader's review text, may hold line breaks) and link. cover, pages and my_review are None when the book has none.

When you cite a book from a shelf, link it to its 'link' field.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_shelf"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
shelfNoto-read
user_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2026.9.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark it read-only, idempotent, open-world, and non-destructive, but the description adds substantial behavior: public RSS access, ValueError on invalid shelves, LoginRequired for private profiles, ShelfFeedUnavailable on 404, page size, field-level None/empty handling, and citation guidance. There is no contradiction with the annotations.

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 description is front-loaded with the core purpose and then organized into input, error, and output details. It is longer than necessary because it enumerates every returned field even though an output schema exists, but the information is structured and mostly earns its place.

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 tool with three parameters and 0% schema description coverage, the definition covers valid inputs, pagination, defaults, failure modes, and returned data in enough detail for correct invocation. The output schema makes the lengthy field enumeration extra rather than required, but the description is self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it does: shelf names and case rules, empty/#ALL# semantics, page pagination and start index, and user_id defaulting to the configured GOODREADS_USER_ID. The only minor omission is that it does not explicitly restate the schema default shelf value of 'to-read', but the added meaning is otherwise strong.

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: list books on a shelf via its RSS feed. It also scopes the tool as public/no-auth and references list_shelves for valid shelf names, making it clearly distinguishable from sibling tools such as search_books.

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?

It gives detailed operational guidance: common shelf names, case sensitivity, validation via list_shelves, empty/#ALL# behavior, pagination, default user, and key error cases. It does not explicitly compare when to use this versus siblings like search_books, so it falls short of a full when/when-not/alternatives statement.

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