Skip to main content
Glama
RowanErasmus

DailyMed MCP Server

by RowanErasmus

get_pharmacologic_class_mappings_for_setid

Retrieve pharmacologic class mappings for a specific SET ID from the FDA DailyMed database to identify drug classifications and relationships.

Instructions

Get pharmacologic class mappings for a specific SET ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
setIdYesThe SET ID to get pharmacologic class mappings for

Implementation Reference

  • The implementation of the logic to retrieve pharmacologic class mappings by SPL SET ID.
    getPharmacologicClassMappings(splSetId: string): PharmacologicClassMapping[] {
      return this.pharmacologicClassMappings.get(splSetId) || [];
    }
  • src/tools.ts:531-532 (registration)
    Tool registration for get_pharmacologic_class_mappings_for_setid.
    name: "get_pharmacologic_class_mappings_for_setid",
    description: "Get pharmacologic class mappings for a specific SET ID",
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It states what the tool does but reveals nothing about permissions required, rate limits, response format, pagination, error conditions, or whether this is a read-only operation. For a data retrieval tool, this leaves critical behavioral aspects unspecified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that communicates the core purpose without any wasted words. It's appropriately sized for a simple retrieval tool and front-loads the essential information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of annotations and output schema, the description is insufficiently complete. It doesn't explain what 'pharmacologic class mappings' actually are, what format they return in, or any limitations of the retrieval. For a specialized medical data tool with many sibling alternatives, users need more context to use it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with the single parameter 'setId' clearly documented in the schema. The description adds no additional parameter semantics beyond what's already in the schema (it essentially restates the parameter's purpose). This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get') and resource ('pharmacologic class mappings') with a specific scope ('for a specific SET ID'), which distinguishes it from general mapping tools. However, it doesn't explicitly differentiate from its closest sibling 'get_rxnorm_mappings_for_setid', which could cause confusion about which mapping type to use.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'get_all_pharmacologic_class_setids' (for listing SET IDs) or 'get_rxnorm_mappings_for_setid' (for different mapping types). There's no mention of prerequisites, typical use cases, or exclusion criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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