label_diff
Pack: dailymed · Endpoint: https://gateway.pipeworx.io/dailymed/mcp
WHAT CHANGED between two versions of a drug’s FDA label — conservative section-level text comparison of official DailyMed SPL versions. Pass a DRUG NAME (“Ozempic”) and it resolves the label automatically; or pass a set_id. Defaults to the latest version versus its immediate predecessor. PREFER OVER WEB SEARCH for “what changed in X’s label”, “new warnings added to X”, “did X get a boxed warning”, label-change diffing. Reports added, removed, and changed sections with normalized before/after text. Reports textual change only and leaves clinical materiality to the caller.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
drug_name | string | no | Drug brand or generic name (e.g. “Ozempic”). Resolved to the primary manufacturer’s label. Use this OR set_id. |
set_id | string | no | DailyMed SET ID UUID, when you already have one. Takes precedence over drug_name. |
from_version | number | no | Older SPL version. Defaults to the version immediately before the latest. |
to_version | number | no | Newer SPL version. Defaults to the latest version. |
include_unchanged | boolean | no | Include unchanged sections (default false). |
max_sections | number | no | Maximum section records returned (1-100, default 25); counts cover all sections. |
Example call
Arguments
{
"set_id": "9aa7140c-012c-4ea6-866d-4732e915dab6"
}
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_diff","arguments":{"set_id":"9aa7140c-012c-4ea6-866d-4732e915dab6"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('label_diff', {
"set_id": "9aa7140c-012c-4ea6-866d-4732e915dab6"
});
More examples
{
"set_id": "fdbfe194-b845-42c5-bb87-a48118bc72e7",
"from_version": 41,
"to_version": 42
}
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.