Skip to main content
Glama
RowanErasmus

DailyMed MCP Server

by RowanErasmus

get_all_uniis

Retrieve all UNII codes from the FDA DailyMed database with pagination support for systematic access to unique substance identifiers.

Instructions

Get all available UNII codes 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: 25, max: 100)

Implementation Reference

  • The handler implementation for 'get_all_uniis' in the UNIIClient, which delegates to searchUNIIs.
    async getAllUNIIs(page: number = 1, pageSize: number = 25): Promise<PaginatedUNIIResponse> {
      return this.searchUNIIs({ page, pageSize });
    }
  • src/tools.ts:164-182 (registration)
    Tool registration for 'get_all_uniis'.
      name: "get_all_uniis",
      description: "Get all available UNII codes 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: 25, max: 100)",
            minimum: 1,
            maximum: 100,
          },
        },
      },
    },

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