Skip to main content
Glama

Price printed copies of an issue: print, shipping, tax and the per-copy cost

price_print_run
Read-onlyIdempotent

Prices a print run of a stapled 8.5 x 11 in magazine on 100 lb satin paper: Mixam's print price for that page count and quantity (quoted from Mixam's own calculator, date included), ground shipping to one US address, sales tax, our margin, card fees, the total and the price per copy. With mail_to_readers it adds, per reader, First-Class Mail postage for a flat at the issue's weight, an envelope and handling (copies come to us and we mail each one). Example: {"pages":28,"copies":10}; {"pages":24,"copies":40,"mail_to_readers":true}.

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>",
      "copies": "<copies>"
    },
    "name": "price_print_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYesPage count including covers, a multiple of 4 (lay_out_issue gives an estimate; the issue page shows the exact count)
copiesYesHow many copies
mail_to_readersNotrue = we mail one copy to each reader on a list the writer uploads (copies = number of readers)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the description focuses on added value: the price is quoted from Mixam's own calculator with a date, includes margin and card fees, and mail_to_readers adds per-reader First-Class postage plus envelope/handling. This explains cost composition and external dependence beyond what annotations convey, though it omits quote volatility and currency.

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?

Front-loaded with the core action, then the cost breakdown, then the optional mailing branch, then examples. Dense but nearly every clause carries information; only the long parenthetical about Mixam's calculator and the mailing mechanics push toward verbosity.

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?

With no output schema, the description takes on the burden of describing return values, and it does so by listing every component of the returned price. It stops short of stating currency explicitly or how stable/quoted prices are (though 'date included' hints at this), which is minor for a read-only pricing tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description still adds meaning: mail_to_readers implies copies equals the number of readers on an uploaded list and that copies physically come to the seller for mailing, and two worked examples show realistic invocations. It goes beyond the schema rather than restating it.

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?

Names a specific verb+resource ('Prices a print run of a stapled 8.5 x 11 in magazine on 100 lb satin paper') and enumerates exactly what the price covers: print, ground shipping, tax, margin, card fees, total, and per-copy cost. It is unmistakably distinct from layout/archive siblings, which do not produce pricing at all.

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?

The scenario is well framed (pricing a physical print run, optionally mailing to readers), and the mail_to_readers branch is explained, but there is no explicit 'use this when / not when' or comparison against alternatives such as lay_out_issue. Usage is implied by the described computation rather than stated as routing guidance.

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