Search products across open drug data sources
drugdata_search_productsSearch products by name, brand, ingredient, barcode, or NDC across openFDA, DSLD, RxNorm, and DailyMed. Returns evidence-grouped records with source conflicts, coverage status, and next steps.
Instructions
Search products across openFDA, DSLD, INKEEDecoder, RxNorm, and DailyMed. Start free text with type 'name'; use 'brand' deliberately for brand-only search, which covers fewer sources. If a full product name has no matches, retry type 'name' with only the brand (Natrol) or only the ingredient (melatonin); compare brand, variant, strength, and dosage form before selecting a record. Use ingredient, barcode, or ndc when appropriate, and pass category medication/supplement/cosmetic when known. Returns evidence-grouped entities with original records, confirmed links, source-attributed conflicts, unconfirmed candidates, and per-entity nextSteps. A product RxCUI or shared name alone does not merge products. For source+id use drugdata_get_product instead. Default searches return lightweight evidence without identity resolution; resolve_identities: true opts in to enrichment of at most five entities, concurrency three, within the shared 45-second default deadline. Read partial, coverage, and sources (status ok/error/timeout); completed results survive a timeout. One page applies to every source and re-queries all of them; each source's hasMore is independent. Selectively fetch supplied URLs only when more page content is needed. No matches is normal, not an error.
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": {
"type": "<type>",
"query": "<query>"
},
"name": "drugdata_search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for the fan-out, starting at 1. One page applies to every source and re-queries all of them. | |
| type | Yes | What to search by: 'name' for a product name, 'brand' for a brand name, 'ingredient' for an ingredient name, 'barcode' for a UPC/EAN, or 'ndc' for an NDC. | |
| query | Yes | The search value, as text or an identifier. | |
| category | No | Optional category filter: 'medication', 'supplement', or 'cosmetic'. Only sources about that category are queried. | |
| response_format | No | Text format: 'markdown' for a readable grouped report, or 'json' for the structured result serialized as JSON. | markdown |
| resolve_identities | No | Opt in to identity enrichment for at most five entities, concurrency three. Default false: return lightweight search evidence and resolution nextSteps. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| type | Yes | ||
| query | Yes | ||
| partial | Yes | ||
| sources | Yes | ||
| category | No | ||
| coverage | Yes | ||
| entities | Yes | ||
| nextSteps | Yes | ||
| truncated | Yes | ||
| entitiesOmitted | Yes |