Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

recalls_search

Search FDA, CPSC, and NHTSA recall records in one call. $0.05 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: GET https://exchangerebel.com/toll/recalls/search.

Input Schema

NameRequiredDescriptionDefault
qNoFree-text query over product, firm, hazard (or use filters alone)
toNoAnnounced-date upper bound YYYY-MM-DD
fromNoAnnounced-date lower bound YYYY-MM-DD
classNoFDA hazard class I | II | III
limitNo1-50, default 20
sourceNofda | cpsc | nhtsa | all (default all)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Adds substantial context the annotations cannot convey: per-call cost, the x402/USDC payment flow, the challenge-retry handshake via _meta["x402/payment"], and an HTTP equivalent endpoint. It does not describe result format or limits, but the payment behavior is exactly the kind of operational detail that earns credit here.

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

Conciseness5/5

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

Purpose is front-loaded in the first sentence, with payment mechanics and transport fallback following. Three compact sentences, none redundant.

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 6-param optional search with a fully documented schema, the description covers purpose, cost, and invocation path. Only the return shape and result limits are undocumented, and there is no output schema to compensate, which keeps this below a 5.

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% with per-parameter descriptions (including enum-like values for source and class), so the schema carries the parameter burden. The description's only addition is that all params are optional frees ('or use filters alone'), which is consistent but minimal.

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?

States a specific verb ('Search') and resource ('FDA, CPSC, and NHTSA recall records'), plus the key differentiator 'in one call' that signals cross-agency aggregation versus the single-source siblings recalls_product_check and recalls_vehicle.

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

Usage Guidelines2/5

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

There is no guidance on when to reach for this tool versus recalls_product_check, recalls_recall, recalls_vehicle, or recalls_watch, nor any prerequisites beyond the payment mechanic. The agent must infer that this is the free-text multi-source search sibling from the resource string alone.

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