Skip to main content
Glama

get_product_recalls

Read-only

Federal safety recalls: FDA drug, device and food recalls (Class I most severe, II, III), CPSC consumer-product recalls, and NHTSA vehicle, equipment, tire and child-restraint campaigns since 1966. One row per recall, id {source}-{recall_number}. classification is FDA-only: setting it excludes all CPSC and NHTSA rows. FDA rows typically run 4-6 weeks behind real-world recall dates (openFDA's cadence) while CPSC is current: filter by source for FDA. Search rule for recalling_firm, product_description and vehicle_model: case-insensitive; 4+ characters match anywhere, 1-3 characters match a whole word; a term of 3+ characters searches every recall, and a 1-2 character term searches only the newest 5,000 recalls the query's other filters select (the oldest, with sort_order=asc), and coverage_warning says so. NHTSA: do_not_drive and park_outside are NHTSA's owner advisories; source=nhtsa with recall_number lists the campaign's vehicles. Source: NHTSA Office of Defects Investigation; public domain (http://www.usa.gov/publicdomain/label/1.0/). Fields and sources: keyvex.com/docs/tools/get_product_recalls

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_product_recalls"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 50.
sinceNoYYYY-MM-DD, inclusive, on recall_initiation_date.
untilNoYYYY-MM-DD, inclusive, on recall_initiation_date.
sourceNoOmit for all.
statusNoExact, e.g. 'Ongoing', 'Completed', 'Terminated'.
sort_byNoDefault recall_initiation_date.
sort_orderNoDefault desc.
vehicle_makeNoNHTSA only. Exact make, case- and space-insensitive.
recall_numberNoAs filed (FDA 'D-1234-2026', NHTSA '26V652000'); with source, a direct lookup.
vehicle_modelNoNHTSA only. Model text; search rule in the description.
classificationNoFDA only: setting it excludes CPSC and NHTSA rows.
recalling_firmNoFirm name; search rule in the description.
vehicles_cursorNoWith source=nhtsa and recall_number: the previous vehicles_next_cursor.
product_descriptionNoProduct text; search rule in the description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • changedInput schema / properties / classification / description
      Previous value: -"FDA severity classification. Class I is most severe (death / serious harm). Ignored for CPSC records."New value: +"FDA only: setting it excludes CPSC and NHTSA rows."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum records to return. Default 50, max 500."New value: +"Default 50."
    • changedInput schema / properties / product_description / description
      Previous value: -"The product description (e.g., 'lithium', 'romaine', 'insulin pump'). Case-insensitive. 4+ characters match anywhere in the text; 1-3 characters match a whole word ('3M', 'GE', 'ABC'). A term of 3+ characters searches EVERY recall. A 1-2 character term searches only a window: the newest 5,000 recalls (the oldest, with sort_order=asc) that your other filters select (source, dates, classification, status, a 3+ character term); coverage_warning says so, and since/until move the window."New value: +"Product text; search rule in the description."
    • changedInput schema / properties / recall_number / description
      Previous value: -"Recall identifier as filed (e.g., FDA 'D-1234-2026', NHTSA '26V652000'). Combine with source for direct doc lookup, fastest path; with source=nhtsa the answer also lists the campaign's vehicles."New value: +"As filed (FDA 'D-1234-2026', NHTSA '26V652000'); with source, a direct lookup."
    • changedInput schema / properties / recalling_firm / description
      Previous value: -"The recalling firm's name (e.g., 'Pfizer', 'Abbott', 'Whole Foods'). Case-insensitive. 4+ characters match anywhere in the text; 1-3 characters match a whole word ('3M', 'GE', 'ABC'). A term of 3+ characters searches EVERY recall. A 1-2 character term searches only a window: the newest 5,000 recalls (the oldest, with sort_order=asc) that your other filters select (source, dates, classification, status, a 3+ character term); coverage_warning says so, and since/until move the window."New value: +"Firm name; search rule in the description."
    • changedInput schema / properties / since / description
      Previous value: -"ISO date (YYYY-MM-DD). Only recalls whose recall_initiation_date is on or after this date."New value: +"YYYY-MM-DD, inclusive, on recall_initiation_date."
    • changedInput schema / properties / sort_by / description
      Previous value: -"Default: recall_initiation_date."New value: +"Default recall_initiation_date."
    • changedInput schema / properties / sort_order / description
      Previous value: -"Default: desc (most recent first)."New value: +"Default desc."
    • changedInput schema / properties / source / description
      Previous value: -"Filter to a single agency / category. Omit to see all sources combined."New value: +"Omit for all."
    • changedInput schema / properties / status / description
      Previous value: -"Exact match. Common values: 'Ongoing', 'Completed', 'Terminated', 'Recall Initiated'."New value: +"Exact, e.g. 'Ongoing', 'Completed', 'Terminated'."
    • changedInput schema / properties / until / description
      Previous value: -"ISO date (YYYY-MM-DD). Only recalls whose recall_initiation_date is on or before this date."New value: +"YYYY-MM-DD, inclusive, on recall_initiation_date."
    • changedInput schema / properties / vehicle_make / description
      Previous value: -"NHTSA campaigns that name a vehicle of this make (e.g., 'Ford', 'Toyota'). Exact make, case- and space-insensitive. Matches NHTSA rows only."New value: +"NHTSA only. Exact make, case- and space-insensitive."
    • changedInput schema / properties / vehicle_model / description
      Previous value: -"NHTSA campaigns that name a vehicle model containing this text (e.g., 'F-150', 'Camry'). Matches NHTSA rows only. Case-insensitive. 4+ characters match anywhere in the text; 1-3 characters match a whole word ('3M', 'GE', 'ABC'). A term of 3+ characters searches EVERY recall. A 1-2 character term searches only a window: the newest 5,000 recalls (the oldest, with sort_order=asc) that your other filters select (source, dates, classification, status, a 3+ character term); coverage_warning says so, and since/until move the window."New value: +"NHTSA only. Model text; search rule in the description."
    • changedInput schema / properties / vehicles_cursor / description
      Previous value: -"With source=nhtsa + recall_number: the vehicles_next_cursor of the previous answer, for the campaign's next 500 vehicles."New value: +"With source=nhtsa and recall_number: the previous vehicles_next_cursor."
  2. Changed5 schema fields changed
    • changedInput schema / properties / recall_number / description
      Previous value: -"Recall identifier as filed (e.g., FDA 'D-1234-2026'). Combine with source for direct doc lookup, fastest path."New value: +"Recall identifier as filed (e.g., FDA 'D-1234-2026', NHTSA '26V652000'). Combine with source for direct doc lookup, fastest path; with source=nhtsa the answer also lists the campaign's vehicles."
    • changedInput schema / properties / source / description
      Previous value: -"Filter to a single agency / category. Omit to see all sources combined. 'nhtsa' is not covered: it returns an INVALID_PARAMETER error."New value: +"Filter to a single agency / category. Omit to see all sources combined."
    • changedInput schema / properties / vehicle_make / description
      Previous value: -"NOT COVERED: KeyVex does not serve NHTSA vehicle recalls yet, so this filter returns an INVALID_PARAMETER error rather than an empty list."New value: +"NHTSA campaigns that name a vehicle of this make (e.g., 'Ford', 'Toyota'). Exact make, case- and space-insensitive. Matches NHTSA rows only."
    • changedInput schema / properties / vehicle_model / description
      Previous value: -"NOT COVERED: KeyVex does not serve NHTSA vehicle recalls yet, so this filter returns an INVALID_PARAMETER error rather than an empty list."New value: +"NHTSA campaigns that name a vehicle model containing this text (e.g., 'F-150', 'Camry'). Matches NHTSA rows only. Case-insensitive. 4+ characters match anywhere in the text; 1-3 characters match a whole word ('3M', 'GE', 'ABC'). A term of 3+ characters searches EVERY recall. A 1-2 character term searches only a window: the newest 5,000 recalls (the oldest, with sort_order=asc) that your other filters select (source, dates, classification, status, a 3+ character term); coverage_warning says so, and since/until move the window."
    • addedInput schema / properties / vehicles_cursor
      Added value: +{
      +  "description": "With source=nhtsa + recall_number: the vehicles_next_cursor of the previous answer, for the campaign's next 500 vehicles.",
      +  "type": "string"
      +}
  3. Changed4 schema fields changed
    • changedInput schema / properties / product_description / description
      Previous value: -"Case-insensitive substring against the product description (e.g., 'lithium', 'romaine', 'insulin pump')."New value: +"The product description (e.g., 'lithium', 'romaine', 'insulin pump'). Case-insensitive. 4+ characters match anywhere in the text; 1-3 characters match a whole word ('3M', 'GE', 'ABC'). A term of 3+ characters searches EVERY recall. A 1-2 character term searches only a window: the newest 5,000 recalls (the oldest, with sort_order=asc) that your other filters select (source, dates, classification, status, a 3+ character term); coverage_warning says so, and since/until move the window."
    • changedInput schema / properties / recalling_firm / description
      Previous value: -"Case-insensitive substring against the recalling firm name (e.g., 'Pfizer', 'Abbott', 'Whole Foods')."New value: +"The recalling firm's name (e.g., 'Pfizer', 'Abbott', 'Whole Foods'). Case-insensitive. 4+ characters match anywhere in the text; 1-3 characters match a whole word ('3M', 'GE', 'ABC'). A term of 3+ characters searches EVERY recall. A 1-2 character term searches only a window: the newest 5,000 recalls (the oldest, with sort_order=asc) that your other filters select (source, dates, classification, status, a 3+ character term); coverage_warning says so, and since/until move the window."
    • changedInput schema / properties / vehicle_make / description
      Previous value: -"NOT COVERED: KeyVex holds no NHTSA vehicle recalls, so this filter returns an INVALID_PARAMETER error rather than an empty list."New value: +"NOT COVERED: KeyVex does not serve NHTSA vehicle recalls yet, so this filter returns an INVALID_PARAMETER error rather than an empty list."
    • changedInput schema / properties / vehicle_model / description
      Previous value: -"NOT COVERED: KeyVex holds no NHTSA vehicle recalls, so this filter returns an INVALID_PARAMETER error rather than an empty list."New value: +"NOT COVERED: KeyVex does not serve NHTSA vehicle recalls yet, so this filter returns an INVALID_PARAMETER error rather than an empty list."
  4. Changed6 schema fields changed
    • changedInput schema / properties / classification / description
      Previous value: -"FDA severity classification. Class I is most severe (death / serious harm). Ignored for NHTSA / CPSC records."New value: +"FDA severity classification. Class I is most severe (death / serious harm). Ignored for CPSC records."
    • changedInput schema / properties / product_description / description
      Previous value: -"Case-insensitive substring against the product description (e.g., 'lithium', 'romaine', 'airbag')."New value: +"Case-insensitive substring against the product description (e.g., 'lithium', 'romaine', 'insulin pump')."
    • changedInput schema / properties / recalling_firm / description
      Previous value: -"Case-insensitive substring against the recalling firm name (e.g., 'Pfizer', 'Toyota', 'Whole Foods')."New value: +"Case-insensitive substring against the recalling firm name (e.g., 'Pfizer', 'Abbott', 'Whole Foods')."
    • changedInput schema / properties / source / description
      Previous value: -"Filter to a single agency / category. Omit to see all sources combined."New value: +"Filter to a single agency / category. Omit to see all sources combined. 'nhtsa' is not covered: it returns an INVALID_PARAMETER error."
    • changedInput schema / properties / vehicle_make / description
      Previous value: -"NHTSA-only filter. Vehicle make, uppercase (e.g., 'TOYOTA', 'FORD'). Ignored for other sources."New value: +"NOT COVERED: KeyVex holds no NHTSA vehicle recalls, so this filter returns an INVALID_PARAMETER error rather than an empty list."
    • changedInput schema / properties / vehicle_model / description
      Previous value: -"NHTSA-only filter. Case-insensitive substring against vehicle model. Ignored for other sources."New value: +"NOT COVERED: KeyVex holds no NHTSA vehicle recalls, so this filter returns an INVALID_PARAMETER error rather than an empty list."
  5. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, non-destructive, so the safety profile is covered; the description adds real operational behavior — FDA rows run 4-6 weeks behind while CPSC is current, one row per recall with a {source}-{recall_number} id, and a coverage_warning when short terms hit the 5,000-row cap. It does not explain pagination beyond the cursor parameter, but the added latency and truncation disclosures are exactly the kind of context annotations cannot carry.

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 coverage and severity classes, then the highest-risk gotchas (classification exclusion, FDA lag, short-term search cap). It is dense and the search-rule clause is convoluted, but nearly every clause carries non-redundant information; a bulleted breakdown would read better than the packed prose.

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?

For a 14-parameter, no-output-schema tool, the description supplies the return shape basics (one row per recall, composite id format), flags freshness divergence by source, discloses the short-query coverage limit, and points to a field/source reference. Nothing an agent needs in order to call it correctly appears to be missing.

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; the description earns above that by spelling out search semantics for recalling_firm, product_description and vehicle_model (case-insensitive, 4+ chars match anywhere, 1-3 chars match whole words, 1-2 char terms restricted to the newest 5,000 recalls) and by warning that classification is FDA-only. Those rules add meaning the schema only gestures at with 'search rule in the description'.

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-and-resource pair ('Federal safety recalls') and enumerates the exact coverage: FDA drug/device/food classes, CPSC consumer products, NHTSA vehicle/equipment/tire/child-restraint campaigns since 1966. This lets an agent separate it cleanly from siblings like get_enforcement_actions, get_fda_approvals, or get_drug_adverse_events without opening the schema.

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 strong in-tool routing guidance: filter by source for FDA due to lag, 'source=nhtsa with recall_number lists the campaign's vehicles', and the caveat that setting classification excludes CPSC and NHTSA rows. It never names a sibling tool as the alternative for adjacent needs (e.g. adverse events vs recalls), so it stops short of full when/when-not framing.

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