Skip to main content
Glama

Bulk price

bulk_price
Read-onlyIdempotent

Per-copy price and total for a quantity of one book (by ISBN-13), using the same tier math as the bookpal.com cart, with the tier that applies, the next tier, and the full tier table. Use it when the buyer gives a quantity. Orders of 1,000+ copies, purchase orders and tax-exempt orders go through a quote; quote_url is set then.

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": {
      "isbn13": "<isbn13>",
      "quantity": "<quantity>"
    },
    "name": "bulk_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
isbn13YesThe book's ISBN-13 (an ISBN-10 is accepted too).
quantityYesNumber of copies, 1 to 100,000.

Output Schema

NameRequiredDescriptionDefault
urlYesCanonical bookpal.com page for this answer; cite and link it.
noteYes
tiersYesEvery bulk tier the book page shows, ascending; empty when the price is by quote.
titleYes
totalYes
formatYes
isbn13Yes
per_copyYes
quantityYesThe quantity priced (raised to the minimum order, capped at the online limit).
next_tierYes
quote_urlYesSet when this order should go through a quote (large orders, or a price by quote).
tier_labelYes
snapshot_atYesWhen this catalog data was last synced from bookpal.com (ISO 8601).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world, non-destructive), so this needs to add context — and it does: the pricing algorithm matches the bookpal.com cart, the response includes the applicable tier, the next tier and the full table, and large/PO/tax-exempt orders return a quote_url instead of a straight price. What's missing is a note that the quote path still returns a response (rather than erroring) and any indication of stale pricing or caching.

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?

Three sentences, front-loaded with what is returned before the usage rule, and the quote exception is placed last where it reads as a caveat. The first sentence is dense and stacks several return fields, but no sentence is padding.

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

Completeness5/5

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

For a two-parameter read-only pricing tool with a full output schema and complete annotation coverage, the description supplies everything an agent needs: the calculation basis, the response shape in prose, and the exception path that produces a quote_url. Return-value details can be left to the output schema, so nothing material is missing.

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%, with both isbn13 (ISBN-13 or ISBN-10 accepted) and quantity (1–100,000) documented in the schema, so the baseline is 3. The description only echoes 'by ISBN-13' and 'a quantity' without adding constraints, format nuance, or what quantity values trigger the quote path (the 1,000 threshold is a business rule the schema's max of 100,000 does not convey).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause states a specific verb (compute/return price) and resource (per-copy price and total for one ISBN-13 at a given quantity), and adds that the tier math matches the bookpal.com cart plus which fields come back (applicable tier, next tier, full tier table). This is far more than a restatement of the name 'bulk_price' and lets an agent distinguish it from a quote-link tool.

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?

Explicit trigger ('Use it when the buyer gives a quantity') plus an exclusion path: 1,000+ copies, purchase orders and tax-exempt orders go through a quote, signalled by quote_url being set. The guidance is clear, but the alternative tool (request_quote_link) is never named, so the agent must infer which sibling to route to for those cases.

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.

Resources