Skip to main content
Glama

NIH NLM RxClass Therapeutic Drug Classifications MCP

Get RxClass members by class ID

get_rxclass_members_by_id
Read-onlyIdempotent

List drug ingredients and RxNorm RxCUIs that belong to a specified therapeutic class identifier.

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": {
      "class_id": "<class_id>"
    },
    "name": "get_rxclass_members_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum member drugs to return (default 30, max 100).
class_idYesTherapeutic class ID (for example "A10BA" for Biguanides or "C10AA" for HMG CoA reductase inhibitors).
rela_sourceNoRelation source taxonomy (default "ATC"; also "FDASPL", "DAILYMED", "VA", "MEDRT").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds only the return payload (ingredients plus RxCUIs); it says nothing about pagination behavior, whether the full member set is ever truncated, or the cost of open-world lookups.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though so terse that no secondary guidance is present to structure.

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?

For a simple three-parameter read tool with a fully documented schema and no output schema, the description is adequate but thin: it does not describe the shape of returned members or what rela_source changes about the result set, both of which the agent must infer.

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%, with class_id examples, limit bounds and rela_source values all documented in the schema. The description adds no meaning beyond that, so the baseline 3 applies.

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 gives a specific verb and resource ('List drug ingredients and RxNorm RxCUIs') and states the scoping key ('belong to a specified therapeutic class identifier'). The class-to-members direction is implicit but readable, though it never names the reverse-direction siblings like get_rxclass_by_drug_name or search_rxclass_by_rxcui.

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

Usage Guidelines3/5

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

Usage is only implied by the direction of the lookup: class ID in, members out. There is no explicit statement of when to prefer this over get_rxclass_by_drug_name, get_rxclass_class_tree, or list_rxclass_therapeutic_classes, and no prerequisites or exclusions are given.

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.