Skip to main content
Glama

Get a drug's public cost and coverage figures

get_drug
Read-onlyIdempotent

Gets the public figures for one drug by RxCUI: NADAC, which is what pharmacies pay to buy the drug and not a retail price, Medicare Part D spending, state Medicaid spending by year, and how many marketplace plan drug lists name the drug, with their tiers and limits. None of these figures is what a person pays at the pharmacy. A plan list that does not name the drug is unknown, not a sign that the plan does not cover it.

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": "get_drug"
  }
}

Input Schema

NameRequiredDescriptionDefault
rxcuiYesThe drug's RxNorm concept ID (RxCUI), such as 861004. search_drugs returns it.

Output Schema

NameRequiredDescriptionDefault
dataNo
notesNo
statusYes
sourcesNo
page_urlNo
release_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds behavior an agent could not infer otherwise: the economic meaning of NADAC versus retail pricing, that none of the returned figures represent patient out-of-pocket cost, and that a non-matching plan list is an unknown rather than a coverage denial. Those caveats directly prevent the most likely downstream misreading of the data.

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?

Three sentences, front-loaded with what is returned, followed by the two interpretive warnings. No filler, no repetition of the title, and each sentence carries distinct information the agent needs to use the output correctly.

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?

For a single-parameter read-only lookup with a full output schema and rich annotations, the description covers the remaining burden: what each figure means economically and how to interpret missing plan coverage. Nothing an agent needs in order to call this correctly or interpret the result is missing.

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% and the single rxcui parameter is fully documented in the schema, including the pattern and a pointer to search_drugs. The description only restates 'by RxCUI' and adds no format, range, or lookup guidance beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb and resource ('Gets the public figures for one drug by RxCUI') and then enumerates exactly which figures: NADAC acquisition cost, Medicare Part D spending, state Medicaid spending by year, and marketplace plan list coverage with tiers and limits. An agent can distinguish this from search_drugs (which resolves the RxCUI) or get_health_plan purely from the description text.

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?

Gives strong interpretive context for when the output is appropriate: NADAC is what pharmacies pay, 'not a retail price', and none of the figures is what a person pays at the pharmacy. It also tells the agent how to read absence ('A plan list that does not name the drug is unknown, not a sign that the plan does not cover it'). It does not, however, explicitly route to a sibling or state a when-not-to-call condition beyond the schema's note that search_drugs supplies the RxCUI.

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