Skip to main content
Glama
RowanErasmus

DailyMed MCP Server

by RowanErasmus

get_pharmacologic_class_details

Retrieve FDA pharmacologic class details including classification attributes and therapeutic uses from the DailyMed database.

Instructions

Get detailed information about a pharmacologic class including FDA context and classification attributes (uses mapping file data)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pharmaSetIdYesThe pharmacologic class SET ID to get details for

Implementation Reference

  • The handler implementation for getPharmacologicClassDetails.
    async getPharmacologicClassDetails(pharmaSetId: string) {
      const result = this.mappingService.getRxNormMappingsByPharmacologicClass(pharmaSetId);
      return {
        setId: pharmaSetId,
        title: `Pharmacologic Class ${pharmaSetId}`,
        relatedDrugs: result.rxNormMappings.length,
        splSetIds: result.splSetIds,
        classificationInfo: {
          mechanismOfAction: [],
          physiologicEffect: [],
          chemicalStructure: [],
          establishedPharmacologicClass: [],
        },
        fdaContext: result.fdaContext,
      };
    }
  • Tool registration and schema definition for get_pharmacologic_class_details.
    name: "get_pharmacologic_class_details",
    description: "Get detailed information about a pharmacologic class including FDA context and classification attributes (uses mapping file data)",
    inputSchema: {
      type: "object",
      properties: {
        pharmaSetId: {
          type: "string",
          description: "The pharmacologic class SET ID to get details for",
        },
      },
      required: ["pharmaSetId"],
    },

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