Skip to main content
Glama
RowanErasmus

DailyMed MCP Server

by RowanErasmus

get_all_drug_names

Retrieve a paginated list of all drug names from the FDA's DailyMed database for comprehensive reference and lookup.

Instructions

Get all available drug names in the DailyMed database with pagination support

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination (1-based, default: 1)
pageSizeNoNumber of results per page (default: 100, max: 100)

Implementation Reference

  • The actual implementation of the tool, calling the advanced search.
    async getAllDrugNames(page: number = 1, pageSize: number = 100): Promise<PaginatedDrugNameResponse> {
      return this.searchDrugNamesAdvanced({ page, pageSize });
    }
  • src/tools.ts:84-95 (registration)
    The definition and schema registration of the get_all_drug_names tool.
    name: "get_all_drug_names",
    description: "Get all available drug names in the DailyMed database with pagination support",
    inputSchema: {
      type: "object",
      properties: {
        page: {
          type: "number",
          description: "Page number for pagination (1-based, default: 1)",
          minimum: 1,
        },
        pageSize: {
          type: "number",

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RowanErasmus/dailymed-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server