Skip to main content
Glama
hardcover-mcp

hardcover-mcp

by tannerwj

Update Hardcover Prompt Answer

hardcover_update_prompt_answer
Idempotent

Updates the description of an existing prompt answer in Hardcover, letting MCP clients revise answer text by prompt answer ID.

Instructions

Update the description of an existing prompt answer.

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": {
      "description": "<description>"
    },
    "name": "hardcover_update_prompt_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookIdNo
promptIdNo
descriptionYes
promptAnswerIdNo

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds value by narrowing the mutation to only the answer's description field, but it says nothing about permissions, what happens to other fields, or how the target answer is located.

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?

The definition is a single, front-loaded sentence with no filler or redundancy. It is efficient, though its brevity contributes to the missing parameter and usage detail rather than being optimally informative.

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?

For a four-parameter mutation with 0% schema coverage, the description is too thin: it omits how to identify the target answer and any preconditions. An output schema exists, so return values need not be described, but identifier semantics and usage context are still missing.

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% for four parameters, and the description only vaguely gestures at the 'description' field. It never explains how bookId, promptId, and promptAnswerId relate — whether they are alternative identifiers or jointly required to locate the answer — which is critical since only 'description' is marked required.

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 uses a specific verb+resource pair ('Update the description of an existing prompt answer') that lets an agent distinguish it from siblings like hardcover_update_prompt or hardcover_add_prompt_answer. It is clear what is being changed, but it does not explicitly contrast itself with the other update_* tools in the catalog.

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 or when-not-to-use guidance, no mention of prerequisites (e.g. needing an existing answer), and no routing to alternatives such as hardcover_add_prompt_answer for new answers. The agent must infer the usage context entirely from the tool name.

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