Skip to main content
Glama
hardcover-mcp

hardcover-mcp

Get Book

hardcover_get_book
Read-onlyIdempotent

Fetch detailed book metadata by Hardcover ID, including title, description, pages, rating, authors, tags, series, and editions.

Instructions

Get detailed information about a book by its Hardcover ID. Returns title, description, pages, rating, and up to 20 authors/contributions, 30 tags, 20 series and 5 editions. Nested collections may be incomplete. [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.

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>"
    },
    "name": "hardcover_get_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
book_idYesThe Hardcover book ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world, yet the description adds substantial context beyond them: the field composition and caps of the response (20 authors, 30 tags, 20 series, 5 editions), the caveat that nested collections may be incomplete, API cost per call, and the fact that retries cost again. That is exactly the kind of behavioral disclosure annotations cannot carry.

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?

Front-loaded with purpose and return shape before the cost warnings, and most sentences earn their place. The bracketed cost line ("up to 1 top-level GraphQL fields before retries") is awkwardly worded and slightly ambiguous, which keeps it below top marks.

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?

With no output schema, the description carries the burden of describing returns and does so with concrete caps and an incompleteness caveat for a simple single-parameter getter. The rate-limit mechanics are referenced but the cost statement itself is not fully resolved.

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?

Only one parameter exists and the schema documents it fully at 100% coverage ("The Hardcover book ID" with integer bounds). The description restates the same idea without adding format, range, or sourcing guidance, so the baseline 3 is appropriate.

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 ("Get detailed information about a book") plus the lookup key ("by its Hardcover ID"), which implicitly separates it from the find_/search_ siblings. It stops short of explicitly naming that alternative, so the differentiation is inferable rather than stated.

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 operational guidance: check hardcover_get_rate_limit before multi-page work, honor RateLimit/Retry-After headers, use bounded pages, and avoid fanning out detail lookups. It names the rate-limit sibling but never states when to prefer find_books/search_books over an ID lookup, so exclusion guidance is partial.

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