Skip to main content
Glama

formatPaperback KDP calculators

KDP paperback royalty

kdp_royalty
Read-onlyIdempotent

KDP paperback printing cost and royalty per sale from list price, page count, marketplace and ink, using KDP's published formulas and 50%/60% rates.

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": {
      "list_price": "<list_price>",
      "page_count": "<page_count>"
    },
    "name": "kdp_royalty"
  }
}

Input Schema

NameRequiredDescriptionDefault
inkNobw (black ink, white or cream), bw-groundwood, std-color or premium-colorbw
trim_sizeNoTrim size key; large trims (wider than 6.12 in or taller than 9 in) cost more to print6x9
list_priceYesTax-exclusive list price in the marketplace's currency
page_countYesInterior page count (24–828)
marketplaceNous (Amazon.com, USD), uk, eu, pl, se, jp, ca or auus
expanded_distributionNoExpanded Distribution (40% rate, Amazon.com only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuine value by naming the source of truth ('KDP's published formulas') and the rate basis (50%/60%), which an agent cannot infer from annotations. It omits other behavioral facts such as whether the 40% Expanded Distribution rate is reflected and whether rounding/currency conventions apply to the returned amounts.

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?

A single dense sentence with no filler, and the core output (cost and royalty) is front-loaded before the input list. It is efficient, though the packed clause structure makes it slightly harder to scan than a two-sentence split of what-it-does and what-it-uses.

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 deterministic calculator with no output schema, the description names both return values (printing cost and royalty) and the formula basis, so an agent knows what comes back. The only gaps are minor: output currency and rounding are unstated. Annotations plus the fully documented schema cover the rest.

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 the schema already documents every parameter including the ink enum, trim-size cost caveat, page range and marketplace options. The description echoes four of the six parameter names (list price, page count, marketplace, ink) without adding syntax, units or defaults. Baseline 3 is appropriate when the schema does the heavy lifting.

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 specific computation and its inputs: printing cost and royalty per sale derived from list price, page count, marketplace and ink. That clearly separates it from siblings like kdp_cover_dimensions and kdp_margins, which compute geometry rather than money. It stops short of a 5 only because the verb is nominal ('printing cost and royalty per sale from...') rather than an explicit 'calculates'.

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 statement of when to use this versus alternatives, no prerequisites, and no exclusions. The scope 'per sale' and 'paperback' are implied context but no routing guidance is given, even though the sibling set (trim sizes, margins, cover dimensions) suggests an agent may need to choose among related calculators.

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