Skip to main content
Glama
hardcover-mcp

hardcover-mcp

by tannerwj

Set Hardcover User Book

hardcover_set_user_book
Idempotent

Create or update the authenticated user's Hardcover library entry for a book, including reading status, rating, privacy, notes, and dates.

Instructions

Create or update the authenticated user's library entry for a book.

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": {
      "bookId": "<bookId>"
    },
    "name": "hardcover_set_user_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookIdYes
ratingNo
statusNo
privacyNo
dateAddedNo
editionIdNo
readCountNo
reviewedAtNo
lastReadDateNo
privateNotesNo
reviewSlateJsonNo
reviewHasSpoilersNo
firstStartedReadingDateNo

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered; the description adds the useful detail that the entry belongs to the 'authenticated user' (an auth requirement). It says nothing about what happens to fields that are omitted on an update, which matters greatly for a 13-field upsert, and nothing about the enum statuses or privacy implications.

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?

A single front-loaded sentence with zero filler, and the verb and resource are established immediately. For a mutation with 13 optional fields the sentence is arguably under-sized, but there is no wasted wording to trim.

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

Completeness2/5

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

An output schema exists, so return values need no explanation, but the mutation semantics are left unresolved: whether omitting a field preserves or clears it, whether status changes trigger side effects, and what the 13 fields mean. Given the parameter count and 0% schema coverage, the definition is too thin for an agent to call it confidently.

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

Parameters2/5

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

Schema description coverage is 0% across 13 parameters, so the description must compensate and it does not: rating, status, privacy, readCount, reviewSlateJson, privateNotes, and the several date fields are all unexplained. The only semantic hint is that the entry is keyed to a book, which loosely points at bookId as the required key.

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 pair and resource: 'Create or update' an 'authenticated user's library entry for a book.' An agent can tell this is an upsert on a per-book library entry. It does not, however, differentiate itself from siblings such as hardcover_add_user_book_read or hardcover_update_user_book_read, which touch a related but distinct concept.

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?

There is no guidance on when to prefer this upsert over hardcover_add_user_book_read / hardcover_update_user_book_read for read-tracking, nor when hardcover_delete_user_book is the right call. The word 'or' implies it handles both creation and editing, but no conditions, prerequisites, or exclusions are given.

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