Skip to main content
Glama

TinyWink Publishers

Estimate page count

estimate_page_count
Read-onlyIdempotent

Estimated printed page count from word count, trim size and layout density.

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": {
      "words": "<words>"
    },
    "name": "estimate_page_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
trimNoTrim size id like "6x9", "5.5x8.5", "5x8" (KDP trims: 5x8, 5.06x7.81, 5.25x8, 5.5x8.5, 6x9, 6.14x9.21, 6.69x9.61, 7x10, 7.44x9.69, 7.5x9.25, 8x10, 8.25x6, 8.25x8.25, 8.5x8.5, 8.5x11, 8.27x11.69) or any "WxH" in inches.6x9
wordsYes
densityNostandard
chaptersNo

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 read-only, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds that the result is an estimate derived from three layout factors, but says nothing about accuracy assumptions, rounding, how chapters alters page breaks, or what the response looks like.

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 front-loaded sentence with no filler or redundancy. It is efficient, though the brevity borders on under-specification for a four-parameter calculator.

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?

For a simple computation with no output schema, the definition is minimally adequate: inputs are gestured at and the nature of the output (a page count) is clear from the name. However, one parameter is unmentioned and there is no guidance on result format or how to interpret chapters and density.

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 only 25% (only 'trim' is documented), so the description should compensate more than it does. It names words, trim size and density but omits the 'chapters' parameter entirely and does not explain what airy/standard/compact mean in words-per-page terms; it only implies which inputs matter.

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 ('estimate') and resource ('printed page count') and names the driving inputs (word count, trim size, layout density), which is more than a restatement of the title. It does not distinguish itself from sibling calculators such as calculate_spine_width or calculate_cover_size, so it stops short of a 5.

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 when-to-use guidance: nothing says whether this is for print interiors only (not ebooks), whether to call it before selecting a trim from list_trim_sizes, or how it relates to estimate_quote. Usage is only inferable from the tool name.

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