Skip to main content
Glama

formatPaperback KDP calculators

KDP cover size and spine width

kdp_cover_dimensions
Read-onlyIdempotent

Full-wrap KDP paperback cover size (bleed included) and spine width from trim size, page count and paper, in inches, mm and 300 DPI pixels.

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

Input Schema

NameRequiredDescriptionDefault
paperNobw-white (black ink, white paper), bw-cream, std-color or premium-colorbw-white
trim_sizeNoKDP trim size key, width x height in inches, e.g. "6x9" or "5.5x8.5"6x9
page_countYesInterior page count (24–828)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so safety is covered. The description adds genuinely useful context beyond them: the result includes bleed, is expressed in three unit systems, and is derived purely from the three inputs rather than looked up.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that names the output, the bleed inclusion, the inputs, and the units of measure with zero filler. Nothing to trim and nothing buried.

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?

There is no output schema, so the description carries the return-value burden and does so by naming the two results and the three unit systems. It stops short of enumerating the returned fields (e.g. separate spine width vs. total cover width/height values), which would fully close the gap.

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% and both enums are documented with their meanings, so the schema carries the parameter burden. The description only restates which inputs feed the formula and adds no format or constraint detail beyond the schema (e.g. minimum page count already lives in the schema).

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?

States a specific computed resource — full-wrap cover size with bleed plus spine width — and names the exact driving inputs (trim size, page count, paper) and output units. No sibling (kdp_trim_sizes, kdp_margins, kdp_royalty) could be confused with this.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the presence of page_count as required and trim_size/paper as optional signals it is the cover/spine calculator, but there is no explicit 'use this when' or a pointer to a sibling for related tasks. Adequate for an unambiguous single-purpose calculator, nothing more.

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