Skip to main content
Glama

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

audit_ingredient_label

Read-onlyIdempotent

PRE-CHECKOUT LIVE LABEL AUDIT (100% coverage for any unseen or newly reformulated SKU): Run a deterministic 21 CFR § 101.4 / § 101.9 verification directly on a product's back-of-box or retail-page ingredient string. Returns clearance (PASS | WARN | BLOCK), record_freshness: 'live_label', verdict_stamp (HONEST | BOUGHT OUT | CAUGHT), formula_profile, verdict_meaning, verdict_signals, agent_guidance, honest_label, claims_vs_facts, and buyout ownership. Never mutates canonical catalog records.

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": {
      "product_name": "<product_name>",
      "ingredients": "<ingredients>"
    },
    "name": "audit_ingredient_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
sugars_gNoOptional total sugars per serving in grams
protein_gNoOptional protein per serving in grams
brand_nameNoBrand printed on the front of the package
ingredientsYesVerbatim comma-separated back-of-box ingredients list
product_nameYesFull product name
serving_size_gNoOptional serving size in grams

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive, but the description adds real context: verification is deterministic, it is tied to specific CFR sections, it operates on live label text rather than stored records, and it explicitly 'Never mutates canonical catalog records.' It does not cover failure modes (malformed ingredient strings, latency, rate limits), which keeps it below a 5.

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 trigger and the core action are front-loaded in the first clause, and nothing is filler given that no output schema exists. The single long sentence with a ten-item return-field list is dense and slightly promotional ('100% coverage', all-caps tokens), but the density is largely earned.

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 six-parameter, annotation-covered, output-schema-less tool, the description does the necessary work: it states scope, the regulatory basis, the return contract (clearance, freshness, verdict stamps, guidance), and the non-mutation guarantee. Gaps are secondary — no guidance on malformed inputs or on how optional nutrition fields affect the result.

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 parameters are already documented and the baseline is 3. The description reinforces that the ingredients input should be the verbatim back-of-box string, but it says nothing about the optional numeric fields (sugars_g, protein_g, serving_size_g) or how they influence the verdict, adding little beyond the schema.

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 description names a specific action and object ('Run a deterministic 21 CFR § 101.4 / § 101.9 verification ... on a product's ... ingredient string'), which is far more precise than a restated name. It also carves out a scope ('unseen or newly reformulated SKU') that implicitly separates it from catalog-oriented siblings like check_product_truth. It stops short of naming an explicit alternative, so it is clear but not fully differentiated.

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?

'PRE-CHECKOUT LIVE LABEL AUDIT' plus '100% coverage for any unseen or newly reformulated SKU' gives a concrete trigger condition for when to reach for this tool. What is missing is an explicit exclusion or routing statement (e.g., use a sibling when the SKU is already in the catalog), which leaves the alternative path to 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.