Skip to main content
Glama
RowanErasmus

DailyMed MCP Server

by RowanErasmus

get_rxnorm_mappings_for_setid

Retrieve RxNorm medication identifiers for a specific SET ID to map drug information from the FDA DailyMed database for accurate drug data integration.

Instructions

Get RxNorm mappings for a specific SET ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
setIdYesThe SET ID to get RxNorm mappings for

Implementation Reference

  • The actual implementation of the tool, calling the mapping service.
    async getRxNormMappingsForSetId(setId: string) {
      return this.mappingService.getRxNormMappings(setId);
    }
  • src/tools.ts:516-529 (registration)
    The tool registration and input schema definition.
    {
      name: "get_rxnorm_mappings_for_setid",
      description: "Get RxNorm mappings for a specific SET ID",
      inputSchema: {
        type: "object",
        properties: {
          setId: {
            type: "string",
            description: "The SET ID to get RxNorm mappings for",
          },
        },
        required: ["setId"],
      },
    },
  • The handler logic in the main switch statement that calls the client method.
    case "get_rxnorm_mappings_for_setid":
      const rxNormMappings = await this.client.getRxNormMappingsForSetId(
        args.setId as string,
      );
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(rxNormMappings, 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