Skip to main content
Glama
hardcover-mcp

hardcover-mcp

by tannerwj

Add Hardcover Prompt Answer

hardcover_add_prompt_answer

Submit an answer to a Hardcover prompt by selecting a book from your library, optionally including prompt details and a description.

Instructions

Answer a Hardcover prompt with a book from your library.

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": {
      "bookId": "<bookId>"
    },
    "name": "hardcover_add_prompt_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookIdYes
promptIdNo
promptSlugNo
descriptionNo

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare this is a non-read-only, non-idempotent, open-world mutation, so the safety profile is covered. The description adds no behavioral context beyond that: nothing about duplicate answers, whether an existing answer is replaced, or library membership requirements, which matter for a non-idempotent write.

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?

A single short sentence with no wasted wording and the key constraint front-loaded, so it is structurally fine. The brevity is under-specification rather than genuine economy, however, given the four-parameter mutation it fronts.

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 described. But for a four-parameter, non-idempotent write with zero schema coverage, the definition leaves the identifier choice, the description field, and the write semantics entirely to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters, so the description carries the full burden. 'A book from your library' weakly hints at bookId, but the promptId/promptSlug pair (apparently alternative identifiers, with promptId not even required) and the free-form description field are completely unexplained.

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 ('Answer') and resource ('a Hardcover prompt'), plus the source of the answer ('a book from your library'), which reads clearly as the create-side operation among the sibling add/update/delete prompt-answer tools. It stops short of naming or contrasting any sibling, so it is clear but not differentiating.

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 guidance on when to use this versus hardcover_update_prompt_answer or hardcover_delete_prompt_answer, nor on prerequisites such as having the book in the user's library or a valid prompt. The only implied usage is embedded in the phrase 'from your library'.

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