Skip to main content
Glama
hardcover-mcp

hardcover-mcp

Get User

hardcover_get_user
Read-onlyIdempotent

Retrieve a Hardcover user's public profile by ID or username to view account details for reading activity or library context.

Instructions

Get a user's public profile by their ID or username. [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

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_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idNoHardcover user ID
usernameNoHardcover username

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 cover safety (readOnly, idempotent, non-destructive, openWorld), and the description goes meaningfully beyond them by disclosing cost accounting per call, retry cost, header/cooldown obligations, and an anti-fan-out constraint. The cost bracket phrase ("up to 1 top-level GraphQL fields before retries") is slightly malformed, but the behavioral contract is clear.

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 purpose sentence is front-loaded and the rate-limit constraints follow in compact imperative form. The bracketed cost phrase reads as machine-generated boilerplate and is the one part that could be tightened without losing meaning.

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?

For a simple read-only lookup with annotations covering safety and no output schema obligation, the definition supplies what an agent needs: inputs, cost model, rate-limit protocol, and a usage constraint. Missing only the interaction rule between the two optional parameters.

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%, so both parameters are already documented; the description only restates that lookup is by ID or username. It adds no guidance on precedence if both are supplied, or what happens when neither is supplied (required count is zero), which would be the genuinely useful information beyond the schema.

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 a user's public profile") plus the two lookup keys (ID or username), which is enough to distinguish it from the many list/search siblings. It does not explicitly carve out the likely nearest neighbor, hardcover_get_me, so the boundary between "a user" and "me" is left for the agent to infer.

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, expect repeat cost on retries, honor rate-limit headers and cooldowns, and "do not fan out detail lookups." That is real when-to-use and how-not-to-use guidance naming an alternative tool. It stops short of stating when to prefer this over hardcover_get_me or username-vs-ID selection rules.

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