Skip to main content
Glama
hardcover-mcp

hardcover-mcp

Get User Books

hardcover_get_user_books
Read-onlyIdempotent

Retrieve books from a user's library and filter by reading status, such as want to read, reading, read, paused, did not finish, or ignored. Defaults to the authenticated user's library.

Instructions

Get books from a user's library. Filter by status: 1=Want to Read, 2=Currently Reading, 3=Read, 4=Paused, 5=Did Not Finish, 6=Ignored. If no user_id provided, returns the authenticated user's library. [API cost: up to 2 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. With user_id: 1 field; without: up to 2 (me + data).

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": "hardcover_get_user_books"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return (1-100, default 20)
offsetNoNumber of results to skip for pagination
user_idNoUser ID (defaults to authenticated user)
status_idNoFilter by status: 1=Want to Read, 2=Reading, 3=Read, 4=Paused, 5=DNF, 6=Ignored

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, yet the description adds substantial context beyond them: per-call GraphQL field cost, the fact that retries cost again, and the obligation to honor RateLimit, RateLimit-Policy, Retry-After and cooldowns. It stops short of describing the shape of returned book records, which is the remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and status mapping are correctly front-loaded, but the back half is dense rate-limit boilerplate across three overlapping sentences (cost before retries, header honoring, bounded pages) that restates the same constraint. It is informative but not tightly edited.

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 four-parameter, no-required-arg read tool with full schema coverage and annotations, the description covers defaults, filtering, pagination discipline and cost model. Since no output schema exists, a short note on what a book entry contains would have made it 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 description coverage is 100%, so the schema already documents all four parameters and the status mapping, making the description's repetition of them low-value. However, it adds a real decision signal not in the schema: calling with user_id costs 1 field while omitting it costs up to 2 (me + data), giving the agent a concrete reason to pass the ID.

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 names a specific verb and resource ("Get books from a user's library") and clarifies the default scope when user_id is absent. It does not explicitly differentiate against siblings such as hardcover_search_books or hardcover_find_books, so an agent must infer that this returns owned library entries rather than catalog matches.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage guidance is operational rather than selective: it directs the agent to hardcover_get_rate_limit before multi-page work, to use bounded pages, and not to fan out detail lookups. That is genuinely useful, but there is no explicit statement of when to choose this tool over the search/find siblings, which is the main selection ambiguity here.

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