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

NameTypeRequiredDescription
drug_namestringnoDrug brand or generic name (e.g. “Ozempic”). Resolved to the primary manufacturer’s label. Use this OR set_id.
set_idstringnoDailyMed SET ID UUID, when you already have one. Takes precedence over drug_name.
from_versionnumbernoOlder SPL version. Defaults to the version immediately before the latest.
to_versionnumbernoNewer SPL version. Defaults to the latest version.
include_unchangedbooleannoInclude unchanged sections (default false).
max_sectionsnumbernoMaximum 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.

Regenerated from source · build July 25, 2026