list_labels_for_drug_name

Pack: dailymed · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/list_labels_for_drug_name for the schema, then POST the same URL with its arguments for the data.

All labels mentioning a drug name.

Parameters

NameTypeRequiredDescription
drug_namestringyes
pagenumberno
pagesizenumberno

Example call

Arguments

{
  "drug_name": "Metformin"
}

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":"list_labels_for_drug_name","arguments":{"drug_name":"Metformin"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('list_labels_for_drug_name', {
  "drug_name": "Metformin"
});

More examples

{
  "drug_name": "Lisinopril",
  "page": 2,
  "pagesize": 50
}

Response shape

FieldTypeDescription
dataarray
metadataobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "spl_version": {
            "type": "number"
          },
          "published_date": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "setid": {
            "type": "string"
          }
        }
      }
    },
    "metadata": {
      "type": "object",
      "properties": {
        "db_published_date": {
          "type": "string"
        },
        "elements_per_page": {
          "type": "number"
        },
        "current_url": {
          "type": "string"
        },
        "next_page_url": {
          "type": "string"
        },
        "total_elements": {
          "type": "number"
        },
        "total_pages": {
          "type": "number"
        },
        "current_page": {
          "type": "number"
        },
        "previous_page": {
          "type": [
            "string",
            "number"
          ]
        },
        "previous_page_url": {
          "type": "string"
        },
        "next_page": {
          "type": "number"
        }
      }
    }
  },
  "description": "Labels mentioning a drug name"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the dailymed pack
{
  "mcpServers": {
    "dailymed": {
      "url": "https://gateway.pipeworx.io/dailymed/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026