Skip to main content
Glama
RowanErasmus

DailyMed MCP Server

by RowanErasmus

get_all_pharmacologic_class_setids

Retrieve all pharmacologic class SET IDs with associated drug mappings from the FDA DailyMed database for comprehensive drug information analysis.

Instructions

Get all pharmacologic class SET IDs that have associated drug mappings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core implementation of the tool logic that retrieves all pharmacologic class SET IDs.
    getAllPharmacologicClassSetIds(): string[] {
      return Array.from(this.pharmaSetIdToSplSetIds.keys());
    }
  • The tool handler block that manages requests for 'get_all_pharmacologic_class_setids'.
    case "get_all_pharmacologic_class_setids":
      const allPharmaSetIds = await this.client.getAllPharmacologicClassSetIds();
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(allPharmaSetIds, null, 2),
          },
        ],
      };
  • src/tools.ts:573-576 (registration)
    Registration of the 'get_all_pharmacologic_class_setids' tool in the MCP server definitions.
    name: "get_all_pharmacologic_class_setids",
    description: "Get all pharmacologic class SET IDs that have associated drug mappings",
    inputSchema: {
      type: "object",

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