Skip to main content
Glama

search_recalls_by_identifier

Read-onlyIdempotent

Search recalls by extracted UPC, lot code, model number, product name, or VIN. Multiple identifiers are AND-matched on the same product. VIN lookup lists NHTSA campaigns for the decoded year and make; confirm your vehicle on nhtsa.gov/recalls. lot_code: Label prefixes (BB:, Lot#, Best By, Exp, etc.) are ignored. Extracted lots match exactly or as a prefix of at least 4 characters, after normalizing spaces, case, and punctuation. If lots were not extracted, notice title and description search needs at least 4 characters — verify against the notice. product_name falls back to the same full-text search as search_product_recalls when no exact extracted name matches, and returns a hint if still empty.

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": "search_recalls_by_identifier"
  }
}

Input Schema

NameRequiredDescriptionDefault
upcNoproduct UPC or EAN as stored on the recall
vinNo17-character VIN. Lookup lists NHTSA campaigns for the decoded year and make; confirm your vehicle on nhtsa.gov/recalls.
limitNonumber of recalls to return
offsetNonumber of recalls to skip
lot_codeNolot or batch code. Label prefixes (BB:, Lot#, Best By, Exp, etc.) are ignored. Extracted lots match exactly or as a prefix of at least 4 characters, after normalizing spaces, case, and punctuation. Lot-only lookup uses the extracted identifier index and does not search notice title and description. Combined with upc, model_number, or vin, notice text is also searched when no lots were extracted (at least 4 characters). Verify against the notice.
model_numberNomodel number as stored on the recall
product_nameNoextracted product name (exact match; if none, falls back to the same full-text search as search_product_recalls)

Output Schema

NameRequiredDescriptionDefault
hintNo
offsetYes
recallsYes
nextOffsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / recalls / items / properties / displayTitle
      Added value: +{
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / lot_code / description
      Previous value: -"lot or batch code. Label prefixes (BB:, Lot#, Best By, Exp, etc.) are ignored. Extracted lots match exactly or as a prefix of at least 4 characters, after normalizing spaces, case, and punctuation. If lots were not extracted, notice title and description search needs at least 4 characters. Verify against the notice."New value: +"lot or batch code. Label prefixes (BB:, Lot#, Best By, Exp, etc.) are ignored. Extracted lots match exactly or as a prefix of at least 4 characters, after normalizing spaces, case, and punctuation. Lot-only lookup uses the extracted identifier index and does not search notice title and description. Combined with upc, model_number, or vin, notice text is also searched when no lots were extracted (at least 4 characters). Verify against the notice."
  3. Changed1 schema field changed
    • changedInput schema / properties / lot_code / description
      Previous value: -"lot or batch code. Label prefixes (BB:, Lot#, Best By, Exp, etc.) are ignored. Matches extracted lot codes after normalizing spaces, case, and punctuation; if lots were not extracted, also searches the notice title and description when the lot is at least 4 characters. Verify against the notice."New value: +"lot or batch code. Label prefixes (BB:, Lot#, Best By, Exp, etc.) are ignored. Extracted lots match exactly or as a prefix of at least 4 characters, after normalizing spaces, case, and punctuation. If lots were not extracted, notice title and description search needs at least 4 characters. Verify against the notice."
  4. Changed1 schema field changed
    • changedInput schema / properties / lot_code / description
      Previous value: -"lot or batch code. Matches extracted lot codes after normalizing spaces, case, and punctuation; if lots were not extracted, also searches the notice title and description. Verify against the notice."New value: +"lot or batch code. Label prefixes (BB:, Lot#, Best By, Exp, etc.) are ignored. Matches extracted lot codes after normalizing spaces, case, and punctuation; if lots were not extracted, also searches the notice title and description when the lot is at least 4 characters. Verify against the notice."
  5. Changed2 schema fields changed
    • changedInput schema / properties / lot_code / description
      Previous value: -"lot or batch code as stored on the recall"New value: +"lot or batch code. Matches extracted lot codes after normalizing spaces, case, and punctuation; if lots were not extracted, also searches the notice title and description. Verify against the notice."
    • changedInput schema / properties / vin / description
      Previous value: -"17-character vehicle identification number. Decoded locally to year and make, then matched against NHTSA campaigns. Does not call NHTSA live."New value: +"17-character VIN. Lookup lists NHTSA campaigns for the decoded year and make; confirm your vehicle on nhtsa.gov/recalls."
  6. Changed2 schema fields changed
    • changedInput schema / properties / product_name / description
      Previous value: -"extracted product name (exact match)"New value: +"extracted product name (exact match; if none, falls back to the same full-text search as search_product_recalls)"
    • addedOutput schema / properties / hint
      Added value: +{
      +  "type": "string"
      +}
  7. Changed1 schema field changed
    • addedInput schema / properties / vin
      Added value: +{
      +  "description": "17-character vehicle identification number. Decoded locally to year and make, then matched against NHTSA campaigns. Does not call NHTSA live.",
      +  "type": "string"
      +}
  8. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description correctly spends its words on operational behavior: label-prefix stripping, exact-or-4-char-prefix lot matching after normalization, the fact that lot-only lookup skips notice text, and a returned hint when product_name search comes up empty. The VIN path's NHTSA scope and the confirm-on-nhtsa.gov caveat add real context beyond annotations.

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?

Purpose is front-loaded in sentence one, but the remainder is a dense run-on that repeats the lot_code matching rules already present in the schema and stacks fallback behavior into a single paragraph. It is information-rich but not efficiently organized.

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?

With an output schema present, the description need not explain return values, and it covers the non-obvious semantics of every parameter plus the AND-matching rule and empty-result hint. What remains missing is only sibling routing, which is a usage rather than a completeness gap.

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 coverage is 100%, so the baseline is 3, and much of the description's lot_code and product_name text is verbatim duplication of the schema descriptions. The one genuine addition is that multiple identifiers are AND-matched on the same product, which the schema does not express, but the rest adds little beyond structured fields.

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 first sentence states a specific verb and resource (search recalls) plus the exact identifier types accepted (UPC, lot code, model number, product name, VIN), which is more precise than the sibling names imply. It also references search_product_recalls as the fallback path, though it does not explicitly differentiate itself from search_product_recalls_by_upc.

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

Usage Guidelines3/5

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

Guidance is implied rather than stated: use this when you have an extracted identifier, and fall back to full-text product name search when no exact extracted name matches. There is no explicit 'use X instead when Y' routing against the closest siblings (search_product_recalls, search_product_recalls_by_upc).

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