Skip to main content
Glama
RowanErasmus

DailyMed MCP Server

by RowanErasmus

get_all_application_numbers

Retrieve all FDA application numbers from the DailyMed database with pagination support to access comprehensive drug information.

Instructions

Get all available FDA application numbers 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 handler implementation for 'get_all_application_numbers' in the ApplicationNumberClient class.
    async getAllApplicationNumbers(page: number = 1, pageSize: number = 100): Promise<PaginatedApplicationNumberResponse> {
      return this.searchApplicationNumbersAdvanced({ page, pageSize });
    }
  • src/tools.ts:184-202 (registration)
    Registration of the 'get_all_application_numbers' tool in the DailyMed tool definitions.
      name: "get_all_application_numbers",
      description: "Get all available FDA application numbers 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",
            description: "Number of results per page (default: 100, max: 100)",
            minimum: 1,
            maximum: 100,
          },
        },
      },
    },
  • The request handler logic that routes 'get_all_application_numbers' calls to the client.
    case "get_all_application_numbers":
      const allAppNumbers = await this.client.getAllApplicationNumbers(
        args.page as number,
        args.pageSize as number,
      );
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(allAppNumbers, null, 2),
          },
        ],
      };

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