Skip to main content
Glama
hardcover-mcp

hardcover-mcp

Search Hardcover

hardcover_search
Read-onlyIdempotent

Search Hardcover by full text for books, authors, characters, lists, prompts, publishers, series, or users and return matching IDs for follow-up detail lookups.

Instructions

Universal full-text search across Hardcover using Typesense. Search for books, authors, characters, lists, prompts, publishers, series, or users. Returns matching IDs and search results. For detailed data, follow up with the appropriate get tool (e.g., hardcover_get_book). [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": {
      "query": "<query>"
    },
    "name": "hardcover_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
typeNoEntity type to search: Book, Author, Character, List, Prompt, Publisher, Series, or UserBook
queryYesSearch query text
per_pageNoResults per page (1-50, default 10)

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 readOnly, idempotent, non-destructive, open-world. The description goes well beyond that by disclosing a cost model (retries cost again), the need to honor RateLimit/RateLimit-Policy/Retry-After headers and cooldowns, and the fact that results are IDs plus matches rather than full records. The cost parenthetical is awkwardly worded, but the behavioral context is genuinely useful.

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-loads what the tool does and the follow-up pattern before the operational constraints. The rate-limit block is dense and slightly jargon-heavy ('up to 1 top-level GraphQL fields') but each sentence carries actionable information.

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 closes the loop by stating what comes back (matching IDs and search results) and how to get full records next. Given a simple four-parameter read tool, that plus the rate-limit guidance is close to sufficient; only the lack of explicit sibling routing leaves a gap.

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%, including the type enum and page/per_page bounds, so the schema already carries parameter meaning. The description restates the entity list covered by the enum and says nothing additional about paging or query syntax; 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?

States a specific verb and resource — full-text search across Hardcover via Typesense — and enumerates the entity types it covers (books, authors, characters, lists, prompts, publishers, series, users). The 'universal' framing implicitly distinguishes it from narrower type-specific siblings, but it never names an alternative such as hardcover_search_books, so differentiation is inferred 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 a clear follow-up path: use this for IDs, then call the appropriate get tool (e.g., hardcover_get_book) for detail. It also constrains usage operationally — bounded pages, no fan-out detail lookups, check the rate limit before multi-page work. What's missing is explicit guidance on when to pick this over the type-scoped search/find siblings.

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