Skip to main content
Glama

Book history

get_book_history
Read-only

A book's daily history, oldest first: metric rank (store-wide Amazon BSR; inferred marks a day it was worked out from a list position), price (USD), reviews (number of ratings) or rating. One value per day; days without a reading are left out. Use it to see whether a rank is steady, a launch spike or a seasonal wave before trusting a monthly estimate.

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

Input Schema

NameRequiredDescriptionDefault
asinYes
daysNo
metricNorank

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral detail beyond that: one value per day, days without a reading are omitted (sparse series), oldest-first ordering, and the `inferred` marker meaning a day derived from a list position. It does not cover response shape or limits, but for a read-only lookup the added context is solid.

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?

Two sentences, front-loaded with the resource and ordering, then the metric breakdown, then the usage rationale. Dense but every clause carries information. The parentheticals are load-bearing rather than filler, though the first sentence is heavy enough to slow scanning.

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?

With no output schema, the description does the work of describing the return shape: one value per day, oldest first, gaps omitted, plus the meaning of the `inferred` marker. That is enough to consume the result correctly. The gap is on the input side — nothing about valid `asin` form or what `days` controls beyond the schema's numeric bounds.

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 carries the burden. It does explain each `metric` enum value (rank as store-wide Amazon BSR, price in USD, reviews as number of ratings, rating) and clarifies the `inferred` flag semantics. However, `asin` and `days` get no explanation at all — the 1–365 bound and 90 default are only in the schema, and the description never says what a larger `days` window does to the result.

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 names a specific resource and scope: a single book's daily history, ordered oldest first, with the metric selectable. An agent immediately knows this is a per-ASIN time series, not an aggregate or a list browse. It stops short of naming a sibling to distinguish from (e.g. get_book or get_extended_ranks), so it is clear but not sibling-differentiated.

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?

It gives a concrete use case with a condition attached: check whether a rank is steady, a launch spike or a seasonal wave before trusting a monthly estimate. That effectively points the agent away from using this for a single summary number. No explicit exclusions or named alternative tool are given, which keeps it below a 5.

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.