Skip to main content
Glama

health_drug_class

Read-only

Drug class lookup — Drug classes and class members from NLM RxClass (FDA DailyMed pharmacologic classes + VA MED-RT). drug= (generic or brand) or rxcui= returns the FDA established pharmacologic class, mechanism of action, physiologic effect, chemical structure, conditions it may treat or prevent, and contraindications. class= (FDA class name or common term: statin, SSRI, ACE inhibitor, beta blocker, GLP-1, NSAID, PPI, DOAC...) returns the member drugs; condition= (Hypertension, migraine, high blood pressure, asthma...) returns drugs that may treat or prevent it (salt forms merged). Optional limit= 1-200 (default 50). Reference data, not medical advice. Price: $0.004 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "drug": "<drug>"
    },
    "name": "health_drug_class"
  }
}

Input Schema

NameRequiredDescriptionDefault
drugYesatorvastatin

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, and the description adds real context beyond that: the data provenance (NLM RxClass, FDA, VA MED-RT), that salt forms are merged for condition queries, the default limit of 50 (max 200), a 'reference data, not medical advice' disclaimer, and a paid $0.004 USDC x402 requirement. The payment/auth requirement is notably valuable because an agent would otherwise not expect a cost.

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

Conciseness4/5

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

The purpose and data source are front-loaded, and each clause carries usable information (query modes, return fields, limit default, pricing). It is dense and somewhat run-on, with a long parenthetical example list (statin, SSRI, ACE inhibitor...) that could be trimmed, but nothing is pure filler.

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

Completeness4/5

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

For a single-parameter lookup with no output schema, the description covers what is returned (classes, mechanism, effect, structure, conditions, contraindications), the data source, the result cap, the disclaimer, and the cost — enough for correct invocation. The main completeness defect is the phantom parameters that conflict with the schema.

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?

For the one real parameter the description adds genuine meaning: 'drug= (generic or brand)' is more informative than the schema's bare example 'atorvastatin'. However, it also documents rxcui=, class=, condition= and limit= parameters that do not exist in the input schema, which can lead an agent to pass invalid arguments to a tool whose sole required field is drug.

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 opens with a specific verb+resource ('Drug class lookup') and names the upstream source (NLM RxClass, FDA DailyMed pharmacologic classes + VA MED-RT), so the agent knows exactly what data domain this covers. It does not explicitly distinguish itself from sibling tools like health_drug_brief or fda_drug_label, leaving the agent to infer the boundary.

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?

It clearly maps three usage modes: drug=/rxcui= returns class, mechanism, effect, structure, indications and contraindications; class= returns member drugs; condition= returns drugs treating/preventing a condition. What is missing is explicit guidance on when to prefer this over health_drug_brief or fda_drug_label, or when-not to use it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources