Skip to main content
Glama

clearcut. — Buyer-Side Grocery Verification Layer (MCP)

find_clean_swap

Read-onlyIdempotent

PRE-CHECKOUT CLAIM-MATCHED ALTERNATIVES: When a product triggers CAUGHT (or a buyer explicitly requests shorter-ingredient options), find verified HONEST 1:1 alternatives in the exact same category matched to a specific retailer (Target, Walmart, Whole Foods, Costco, Kroger, Trader Joe's, Aldi, Erewhon). Abstains honestly when no same-category match exists. 0% affiliate tags on MCP.

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": {
      "query": "<query>"
    },
    "name": "find_clean_swap"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesProduct name or UPC to find verified same-category alternatives for
storeNoPreferred grocery store for store-specific same-category alternatives

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Product name or UPC to find clean 1:1 swaps for"New value: +"Product name or UPC to find verified same-category alternatives for"
    • changedInput schema / properties / store / description
      Previous value: -"Preferred grocery store for store-specific clean swaps"New value: +"Preferred grocery store for store-specific same-category alternatives"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, and the description usefully adds that it abstains rather than fabricating a match and that results carry no affiliate tags. It does not explain what "verified" means operationally, whether results are ranked, or how many alternatives come back. Useful added context, but not rich disclosure for an open-world lookup tool.

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 a scoping label and a conditional trigger, then the matching rule and the abstention guarantee; roughly 75 words with little filler. The all-caps jargon and the closing "0% affiliate tags on MCP" line read as promotional framing rather than operational guidance.

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?

For a two-parameter read-only lookup with full schema coverage and no output schema, the description covers trigger, matching rule, abstention behavior, and neutrality. The gaps are inferable rather than blocking: an agent can call this correctly from what is given. Explaining the `CAUGHT`/`HONEST` vocabulary would have closed the remaining gap.

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 100%, so both parameters are already documented, and the description mainly reinforces category/retailer matching. It does add the constraint that matches must be in the exact same category and store-specific, which is meaningful semantic framing. Minor inconsistency: the description lists eight retailers while the store enum also permits amazon and instacart.

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 and resource: find verified 1:1 same-category alternatives, retailer-matched, gated on a product triggering `CAUGHT` or a buyer requesting shorter-ingredient options. This is clearly distinct from sibling tools like audit_ingredient_label and check_product_truth. The only drag is that `CAUGHT` and `HONEST` are undefined internal status tokens that an agent cannot interpret without prior context.

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?

Gives an explicit trigger condition (product flagged `CAUGHT`, or an explicit buyer request for shorter-ingredient options) and states the abstention path when no same-category match exists. It does not, however, state when NOT to use it relative to the sibling audit/truth-check tools, so routing between them still requires inference.

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.