Skip to main content
Glama
hardcover-mcp

hardcover-mcp

Add Book to Library

hardcover_add_user_book

Add a book to your Hardcover library by ID and assign its reading status to track progress, save it for later, or mark it as read.

Instructions

Add a book to your library with a reading status. Status: 1=Want to Read, 2=Currently Reading, 3=Read, 4=Paused, 5=Did Not Finish, 6=Ignored. [API cost: up to 1 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. Never automatically replay a write. On timeout/connection loss/5xx, reconcile remote state before any authorized retry. Hints are not approval gates.

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": {
      "book_id": "<book_id>",
      "status_id": "<status_id>"
    },
    "name": "hardcover_add_user_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
book_idYesThe Hardcover book ID to add
status_idYesStatus: 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.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false; the description meaningfully builds on that by stating every retry costs a GraphQL field, that writes must never be automatically replayed, and that remote state should be reconciled after timeouts or 5xx. That is exactly the extra context an agent needs for a non-idempotent mutation. It stops short of saying what happens when the book is already in the library, which is the main behavioral 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 roughly half the text is generic rate-limit/retry boilerplate that reads as applied uniformly across the server rather than tailored to a single 2-parameter write. Sentences like 'use bounded pages; do not fan out detail lookups' do not earn their place here.

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

Completeness3/5

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

For a simple, non-idempotent write with no output schema, the description covers cost and retry safety well but omits the practical outcome questions: whether adding an existing book errors or updates, and what identifier the caller gets back. Completeness is adequate but leaves the duplicate-handling case unaddressed.

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?

Schema coverage is 100%, and both properties already document book_id and the full status_id mapping, so the description's restatement of the status codes adds nothing new. With the schema doing the heavy lifting, the baseline 3 applies; no syntax, default, or edge-case semantics are added.

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?

"Add a book to your library with a reading status" names a specific verb (add) and resource (book/user library), and the status enumeration makes the effect concrete. It is distinguishable from hardcover_add_list_book by the 'library' vs list destination, though the description never explicitly names that sibling to reinforce the distinction.

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?

The description gives operational guidance (check hardcover_get_rate_limit before multi-page work, use bounded pages, reconcile before retrying a write) but does not say when to use this tool versus hardcover_update_user_book or hardcover_add_list_book. For a two-parameter write, guidance about 'multi-page work' and 'fan out detail lookups' is largely inapplicable, so routing guidance is implied rather than explicit.

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