Skip to main content
Glama

MyClawn KDP Book Formatting

Preview book interior

preview_book_interior

Typeset pasted manuscript text as a print-ready book interior and return page images with the page, word and chapter counts.

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": {
      "manuscript": "<manuscript>"
    },
    "name": "preview_book_interior"
  }
}

Input Schema

NameRequiredDescriptionDefault
trimNoTrim size in inches. Default 5.5x8.5.
styleNoInterior style. Default classic.
titleNoBook title. Taken from the text when left out.
authorNoAuthor name, shown on the title page.
manuscriptYesThe manuscript as plain text, up to 1,000,000 characters (the site's own upload takes files up to 30 MB). Put each chapter heading on its own line, for example "Chapter 1". The first pages are typeset.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations declare destructiveHint=false and openWorldHint=false, so the safety profile is already supplied; the description adds that output is page images plus counts. It does not explain the notable readOnlyHint=false (i.e., what side effect a preview has, such as consuming credits or creating a draft) nor that only the opening pages are typeset, which is a meaningful behavioral limit. No contradiction with annotations.

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: verb, input, output. Every clause earns its place and nothing is buried.

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

Completeness3/5

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

It covers input source and return value, and the schema carries the parameter detail, but for a tool with readOnlyHint=false and a sibling formatting tool it leaves key questions open: whether anything is persisted, whether the preview is partial (only in the schema), and how it relates to start_book_formatting.

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 enums and defaults documented inline for trim, style, title, author and manuscript. The description adds no additional meaning beyond what the schema already explains (including the chapter-heading convention and the first-pages constraint). Baseline 3 is appropriate.

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?

States a specific verb (typeset) and resource (pasted manuscript text) plus the concrete deliverable (page images with page, word and chapter counts). An agent can tell what it does at a glance. However, it does not distinguish itself from the sibling start_book_formatting, so an agent must guess whether previewing and formatting are separate steps.

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?

The word 'preview' and 'return page images' imply a sample-before-you-commit workflow, but the description never says when to call this versus start_book_formatting, gives no prerequisites, and states no exclusions. Nothing in the text routes the agent to an alternative.

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