Skip to main content
Glama

TinyWink Publishers

KDP spine width

calculate_spine_width
Read-onlyIdempotent

Paperback spine width for Amazon KDP from page count and paper type, plus whether spine text is allowed.

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": {
      "pages": "<pages>"
    },
    "name": "calculate_spine_width"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYes
paperNowhite = Black ink, white paper; cream = Black ink, cream paper; groundwood = Black ink, groundwood paper; standard-color = Standard color, white paper; premium-color = Premium color, white paperwhite

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, idempotentHint, non-destructive and closed-world, so the safety profile needs no restating. The description usefully discloses that a spine-text-allowance result is returned alongside the width, which is real added value given no output schema, but it omits units (mm vs inches), precision, and any threshold at which spine text becomes disallowed.

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 with no filler; every clause carries information (calculation inputs, platform scope, secondary output). Nothing is repeated from the title.

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 two-parameter, read-only calculation with no output schema, the description covers inputs and hints at both return values, which is close to sufficient. The remaining gap is the missing units/format of the returned width, which an agent cannot infer from structured fields alone.

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 50%: the paper enum is already fully self-documented in the schema, while pages has no description beyond its 1-1000 range. The description adds only that pages means interior page count and that paper type matters, which is modest compensation for the undocumented parameter.

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 gives a specific resource (paperback spine width for Amazon KDP) and the exact inputs that drive it (page count, paper type), plus a secondary output (spine text allowance). It does not name or contrast any sibling such as calculate_cover_size, but the purpose itself is unambiguous.

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?

Scope is implied by "Paperback ... for Amazon KDP," which tells an agent this does not apply to hardcover or non-KDP jobs. However, there is no explicit when-to-use guidance, no prerequisite statement, and no pointer to where cover or margin calculations live instead.

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