Skip to main content
Glama
hardcover-mcp

hardcover-mcp

by tannerwj

Get Hardcover Book

hardcover_get_book
Read-onlyIdempotent

Fetch a Hardcover book using its numeric ID or slug to retrieve book details.

Instructions

Fetch a Hardcover book by numeric id or slug.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hardcover_get_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
slugNo

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered by structured data. The description adds no behavior beyond that — no note on what happens when the id does not exist, whether the response includes nested editions/authors, or whether the open-world lookup can be slow.

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 no filler — the resource and the lookup keys come first. It is appropriately brief, though the brevity costs it the exclusivity detail noted above.

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 not be explained, but for a two-parameter tool with an empty required list and 0% schema coverage the description leaves a real functional gap: the agent cannot tell whether it must supply exactly one of id/slug or whether both may be combined. Error behavior for a missing id is also unaddressed.

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 0%, so the description must compensate, and it does partially: it establishes that 'id' is numeric and that 'slug' is an alternative identifier for the same record. It does not state whether the two are mutually exclusive, which wins if both are sent, or that at least one is required (required list is empty).

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 gives a specific verb ('Fetch') and resource ('a Hardcover book'), plus the two lookup keys. It is clearly distinct from siblings like hardcover_get_edition or hardcover_get_series, though it never names those alternatives explicitly.

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 when-to-use guidance at all: nothing about when to prefer this over hardcover_search to find a book by title, or over hardcover_get_edition when a specific printing is wanted. The only implied context is that the caller already has an id or slug.

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