Skip to main content
Glama

x402_rxnav_get_v1_rxcui

Look up RxCUIs from drug names via the RxNav REST API, with approximate term matching and drug detail retrieval.

Instructions

rxnav — RxNav REST API: drug name to RxCUI lookup, approximate term matching, drug details [GET /v1/rxcui] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/rxcui?name=aspirin

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_rxnav_get_v1_rxcui"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden — and it does disclose useful behavior: this is a paid call costing $0.005 USDC across four named chains. It does not explain response contents, rate limits, or failure semantics, though the schema partially covers retry/dedup behavior via restart and operationId.

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

Conciseness3/5

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

The identity and pricing are front-loaded and there is no filler prose, but the middle clause ('approximate term matching, drug details') is unrelated capability noise that competes with the tool's actual purpose. The pricing notation and URL example are dense but servicable.

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?

There is no output schema and no annotations, so the description must stand alone, yet it never describes what a successful response contains (RxCUI fields, match type, ambiguity handling). For a lookup tool with a nested generic query object, that leaves a meaningful gap.

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%, including explanations for restart and operationId, so the baseline is 3. The description only surfaces the 'name' query key through its example, adding little beyond what the schema already documents.

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 concrete verb-and-resource pair ('drug name to RxCUI lookup') and pins the exact endpoint (GET /v1/rxcui). However, it also advertises 'approximate term matching, drug details', which overlaps with the sibling tools x402_rxnav_get_v1_approximate and x402_rxnav_get_v1_drugs, muddying the boundary rather than sharpening it.

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 explicit when-to-use or when-not-to-use guidance is given, and the nearest alternatives (approximate matching, drug details) are mentioned without routing the agent to them. The example query '?name=aspirin' shows invocation shape but not selection criteria.

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

Deploy Server

Other Tools