Search NLM reference sources
drugdata_search_referencesFind drug and medical references across PubMed, MeSH, RxClass, MedlinePlus, UMLS, and ClinicalTrials.gov by name or identifier, returning stable links and citation IDs.
Instructions
Search NLM reference sources beyond product and ingredient records: Prescribable RxNorm (the currently prescribable drug dataset), RxClass (drug classes by name or member RxCUI), MeSH (medical subject descriptors), PubMed (biomedical literature), MedlinePlus (consumer-health topic pages), MedlinePlus Genetics (condition and gene pages), MedlinePlus Connect (drug pages by name, RxCUI, or NDC), UMLS (unified medical terminology; needs UMLS_API_KEY), and ClinicalTrials.gov (study registry). One call searches exactly one source — pass source plus the query. Results are link-first references: a title, the stable identifier (RxCUI, class id, MeSH id, PMID, CUI, or NCT number), and a deep link to the upstream record — not extracted article or study text. Each source accepts only some query types (for example MeSH searches by name only); an invalid pairing is rejected before any request. Continue with the returned cursor when hasMore is true. No matches is a normal empty result, 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": {
"source": "<source>",
"query": "<query>"
},
"name": "drugdata_search_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | What the query holds: 'name' (default), 'rxcui', 'ndc', or 'cui'. Not every source accepts every type; an invalid pairing is rejected with the types that source accepts. | name |
| limit | No | Maximum references to return. Sources that page client-side may return slightly fewer when the upstream list ends early. | |
| query | Yes | The search value: a name or term by default, or the identifier named by `type`. | |
| cursor | No | Continuation token from a previous result's nextCursor. Only valid for the same source, type, query, and limit. | |
| source | Yes | Which reference source to search: 'prescribable', 'rxclass', 'mesh', 'pubmed', 'medlineplus', 'medlineplus_genetics', 'medlineplus_connect', 'umls', or 'clinicaltrials'. | |
| response_format | No | Text format: 'markdown' for a readable reference list, or 'json' for the structured result serialized as JSON. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| query | Yes | ||
| groups | Yes | ||
| source | Yes | ||
| nextSteps | Yes | ||
| truncated | Yes | Whether bounding shortened any content. |