Skip to main content
Glama
RowanErasmus

DailyMed MCP Server

by RowanErasmus

search_drug_classes

Find pharmacologic drug classes by code, name, or classification type to identify medication mechanisms and categories within the FDA DailyMed database.

Instructions

Search for pharmacologic drug classes using various parameters with pagination support

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
drug_class_codeNoCode representing a pharmacologic drug class
drug_class_coding_systemNoCoding system (default: National Drug File Reference Terminology)
class_code_typeNoType of pharmacologic drug class
class_nameNoName of the drug class
unii_codeNoUnique Ingredient Identifier code
pageNoPage number for pagination (1-based, default: 1)
pageSizeNoNumber of results per page (default: 100, max: 100)
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'pagination support' which is useful, but doesn't describe other important traits: whether this is a read-only operation, what the response format looks like, potential rate limits, authentication requirements, or error conditions. For a search tool with 7 parameters and no annotation coverage, this leaves significant gaps.

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 front-loads the core purpose ('Search for pharmacologic drug classes') and adds two key qualifiers ('using various parameters' and 'with pagination support'). There's zero waste—every phrase contributes meaningful information without redundancy or fluff.

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

Completeness3/5

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

Given the tool's complexity (7 parameters, no annotations, no output schema), the description is minimally adequate but incomplete. It covers the basic purpose and hints at pagination, but lacks guidance on usage versus siblings, detailed behavioral context, or output expectations. For a search tool in a crowded namespace, more contextual information would be helpful for an agent to use it effectively.

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?

Schema description coverage is 100%, meaning all parameters are documented in the input schema. The description adds minimal value beyond the schema—it mentions 'various parameters' and 'pagination support' (hinting at 'page' and 'pageSize'), but doesn't provide additional semantic context about how parameters interact or search behavior. With high schema coverage, the baseline score of 3 is appropriate.

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 tool's purpose: 'Search for pharmacologic drug classes using various parameters with pagination support.' It specifies the verb ('search') and resource ('pharmacologic drug classes'), and mentions key capabilities ('various parameters', 'pagination support'). However, it doesn't explicitly differentiate this tool from sibling tools like 'get_all_drug_classes' or 'search_drugs_by_pharmacologic_class', which would require a 5.

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. With many sibling tools available (like 'get_all_drug_classes' for retrieving all classes without filtering, or 'search_drugs_by_pharmacologic_class' for a different search focus), the description lacks any 'when-to-use' context, prerequisites, or comparisons to help an agent choose appropriately.

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