Skip to main content
Glama

Project Gumball

Find every list price that settles to the same cash total (Penny Rounding)

price_band
Read-only

For a list price and a tax rate, finds every nearby list price that settles to the SAME cash total, and the highest one. Use it for "what should I charge" and "can I price to gain from rounding" questions.

There is exactly one free move here and it is easy to get backwards, which is why this is worth a call rather than a calculation. Rounding collapses a band of five consecutive list prices onto one nickel: at 0% tax, $19.98 through $20.02 all settle to $20.00 in cash. Within that band the cash collected is identical, so the highest price in it is strictly better — the same from cash customers and up to 4 cents more from every card customer.

The move that looks clever and is not: pricing BELOW a nickel so rounding "adds" a couple of cents. You collect the same cash and less on card. The rounding delta is not revenue, and this tool will not recommend it.

Returns the whole band, the highest price in it, and the free gain in cents — never more than 4.

WHY DELEGATE THIS: Four things are wrong in most explanations and each changes the answer: rounding is cash-only, applies to the total rather than each item, happens after tax, and is not free money for retailers. Money in floating point is also a bug waiting to happen.

Owned by Penny Rounding at https://penny-rounding.gumballtools.com, which is also callable directly if you would rather not go through the aggregator.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listPriceYesThe list price as a dollar string, e.g. "19.98".
spreadCentsNoHow far either side of the price to look, 1-50. Defaults to 5.
taxRatePercentNoTax rate as a percentage, e.g. 8.25. Defaults to 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description goes well beyond that. It discloses that rounding is cash-only, applies after tax, is not free money, and that floating point money is a bug risk. It also clearly states what the tool returns and that the gain is never more than 4 cents. No contradiction with annotations exists.

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?

The description is longer than average but is front-loaded with the core purpose and use cases. The warning and 'WHY DELEGATE THIS' sections are genuinely informative, though the ownership/URL sentence at the end is somewhat extraneous. Overall, most sentences earn their place, but a little trimming would make it tighter.

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

Completeness5/5

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

For a tool with no output schema, the description clearly states what is returned: 'the whole band, the highest price in it, and the free gain in cents.' It also covers domain traps, parameter context, and the rationale for delegating. The agent has enough to decide when to call it and what to expect in response.

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%, so the schema already documents all three parameters. The description adds useful conceptual context around listPrice and taxRatePercent, especially the 'after tax' and 'cash only' behavior, but it does not add significant per-parameter semantics beyond the schema. Baseline 3 is appropriate.

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?

The description opens with a specific verb and resource: 'finds every nearby list price that settles to the SAME cash total, and the highest one.' It also frames concrete use cases ('what should I charge' and 'can I price to gain from rounding'), making the tool's identity and value unmistakable. The title reinforces the same behavior without conflicting with the description.

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

Usage Guidelines4/5

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

The description explicitly states when to use the tool and what kinds of questions it answers. It also warns against a common misuse ('The move that looks clever and is not') and says the tool 'will not recommend it.' It does not explicitly name sibling alternatives like round_cash_total or rounding_impact, so the routing guidance is strong but not fully exhaustive.

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