label_history
Pack: dailymed · Endpoint: https://gateway.pipeworx.io/dailymed/mcp
Drug LABEL REVISION HISTORY — when a prescription drug’s FDA label was revised, and how many times. Pass a DRUG NAME (“Ozempic”, “semaglutide”) and it resolves to that drug’s Structured Product Label automatically; or pass a DailyMed set_id directly. PREFER OVER WEB SEARCH for “has the label for X changed recently”, “when was X’s label last updated”, “how many label revisions does X have”, label-change monitoring, and safety-labeling-change surveillance. Returns every published SPL version with its date, plus official archive URLs where DailyMed exposes them. Use before label_diff to see which versions are downloadable and pick two to compare.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
drug_name | string | no | Drug brand or generic name (e.g. “Ozempic”, “semaglutide”). Resolved to the primary manufacturer’s label (the most-revised SPL for that name, over repackager duplicates). Use this OR set_id. |
set_id | string | no | DailyMed SET ID UUID, when you already have one. Takes precedence over drug_name. |
Example call
Arguments
{
"set_id": "fdbfe194-b845-42c5-bb87-a48118bc72e7"
}
curl
curl -X POST https://gateway.pipeworx.io/dailymed/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"label_history","arguments":{"set_id":"fdbfe194-b845-42c5-bb87-a48118bc72e7"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('label_history', {
"set_id": "fdbfe194-b845-42c5-bb87-a48118bc72e7"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"dailymed": {
"url": "https://gateway.pipeworx.io/dailymed/mcp"
}
}
}
See Getting Started for client-specific install steps.