Skip to main content
Glama
hardcover-mcp

hardcover-mcp

Remove Book from Library

hardcover_remove_user_book
Destructive

Remove a book from your Hardcover library using its user_book_id; the deletion is irreversible, so confirm the ID before calling.

Instructions

Remove a book from your library. This is irreversible. Use hardcover_get_user_books to find the user_book_id. [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": {
      "user_book_id": "<user_book_id>"
    },
    "name": "hardcover_remove_user_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_book_idYesThe user book ID to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true; the description adds meaningful context beyond that—irreversibility, per-retry API cost, and the requirement to reconcile remote state on timeout/5xx before retrying a write. It stops short of describing permissions or what a successful response contains.

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?

Purpose and irreversibility are correctly front-loaded, but the bulk of the text is generic rate-limit/retry boilerplate, and the bracketed API-cost fragment is cryptic and interrupts the flow. Roughly half the sentences do not earn their place in a tool-specific definition.

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 single-parameter destructive mutation with full annotation coverage and no output schema, the definition covers safety, ID derivation, and retry hazards adequately. Missing only permission/auth expectations and confirmation of what the response reports.

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 coverage is 100% with a single well-described parameter, so the baseline is 3. The description adds provenance value by telling the agent the user_book_id must come from hardcover_get_user_books rather than being guessed or reused from a book/edition 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?

States a specific verb and resource ("Remove a book from your library") and names the sibling to use for ID lookup. Differentiation from hardcover_remove_list_book is only implicit via "your library" rather than explicit, so it falls short of a 5.

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?

Gives concrete preconditions: fetch the user_book_id via hardcover_get_user_books and check hardcover_get_rate_limit before multi-page work. No explicit when-not-to-use guidance or comparison against hardcover_remove_list_book, so not a 5.

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