Search Pearls shortage index
pearls_searchSearch the local Pearls-scale index of FDA openFDA drug-shortage presentations and events across versioned weekly snapshots (hybrid BM25 + TF-IDF). Returns ranked results with snippet, status, source, and snapshot date. Set as_of to search as of a past snapshot date. No match means not in this snapshot, never that a drug is available. Research context only, not medical advice.
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": {
"query": "<query>"
},
"name": "pearls_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Optional snapshot date ceiling (YYYY-MM-DD). Searches the latest snapshot on or before this date. | |
| query | Yes | Drug name or search query, e.g. 'Midazolam Hydrochloride Injection' or 'Versed 5mg vial'. | |
| num_results | No | Maximum results to return (1-20). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| as_of | No | ||
| query | Yes | ||
| results | Yes | ||
| disclaimer | Yes | ||
| request_id | Yes | ||
| snapshot_date | Yes | ||
| expanded_terms | No | ||
| alias_expansion | No |