Skip to main content
Glama

RxNorm MCP by usefulapi

Get drug class members

rxnorm_get_class_members
Read-only

Get the drugs belonging to a drug class (RxClass API). RxNav REST: GET /rxclass/classMembers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
relaNoRelationship filter, e.g. 'may_treat' (source-dependent).
ttysNoSpace-separated term types to include, e.g. 'IN MIN'.
transNo0 = direct members (default), 1 = include transitive.
classIdYesClass id, e.g. 'N02BE' (ATC) or a MED-RT class id.
relaSourceYesClass source, e.g. 'ATC', 'MEDRT', 'VA', 'DAILYMED'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already declares the safety profile, and the description matches it by naming the GET /rxclass/classMembers endpoint. It adds provenance about the data source but says nothing about result size, transitive expansion effects, or rate limiting, which would have been the genuinely useful additions.

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?

Two compact sentences, with the primary purpose front-loaded. The endpoint reference in sentence two is mildly redundant with the title but still concise and non-padding.

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?

No output schema exists, so the description arguably should describe the shape of returned members or how relaSource constrains results. Combined with five parameters and no usage guidance, the definition is minimally adequate rather than complete.

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%, so all five parameters (classId, relaSource, rela, ttys, trans) are already documented with examples and defaults. The description adds no parameter meaning beyond that, which meets the baseline of 3.

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?

States a specific verb and resource: fetching drugs that belong to a drug class, plus the underlying RxNav endpoint. The inverse relationship to a sibling like rxnorm_get_drug_classes (classes for a drug) is inferable but never explicitly contrasted.

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?

No guidance on when to use this versus rxnorm_get_drug_classes, rxnorm_get_drugs, or rxnorm_get_related_by_type. Usage is only implied by the description of what it returns.

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.