Skip to main content
Glama
hardcover-mcp

hardcover-mcp

Add Book to List

hardcover_add_list_book

Adds a specified book to an existing Hardcover list, optionally at a chosen position, so you can organize reading lists directly through the API.

Instructions

Add a book to a list at an optional position. [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": {
      "list_id": "<list_id>",
      "book_id": "<book_id>"
    },
    "name": "hardcover_add_list_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
book_idYesThe book ID to add
list_idYesThe list ID
positionNoPosition in the list (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true. The description adds genuinely useful write-safety context — retries cost again, never auto-replay a write, reconcile remote state after timeout/5xx — but it never says what happens on a duplicate add, which is the key risk given idempotentHint=false.

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 is correctly front-loaded in one tight sentence, but the remainder is generic rate-limit and retry boilerplate that reads as tool-agnostic policy text, and the closing clause 'Hints are not approval gates' is unexplained. It is not bloated beyond usefulness, but several sentences do not earn their place in this specific definition.

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 three-parameter non-idempotent write with no output schema, the definition covers purpose and retry safety. It leaves open the duplicate-add outcome, list ownership/permission requirements, and any feedback on where the book landed — gaps that matter for correct invocation.

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 description coverage is 100%, so list_id, book_id and position are all documented in the schema, including bounds. The description only echoes 'optional position' and adds no semantics about out-of-range values, negative positions, or collision behavior, so baseline 3 applies.

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 opening sentence gives a specific verb and resource ('Add a book to a list') plus the optional positional behavior, which cleanly separates it from hardcover_add_user_book and hardcover_remove_list_book. It stops short of naming a sibling or spelling out the distinction, but the resource is unambiguous.

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?

The only routing hint is operational ('Check hardcover_get_rate_limit before multi-page work'), which tells the agent about throttling, not when this tool is the right choice over hardcover_add_user_book or hardcover_update_list. No prerequisites are stated, such as whether the caller must own or follow the list.

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