Skip to main content
Glama

NIH NLM RxClass Therapeutic Drug Classifications MCP

Search RxClass by RxCUI

search_rxclass_by_rxcui
Read-onlyIdempotent

Retrieve all ATC, FDA EPC, MOA, and VA therapeutic drug classes linked to an RxNorm Concept Unique Identifier (RxCUI).

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": {
      "rxcui": "<rxcui>"
    },
    "name": "search_rxclass_by_rxcui"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum distinct classes to return (default 25, max 100).
rxcuiYesRxNorm RxCUI numeric string (for example "6809" for metformin).
rela_sourceNoOptional relation source filter such as "ATC", "DAILYMED", "FDASPL", or "VA".

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?

The annotations already declare read-only, open-world, idempotent, and non-destructive behavior, so the description does not need to restate safety. It adds useful domain context by naming the class systems returned, but it does not explain that results are capped by the limit parameter despite saying 'all' classes are retrieved.

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 definition is a single, front-loaded sentence with no wasted wording. It identifies the return domain without burying the core action.

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 simple read-only lookup with rich annotations and complete schema coverage, the description supplies the essential domain context about which class systems are returned. It is slightly incomplete because it does not clarify the limit behavior or the shape of returned class data.

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 has 100% description coverage and fully documents rxcui, limit, and rela_source. The description adds no parameter-level meaning beyond what the schema already provides, so the baseline 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 states a specific verb, resource, and domain: retrieve ATC, FDA EPC, MOA, and VA drug classes linked to an RxCUI. The 'by RxCUI' scope is clear, but it does not explicitly distinguish this tool from sibling lookups such as get_rxclass_by_drug_name.

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?

There is no explicit when-to-use or when-not-use guidance, and no alternatives are named. An agent can infer that this applies when an RxCUI is available, but the definition does not help choose between this and other RxClass lookup tools.

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.