Skip to main content
Glama

CULT+MATH Decision Briefs

Is this product category being recalled more?

run_recall_watch
Read-onlyIdempotent

Use when the user is weighing quality or supplier risk in a food, drug or device category, diligencing a manufacturer, or asks about recall history: "are ice cream recalls rising?", "who recalls the most peanut butter?". Returns FDA recall records per year from openFDA enforcement reports, the direction, the split by class (Class I is the most serious) and the firms with the most recalls. No recall in the window is a sound result. Every result carries a run id, a date and a citation line. Calling this tool returns a quote, not the result: what the run measures, its price and a payment_url. The run happens only when you POST to payment_url, and a run that fails its controls refuses there with nothing charged. Dimensions (vary these inputs to cut the answer; each call is its own run): over time: built in: by year (years); segment: category (food, drug, device), class and firm (in the result). Price: $0.05 per run over x402 (USDC on Base, no account needed), or $0.50 over MPP (a Stripe shared payment token); charged only when the run comes back sound. For who is getting devices cleared in the category, use run_device_clearances.

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": {
      "category": "<category>",
      "phrase": "<phrase>"
    },
    "name": "run_recall_watch"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoComplete calendar years to cover, ending last year. Default 6.
phraseYesMatched against product descriptions, e.g. "peanut butter".
categoryYesWhich FDA enforcement report to read.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the run is unavailable, when it is.
errorNoWhy the inputs were refused, with the expected usage. Nothing is charged.
limitsNoWhat the run cannot tell you, stated before you pay.
recipeNoThe run, e.g. "filing-trend".
availableNofalse when the run is switched off; then nothing can be charged.
next_stepNoWhat to tell the user before paying.
price_usdNoPrice over MPP (Stripe shared payment token).
payment_urlNoPOST here to run and pay. Not a checkout page.
instructionsNoHow to pay over MPP and x402, and how to ask for publication.
what_you_getNoWhat the paid result will contain for these inputs.
x402_price_usdNoPrice over x402 (USDC on Base), when offered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations cover safety (readOnly, idempotent, non-destructive, open-world), but the description adds a great deal they cannot: the tool returns a quote rather than the data, the actual run only happens on POST to payment_url, pricing ($0.05 x402 USDC on Base, $0.50 MPP/Stripe), the fact that a failed control refuses with nothing charged, and that every result carries a run id, date, and citation. It also clarifies that an empty recall window is a valid result, which prevents an agent from treating a null as an error. Only minor gap: no statement on typical latency or result-size limits.

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

Conciseness3/5

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

Usage conditions are front-loaded, which is good, but the back half is a dense run-on of colons and semicolons mixing dimensions, pricing rails, payment mechanics, and result fields. Every sentence is informative, yet the paragraph reads as a wall and forces re-parsing to extract price and payment flow.

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?

Given an output schema exists, return values need not be explained, yet the description still previews them. Combined with the two-step quote/pay flow, failure semantics, pricing, and the null-result rule, an agent has everything needed to call this correctly and to tell the user what it will cost.

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 the baseline is 3, but the description adds real signal: years is framed as a built-in time dimension, category as the segment dimension, and it explicitly notes that class and firm breakdowns appear in the result rather than as inputs. That clarifies how to vary inputs to narrow the answer, which the schema alone does not convey.

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 names a specific verb and resource — it returns FDA recall records per year from openFDA enforcement reports, plus direction, class split, and top recalling firms — and gives concrete sample questions ("are ice cream recalls rising?"). It explicitly differentiates from the sibling run_device_clearances ("For who is getting devices cleared in the category, use run_device_clearances"), so an agent can disambiguate without opening a schema.

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

Usage Guidelines5/5

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

It states the triggering conditions precisely: weighing quality or supplier risk in a food/drug/device category, diligencing a manufacturer, or asking about recall history. It also names the adjacent tool for a related but different question, which is the strongest form of routing guidance.

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