Skip to main content
Glama

mechacut

money_unitprice

Unit price and shrinkflation in exact Decimal with the DENOMINATOR NAMED. compare: 2..6 offers {price, qty_str '1 lb 4 oz' or qty+unit, count for two-for-$7, optional store tag claim AUDITED at its own precision} — cross-unit tables (oz vs lb vs qt) resolve on the canonical family factor, winner decided by equal fractions never by rounded sight (r/aldi 'the tag math is wrong'); deltas divide by the WINNER, one denominator per number. shrink: old to new size (plus or minus price) returns product_change over the OLD size and unit_price_change over the NEW — 32 to 28 fl oz is -12.5 % of drink but +14.2857 % per ounce (1/7), the published Gatorade vector; the single-percentage headline is the lie this tool refuses. Exact fraction travels beside every display (Consumer Reports 7.75-to-7.8 lesson). Closed: mode compare|shrink; comma refused to num/parse; cross-family comparison refused with the exit named; factors anchored to NIST SP 811. Free.

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": {
      "mode": "<mode>"
    },
    "name": "money_unitprice"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
unitNo
basisNo
offersNo
new_sizeNo
old_sizeNo
new_priceNo
old_priceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does disclose real behavior: exact fractions retained beside displays, comma input refused to num/parse, cross-family comparison refused with the exit named, and factors anchored to NIST SP 811. It also documents return semantics (product_change over OLD size, unit_price_change over NEW). It never plainly states this is a pure/read-only computation with no side effects, and the trailing 'Free.' is cryptic.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is a single sprawling run-on built from em-dashes and in-group allusions ('r/aldi the tag math is wrong', the published Gatorade vector, the Consumer Reports 7.75-to-7.8 lesson) that bury the operative rules. There is some structure via the 'compare:'/'shrink:'/'Closed:' labels, but it is not front-loaded and forces the reader to parse illustrations to extract requirements.

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 an 8-parameter, no-output-schema tool it does address return behavior (dual product/unit-price change percentages) and refusal cases, which is more than most. But the unexplained 'basis' parameter, unclear 'unit'/'label' semantics, and lack of an explicit output shape leave gaps an agent must guess at before calling.

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 description coverage is 0% across 8 parameters, so the description must compensate and largely does: it explains the offers object (price, qty_str '1 lb 4 oz' or qty+unit, count for two-for-$7, optional store tag audited at its own precision), old_size/new_size, old_price/new_price, and the closed mode set. However 'basis', 'unit', and 'label' are never explained, leaving several parameters undocumented in both schema and description.

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 opening states a specific resource and computation (unit price and shrinkflation in exact Decimal) and then separates two concrete modes, 'compare' over 2-6 offers and 'shrink' from old to new size. An agent can identify the two operations, though the phrasing is dense in-domain jargon ('DENOMINATOR NAMED', 'AUDITED at its own precision') that obscures the plain purpose, and it makes no explicit contrast with sibling money tools such as money_bogo or money_crossover.

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?

Usage is implied by the mode enumeration: use 'compare' for multi-offer unit-price comparison and 'shrink' for size/price change math, and the description states it refuses cross-family comparisons. But it gives no explicit when-to-use/when-not against the many sibling money tools (money_bogo, money_discount, money_crossover) that overlap conceptually.

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.