Skip to main content
Glama

mechacut

money_bogo

The discount the CHECKOUT really applies under a buy-one-get-one sign, exact Decimal: the percent hits the CHEAPER item of each pair (published retail rule — $60+$40 pays 80 of 100 = 20%, neither 25 nor 50); equal prices give 25% on the pair, never 50; an odd item pays FULL (pairs are GIVEN, never guessed — extras); a coupon stacks as FACTORS (25% then 30% = 47.5, never 55). Per-pair expression travels; the saved ratio travels as an exact fraction beside the 4-dp display. Closed offers: bogo_free | bogo_percent; comma prices refused by name (num/parse is the shape tool); cap 12 pairs. 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": {
      "offer": "<offer>",
      "pairs": "<pairs>"
    },
    "name": "money_bogo"
  }
}

Input Schema

NameRequiredDescriptionDefault
offerYes
pairsYes
extrasNo
coupon_percentNo
second_percentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses that results are exact Decimal with both a per-pair expression and a saved-ratio fraction beside a 4-dp display, that stacked coupons multiply as factors rather than adding, and that it is free. It also documents failure behavior by name (comma prices refused) and a hard input cap. The one omission is what an error response looks like when a price string is refused.

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?

It is front-loaded with the core computation and every clause carries a distinct rule or counterexample (neither 25 nor 50, never 55). The telegraphic, parenthetical, all-caps style makes it dense and slightly harder to parse than necessary, but there is no filler.

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?

There is no output schema, so the description must describe return values, and it does: exact Decimal percent, per-pair expression, and an exact saved fraction alongside a 4-dp display. Given five parameters at 0% schema coverage, the main residual gap is explicit per-parameter mapping, which keeps this short of complete.

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 0% across five parameters, so the description must compensate, and it does explain the meaning of the offer values, pair structure, extras handling, and coupon stacking. But it never maps its prose onto parameter names, so the roles of second_percent and the string-typed Decimal inputs must be inferred from context rather than read off the 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 clause names the concrete computation — the discount a checkout actually applies under a buy-one-get-one sign, returned as an exact Decimal — which is far more specific than the name 'money_bogo' alone. It does not explicitly contrast itself with the sibling money_discount, so an agent must infer that this tool is the BOGO-specific case rather than the general discount calculator.

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?

It gives operative rules (odd item pays full, extras are never paired, cap of 12 pairs, comma prices refused) and points at 'num/parse is the shape tool' for cleaning malformed prices, which is genuine routing guidance. However it never states when an agent should pick this over money_discount or money_unitprice, and the alternative tool is never named.

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.