Skip to main content
Glama

Book detail

get_book
Read-only

Book metadata, daily rank history on every list it appeared in, and sales-rank / price / publication data when available (overall sales rank with 30/90/180-day averages, rank drops ~ sales events, prices, pages, publisher, publication date). search_keywords lists the Amazon searches the book shows up in from KDPTop's own crawl: organic_rank, ad_pos (sponsored slot, a sampled observation) and monthly searches.

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": {
      "asin": "<asin>"
    },
    "name": "get_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
asinYes
daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare this a read-only, closed-world lookup, so the bar is lower. The description does add real behavioral context beyond them: data appears 'when available' (fields can be absent) and ad_pos is flagged as 'a sampled observation' rather than an exact figure. It does not cover behavior for unknown ASINs, rate limits, or cost of the call.

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?

It is front-loaded with the core payload and contains no filler. The heavy parenthetical nesting and run-on sentence make it denser than necessary, but every clause conveys real data content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description rightly carries the return-value burden and does so thoroughly, including caveats about missing data and sampled ad positions. However, for a two-parameter tool with zero schema description coverage, leaving the windowing parameter unexplained is a meaningful completeness gap.

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 coverage is 0% and neither parameter is mentioned. The 'days' parameter (default 30, max 365) is completely undefined — the agent cannot tell whether it is a rank-history lookback window or something else, and the mention of '30/90/180-day averages' could wrongly suggest days controls those averages.

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 states a concrete resource (a single book's metadata) and enumerates the payload: rank history, sales rank with 30/90/180-day averages, price, publisher, and keyword visibility. It is clear what the tool returns, but it never distinguishes itself from the sibling get_book_history, which plausibly overlaps with the 'daily rank history' portion.

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 explicit when-to-use or when-not-to-use guidance. The agent must infer from 'Book metadata' that this is the per-ASIN detail lookup, and nothing tells it whether to call this or get_book_history / get_extended_ranks for rank data.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.