Skip to main content
Glama

RxNorm Drug Classes

rxnorm_classes
Read-onlyIdempotent

Look up drug classes by RxCUI: get therapeutic categories, mechanism of action, and classification sources.

Instructions

Get therapeutic and pharmacologic classes for a drug.

Use this tool to:

  • Find the drug class (e.g., "Beta-blockers", "NSAIDs")

  • Identify therapeutic categories

  • Look up mechanism of action classifications

Returns class IDs, names, and classification sources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rxcuiYesRxCUI of the drug

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rxcuiYes
classesYes
provenanceYesProvenance block (contract v1.0): source, URL, data vintage, extraction instant, citation, license
attributionYesCanonical source URLs of this response (attribution list)
Behavior3/5

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

Annotations already thoroughly cover safety traits (readOnlyHint, idempotentHint, destructiveHint), lowering the bar for behavioral disclosure. The description adds a sentence about return contents (class IDs, names, sources) but does not discuss error handling, rate limits, or other behavioral nuances. This provides some extra value without contradicting annotations.

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 compact and well-structured: a single-sentence purpose, a bulleted list of use cases, and a final sentence on return values. Every section adds value and there is no redundant or verbose phrasing.

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

Completeness5/5

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

Given the tool's simplicity (one required parameter), extensive annotations, and presence of an output schema, the description adequately covers purpose, usage, and return content. It does not exhaustively describe edge cases, but that is not necessary given the schema and annotation richness.

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 input schema fully documents the only parameter, rxcui, with a description ('RxCUI of the drug') and a regex pattern. The description does not add additional semantics beyond restating that the tool operates on a drug. With 100% schema coverage, a baseline score of 3 is appropriate.

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

Purpose5/5

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

The description opens with a specific verb and resource, 'Get therapeutic and pharmacologic classes for a drug,' and includes concrete examples ('Beta-blockers', 'NSAIDs'). This clearly distinguishes it from sibling tools like rxnorm_search or rxnorm_ingredients by focusing on classification.

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

Usage Guidelines4/5

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

The 'Use this tool to' section provides explicit use cases: finding drug class, therapeutic categories, and mechanism of action classifications. This gives clear context for invocation, though it does not explicitly name alternative tools or state exclusions, so it lacks the full 'when-not-to-use' guidance.

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/SidneyBissoli/medical-terminologies-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server