Skip to main content
Glama

x402_rxnav_get_v1_approximate

Resolve approximate drug name matches to RxCUIs for misspelled or partial terms via RxNav lookup.

Instructions

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

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_approximate"
  }
}

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

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden, and it does disclose a genuinely important trait: this is a paid call costing $0.005 USDC across listed chains, with the GET method and path. It omits return shape (candidate list with match scores), failure behavior, and any rate or auth constraints, so it is partially but not fully transparent.

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 dense line that front-loads the API/purpose, then the endpoint, cost, and a concrete call example. Every element is useful, though the terse dash-and-bracket formatting is slightly telegraphic and 'drug details' is arguably filler given sibling coverage.

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?

With no output schema, the description should indicate what comes back from an approximate match (ranked RxCUI candidates, scores, synonyms), and it does not. Payment cost and a working example offset this somewhat, so it is adequate but leaves a gap for an agent needing to interpret results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, the schema's query object is a free-form bag with no named properties, so the example '?term=asprin&maxEntries=5' is the only place the actual parameter names and their intent are revealed. This adds real meaning beyond the structured fields, though it does not explain value ranges or defaults for maxEntries.

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 names a specific verb and resource — drug name to RxCUI lookup via approximate term matching — and pins the exact endpoint [GET /v1/approximate]. It does not explicitly contrast with the sibling x402_rxnav_get_v1_rxcui or x402_rxnav_get_v1_drugs, and lumping in 'drug details' slightly muddies the scope, but an agent can tell fuzzy name matching apart from exact lookup.

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?

There is no explicit when-to-use vs when-not statement, but the phrase 'approximate term matching' plus the example term=asprin (a misspelling) strongly implies this is the tool for unknown or imperfectly spelled drug names. The selection signal is inferable rather than stated.

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