Skip to main content
Glama
andrewfinerx

FineRx MCP server

by andrewfinerx

FineRx MCP server

Give an AI assistant what US pharmacy chains were seen charging with the free FineRx discount card — per chain, each price with the date it was observed, near a ZIP code or nationally — the pharmacies nearby, the card itself, and the reviewed map of foreign medicine brands to their US equivalent (pages and card text in 12 languages), through the Model Context Protocol.

Source: github.com/andrewfinerx/finerx-mcp (public mirror of this package, MIT; issues welcome).

finerx-mcp is a thin client over the FineRx public REST API (/api/public/v1). It has no direct database access and inherits the public API's authentication and rate limits, so it adds zero extra attack surface.

What changed in 2.1

  • A search inside the card: open_price_finder(query?) opens the FineRx search (fullscreen where the host allows it); the card suggests medicines as the person types (app-only ui_suggest), each with where its card prices start and the date, and foreign brands that matched.

  • A place as text: inside the card the person can type a ZIP, a city or a street address. Only the app-only ui_prices / ui_nearby take it (where); it goes once into the body of the API request that places it and is never logged, stored or echoed — the answer names only the ZIP area / city.

  • find_us_equivalent and get_prescription_options are drawn as views too (equivalent, rx); every 2.0 field of their results is still there. A foreign brand picked in the search opens the same view (app-only ui_equivalent). The three new views use their own template uri, ui://finerx/v2.1/app.html, so a host holding the 2.0 HTML never shows them as plain text; the 2.0 tools keep ui://finerx/v2/app.html.

  • email_savings_card sends a per-person key (an HMAC of the host's anonymous user id), so the API caps card emails per person instead of per server.

  • UI strings for the new views in all 12 languages.

Related MCP server: MCP Healthcare Server

What changed in 2.0

  • Prices are card prices by pharmacy chain with their observation date (Walmart per state), from one call per question; no other savings program's prices are read or named. compare_prices takes a drug name instead of an NDC (ndc + quantity still work), and a ZIP is optional.

  • The card travels with every answer: each result carries a card block (codes, the dated price with the card, the card sentence, the small print) and ends its text with them.

  • One UI bundle, ui://finerx/v2/app.html, draws prices, nearby pharmacies and the card; inside it the person changes dose, quantity or ZIP through two app-only tools the model does not see.

  • fromPrice → fromCardPrice, packageCount is gone, get_savings_card returns the finerx.view/2 envelope.

Tools

Tool

What it does

compare_prices(drug, strength?, form?, quantity?, zip?, ndc?, locale?)

Card price of one package at each pharmacy chain, with dates; nearest store of each chain; chains priced but without a store nearby; the card. Place: zip, else the host's approximate location (ChatGPT), else national

find_nearby_pharmacies(zip?, family?, drug?, strength?, form?, quantity?)

Stores within 30 miles per chain family; with drug, each with its chain's dated card price

get_savings_card(locale?, channel?, drug?)

The free card: codes, how to use it, what to say at the counter, links — plus a PNG for hosts that draw no UI

email_savings_card(email, consent, locale?)

Email the card to an address the person gave, after they said yes

search_drugs(query, limit=10)

Name → slug, with fromCardPrice (amount, package, date) and matching foreign brands

get_drug(slug, locale?)

Strengths × forms × pack sizes that have a card price, the default package and its prices by chain

find_us_equivalent(brand, country?, locale?)

A medicine from another country → what it is in the US, the vetted sentence to say, its card price

foreign_brands_for_drug(slug)

What a US drug is called abroad (the reverse lookup)

get_prescription_options(locale?, drug?)

What to do with no prescription yet, and where the drug's card prices start (for controlled / age-restricted medicines: card prices and the card only)

open_price_finder(query?, locale?)

Opens the search inside the card: matches for query with dated "from" card prices, foreign brands, often-searched medicines

get_dataset_info()

Card-price coverage: chain families, banners, newest observation, stores on the map

ui_prices, ui_nearby, ui_suggest, ui_equivalent

App-only (_meta.ui.visibility: ["app"]): called by the UI, hidden from the model. Only these take a place as text (where)

Every price carries its observedAt date and is never scaled to another pack size. The server also ships instructions (the card rule: answer with each price and its date, then the card sentence and codes, then the small print; no promises of a price or a saving; find_us_equivalent first for a medicine from another country; no medical advice), the resources finerx://card, finerx://how-it-works and the UI bundle, and three prompts, price_and_card(drug), prescription_help(drug?) and us_equivalent(brand, country?).

US equivalents (the thing nobody else does)

An immigrant does not search "atorvastatin" — they search Но-шпа, Nurofen, Dolo-Neurobion, 999 Ganmaoling. FineRx holds a reviewed corpus mapping those brands to their US status, and find_us_equivalent is how an assistant reaches it instead of answering from memory.

find_us_equivalent(brand="Но-шпа")
# → usClass "rx_alternative", inn "drotaverine hydrochloride",
#   guidance "No-Spa (drotaverine hydrochloride) is not sold in the US as the same
#             product; the closest US options need a prescription. Ask a doctor or
#             pharmacist which one fits."
#   otherMatches [{"brand": "No-Spa", "countries": ["Poland"], ...}]

find_us_equivalent(brand="Nurofen", country="Turkey")
# → usClass "same_inn", usGeneric "ibuprofen", usBrands ["Advil", "Motrin"],
#   usDrug {slug, fromCardPrice {amount, package, observedAt}}, the card, and the guidance sentence
#   that names ibuprofen as the thing to ask the pharmacist for.

Three classes, and the difference between them is the whole honesty of the feature: same_inn means the same active ingredient is sold here (not the same product — strength, form and excipients differ, which is what guidanceDisclaimer says); rx_alternative means it is not sold here and the closest US options need a prescription, so the answer is "ask a clinician", never a named swap; no_equivalent means nothing here matches, and the components breakdown states each ingredient's own US status rather than inventing a substitute.

guidance is written and reviewed server-side. Quote it; do not paraphrase, translate or extend it — a sentence composed by the model is a medical claim nobody reviewed. foreign_brands_for_drug(slug) is the reverse ("what is lisinopril called in Mexico?"), and search_drugs carries a foreignBrands list so a client that only calls search still finds the corpus.

Handing over the card

The card is free, is not insurance, needs no signup, and is credited at the pharmacy counter by its group code — so an assistant can hand it over completely, with no click-through.

  • Every result (except get_dataset_info) carries structuredContent.card — codes, priceWithCard (amount, chain, observedAt) or null, law (the approved card sentence in the person's language), fine (the small print), chainsCount, siteUrl, printUrl, actions — and its text ends with the codes, the sentence and the small print. If the API is unreachable, the codes still come back (last good answer, then built-in constants).

  • get_savings_card adds the steps, the sentence to say to the pharmacist and the links; hosts that draw no UI also get a PNG of the card (never ChatGPT, where an image counts against the Free plan's image quota).

  • email_savings_card sends one card-only message. It refuses without consent=true and never calls the API in that case. The result masks the address (j***@example.com); FineRx does not store it.

  • Every URL carries src=<channel> (chatgpt or mcp by default), so the surface that sent someone is visible in FineRx's own analytics — nothing about the person is.

Renders as an app

On a host that supports UI components — ChatGPT (Apps SDK) and any host that implements the standard MCP Apps extension (Claude) — compare_prices, find_nearby_pharmacies, get_savings_card, open_price_finder, find_us_equivalent and get_prescription_options are drawn by one bundle, ui://finerx/v2/app.html (mime text/html;profile=mcp-app), picked by structuredContent.view of the finerx.view/2 envelope. Tool _meta names it under both ui.resourceUri and openai/outputTemplate; the resource _meta carries ui.domain / openai/widgetDomain, an empty CSP and finerx/build. What the person picks inside the card (a medicine, dose, pack size, ZIP or city — never an address) is sent to the model as context by the bundle (ui/update-model-context). UI strings arrive in _meta["finerx/labels"] in the person's language. The bundle is built from widget-src/ (Vite + Preact, single file, no external resources) — see widget-src/README.md.

Prerequisites

Configuration

The server reads these environment variables:

Variable

Required

Default

Notes

FINERX_API_KEY

yes

—

Your frx_live_... key

FINERX_API_BASE

no

https://finerxfinder.com/api/public/v1

Point at another host for local testing

FINERX_CARD_IMAGE_URL

no

https://www.finerxfinder.com/card.png

PNG get_savings_card returns to hosts without UI, when the API names no delivery.imageUrl

FINERX_MCP_TRANSPORT

no

stdio

streamable-http for the remote endpoint

FINERX_MCP_HOST / FINERX_MCP_PORT

no

127.0.0.1 / 8000

Bind address for the HTTP transport

FINERX_MCP_PATH

no

/mcp

HTTP path of the endpoint

FINERX_MCP_STATELESS

no

1 (on)

0 restores per-session HTTP transports (see below)

FINERX_MCP_SUBJECT_SALT

no

random per process

HMAC salt for the per-person rate limit (ChatGPT openai/subject)

FINERX_MCP_COMPETITOR_PRICES

no

false

Keep off: other programs' prices are not served in 2.0

Install & run

Run directly with uvx (no manual install needed):

FINERX_API_KEY=frx_live_xxxxxxxx uvx finerx-mcp

The server speaks MCP over stdio by default.

Remote (HTTP) mode

The same tools can be served over Streamable HTTP — the transport that connector catalogs (ChatGPT Apps, Claude connectors, Gemini, Grok) consume, so a user adds FineRx by URL with no local install. Set the transport (and, for a hosted deployment, the bind host/port):

FINERX_API_KEY=frx_live_xxxx \
FINERX_MCP_TRANSPORT=streamable-http \
FINERX_MCP_HOST=0.0.0.0 FINERX_MCP_PORT=9000 \
uvx finerx-mcp
# → endpoint at http://<host>:9000/mcp

Defaults stay stdio, so existing Claude Desktop/Code/Cursor configs are unaffected. The HTTP endpoint calls the same public REST API with the server's FINERX_API_KEY, so hosting it exposes no data beyond the already-public API.

HTTP mode is stateless by default. Keyless one-shot connector calls — a catalog probe, a single tool call from a chat — open a Streamable-HTTP session and never DELETE it, so in session mode the transport map only grows (measured on the hosted endpoint: 3568 sessions over 7 days, ~25 MB of swap a day, until the container restarts). Stateless mode builds a transport per request and drops it. It is safe here because no tool keeps per-session state: every call is a fresh request against the public API, and the card-image cache is process-level, not per-session. Set FINERX_MCP_STATELESS=0 if you need SSE resumability; stdio ignores the setting entirely.

Claude Desktop

Add to your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "finerx": {
      "command": "uvx",
      "args": ["finerx-mcp"],
      "env": {
        "FINERX_API_KEY": "frx_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Restart Claude Desktop; the FineRx tools appear in the tools menu.

Claude Code

claude mcp add finerx --env FINERX_API_KEY=frx_live_xxxx -- uvx finerx-mcp

Or add it to .mcp.json in your project:

{
  "mcpServers": {
    "finerx": {
      "command": "uvx",
      "args": ["finerx-mcp"],
      "env": { "FINERX_API_KEY": "frx_live_xxxxxxxx" }
    }
  }
}

Local development

Run against a local FineRx stack (e.g. the dev proxy on :8080):

export FINERX_API_KEY=frx_live_...        # a key you created via the CLI
export FINERX_API_BASE=http://localhost:8080/api/public/v1
uv run --project packages/finerx-mcp finerx-mcp

A smoke test that drives one tool call end-to-end lives at scripts/smoke_mcp.py in the FineRx repo.

Run the unit tests (the API is mocked with respx — no key, no network):

cd packages/finerx-mcp && uv run --extra dev pytest -q

Terms

Data is provided under the FineRx public API terms: attribution required ("Prices via FineRx"), prices are observed estimates with their dates and may have changed — the pharmacy sets the final price — the card is not insurance, and nothing here is medical advice. Pharmacy location coordinates are © OpenStreetMap contributors (ODbL); place names (the city and state of a ZIP code) come from GeoNames (CC BY 4.0).

Available Tools

10 tools
compare_pricesA
Read-onlyIdempotent

Compare FineRx prices for one package (an 11-digit NDC + quantity).

Use when you know the exact package. Returns the offer matrix — for each pharmacy chain x savings program, the observed price and the date it was observed (observedAt) — plus savingsCard (the free discount card, its image, and the card price for this package when known). The cheapest offer is flagged isLowest. Get an ndc from get_drug's packages or the search flow. Do not call a price the lowest unless the offer says isLowest, and always give the observation date. Offer the card whenever you quote a price here.

ParametersJSON Schema
NameRequiredDescriptionDefault
ndcYes
localeNoen
channelNomcp
quantityYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.3/5.0
Behavior4/5

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

The description reveals useful runtime behavior: return fields like observedAt and isLowest, the fact that the savings card may be relevant, and a caveat not to label a price as cheapest unless the offer says so. It does not discuss potential limitations like price recency or data availability, but the main behavior is well disclosed.

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?

The description is focused and front-loaded with the core purpose, then gives output shape and usage cautions. A little dense, but every sentence adds operational value without repetition or filler.

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?

The description tells the agent how to invoke the tool, what the output contains, and how to present results responsibly. It does not explain the optional locale and channel parameters, but the critical workflow context and output semantics are covered.

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?

Because schema descriptions are essentially absent, the tool description adds important meaning for ndc and quantity, including the 11-digit NDC format. However, it leaves the locale and channel parameters unexplained, and it only partially compensates for the missing schema descriptions.

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?

The description clearly states the tool compares FineRx prices for a single package identified by an 11-digit NDC and quantity. It also distinguishes the appropriate precondition ('when you know the exact package') from other lookup flows, so the agent can decide between this and sibling tools.

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

Usage Guidelines5/5

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

It explicitly says 'Use when you know the exact package' and tells the agent where to obtain an NDC if it does not already have one (get_drug's packages or the search flow). It also gives practical instructions about the savings card and how to report cheapest price, which helps correct invocation and response behavior.

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

email_savings_cardA

Email the free FineRx discount card to an address the person gave you.

Use ONLY after the person has given an email address AND confirmed they want the card sent there — ask for both first, then set consent to true. The message contains the card and nothing else; FineRx does not store the address.

Returns {"sent": true, "to": } or {"sent": false, "error": ...}. On an error, say what happened and offer the image or the link instead.

Do not call this without an explicit yes, do not guess or reuse an address, do not retry a refusal, and do not read the full address back to the person.

ParametersJSON Schema
NameRequiredDescriptionDefault
emailYes
localeNoen
consentNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses meaningful behavior: the consent requirement, that the message contains only the card, that FineRx does not store the address, the masked return format, and the proper error-handling response. This gives the agent a clear mental model of side effects and privacy implications.

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 description is compact, front-loaded with the core purpose, and organized into clear short directives covering prerequisites, behavior, return values, and prohibited actions. Every sentence adds operational value without unnecessary elaboration.

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?

The combination of the detailed description, annotations, and output schema fully equips an agent to invoke the tool safely and correctly. It covers consent, address handling, error response, and fallback behavior, leaving little unstated. The locale parameter is the only minor gap, but it has a default and is not essential for the core call path.

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?

The input schema has 0% description coverage, but the tool description compensates well for email and consent by explaining that consent must be explicitly obtained and set to true. It does not explain the 'locale' parameter, which remains ambiguous, so it is not a perfect compensation.

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?

The first sentence states a specific action ('Email the free FineRx discount card') and the exact target ('to an address the person gave you'). This clearly distinguishes it from sibling tools like get_savings_card, which retrieves rather than sends.

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

Usage Guidelines5/5

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

The description explicitly states when to use the tool ('ONLY after the person has given an email address AND confirmed they want the card sent there') and includes explicit prohibitions ('Do not call without an explicit yes', 'do not retry a refusal'). It also offers fallback alternatives on error: offer the image or link instead.

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

find_nearby_pharmaciesA
Read-onlyIdempotent

Find the nearest pharmacy locations to a US ZIP code, per chain.

zip is a 5-digit US ZIP. Optional chains is a comma-separated list of chain codes (e.g. "walgreens,publix"); default is all chains. limit caps locations per chain. Coordinates are OpenStreetMap-sourced (ODbL).

ParametersJSON Schema
NameRequiredDescriptionDefault
zipYes
limitNo
chainsNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already cover the behavioral safety profile (readOnlyHint, idempotentHint, destructiveHint=false). The description adds the OpenStreetMap/ODbL data source, which is a useful data provenance note, but does not disclose edge-case behaviors such as data freshness or response limitations. With annotations present, this is acceptable but not particularly rich.

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 description is compact and effective: one high-level sentence, then a short parameter guide, and a brief data-source note. It avoids excess phrasing and is front-loaded with the action. Divergence from schema or annotation is minimal, keeping the overall text easy to parse.

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?

With an output schema present and annotations covering safety/spatial openness, the description covers the main calling context: what the tool does, required parameters, and defaults. Missing details are minor like accepted chain values or error handling for invalid ZIP codes, but not essential for an agent to make a correct call in typical cases.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry the meaning for all three parameters. It does this thoroughly: zip is defined as a 5-digit US ZIP, chains is explained as a comma-separated list (with the example 'walgreens,publix') and that 'null' defaults to all chains, and limit is said to cap locations per chain. This far exceeds the schema's basic titles and types.

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?

The description states a clear action and resource: 'Find the nearest pharmacy locations to a US ZIP code, per chain.' It is specific about scope (US ZIP, per chain) and easily distinguished from sibling tools like search_drugs or compare_prices, which are about drugs/pricing rather than location 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?

The description implies its use case by describing the action, but it does not explicitly say when to use this tool versus alternatives or list exclusions. No siblings are referenced, and no 'use this when...' guidance is provided. The intended context is inferred from the purpose, not stated.

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

find_us_equivalentA
Read-onlyIdempotent

Find out what a medicine from another country is in the US, and what it costs.

Use when the person names a medicine that is not a US product — a brand from home (No-Spa, Nurofen, Dolo-Neurobion, 999 Ganmaoling), a name in another script (Но-шпа, 泰诺), or an ingredient the US calls something else (paracetamol) — or asks "what is this called in the US?". Optional country picks between brands of the same name sold in different places; locale is a language code (leave it out and the host's own locale is used).

Returns the reviewed entry: usClass (same_inn = the same active ingredient is sold here, rx_alternative = it is not and the closest US options need a prescription, no_equivalent = nothing here matches), guidance (ONE vetted sentence, written to be quoted word for word), inn, usGeneric, usBrands, rxStatus, notes, components, usDrug (slug, lowest observed price and the date it was observed), savingsCard when there is a US drug to fill, pageUrl, and otherMatches when the same brand name exists in more than one country. found is false when nothing matched.

Next: quote guidance as written, then say guidanceDisclaimer. With a usDrug, call compare_prices (or get_drug) for its slug, give the price WITH its observation date, and offer the free card.

Do not call the US drug the same product, do not suggest swapping one for the other, and for rx_alternative or no_equivalent do not name a substitute at all — send the person to a pharmacist or a doctor. Do not translate or reword guidance; it is reviewed text.

ParametersJSON Schema
NameRequiredDescriptionDefault
brandYes
localeNo
channelNomcp
countryNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.9/5.0
Behavior5/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, but the description goes beyond by detailing the output structure (usClass meanings, found flag, guidance being 'ONE vetted sentence' to quote verbatim) and explicit behavioral rules (do not translate/reword guidance, do not call the US drug the same product). This discloses important response-format expectations that annotations do not cover, with no contradictions.

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 description is detailed but highly structured. It opens with the purpose, then usage, output fields, next steps, and finally safety warnings. Every sentence carries information that an agent needs; there is no fluff. The length matches the complexity of the tool, and it is front-loaded with the most critical usage context.

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?

Given the tool's complexity, the description covers everything necessary: when to use, what parameters mean, what the response contains, how to chain subsequent tool calls (compare_prices, get_drug), and how to present results to the user. The existence of an output schema further reduces the burden on the description for return types. It is complete for an agent to invoke correctly.

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?

Schema coverage is 0%, so the description must compensate. It explains brand indirectly via examples, and explicitly defines country ('picks between brands of the same name sold in different places') and locale ('a language code... host's own locale'). However, the `channel` parameter is not mentioned at all, and its purpose is left to the schema's default. Despite this minor gap, the description adds significant semantic value for the three primary parameters, so a 4 is warranted.

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?

The description explicitly states the core function: 'Find out what a medicine from another country is in the US, and what it costs.' It provides concrete examples of inputs (No-Spa, paracetamol) and differentiates from sibling tools like search_drugs and get_drug by focusing on the US-equivalent lookup. It is clear, specific, and instantly distinguishable.

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

Usage Guidelines5/5

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

The description gives precise trigger conditions: 'Use when the person names a medicine that is not a US product...' and also covers the question phrasing ('what is this called in the US?'). It explains optional parameter usage (country, locale) and provides explicit next steps: quote guidance, call compare_prices or get_drug, offer the card. It also states what not to do (e.g., don't suggest substitutions). This is exemplary usage guidance.

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

foreign_brands_for_drugA
Read-onlyIdempotent

Find what a US drug is called abroad — the reverse of find_us_equivalent.

Use when the person has the US name and wants the home-country one ("what is lisinopril called in Mexico?"), or when naming a foreign brand would let them recognise the medicine you are describing. slug comes from search_drugs.

Returns the reviewed brands that resolve to this drug: brand, brandScript (the home-country spelling), countries, inn and usClass.

Next: name the brands from the person's own country first. An rx_alternative entry is a DIFFERENT medicine US clinicians use for the same complaint — say so if you mention it. Brands with no US equivalent never appear here.

Do not present any of these as interchangeable with the US drug, and do not tell anyone to buy or import one.

ParametersJSON Schema
NameRequiredDescriptionDefault
slugYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already mark the tool as read-only, idempotent, and non-destructive. The description adds substantial useful behavior beyond that: returned fields, the special meaning of rx_alternative as a different medicine, the guarantee that brands with no US equivalent never appear, and explicit cautions against presenting interchangeability or advising purchases/imports.

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?

Every sentence carries distinct information: purpose, usage, output fields, ordering guidance, and safety guardrails. The key purpose and usage are front-loaded, and the cautions are placed after the functional details where they are most relevant.

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 tool with an output schema and rich annotations, the description covers everything an agent needs: source of the input, expected output, result interpretation, ordering preference, and limitations. No critical gap remains.

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?

Schema coverage is 0%, so the description must compensate for the bare string parameter. It does this well by explaining that slug comes from search_drugs and illustrating with a user-phrased question, which tells the agent where to source the value. It stops short of defining the exact slug format, so a 4 is appropriate rather than a 5.

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?

The first sentence declares a specific verb and resource: 'Find what a US drug is called abroad,' and explicitly contrasts it with the sibling find_us_equivalent. This makes the tool's scope immediately distinguishable from related tools without needing to inspect schemas.

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

Usage Guidelines5/5

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

The description gives concrete when-to-use guidance with a realistic user example ('what is lisinopril called in Mexico?') and states that slug comes from search_drugs. It also names the reverse sibling, allowing an agent to route between them correctly.

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

get_dataset_infoA
Read-onlyIdempotent

Get FineRx dataset coverage, freshness, and the attribution/disclaimer terms.

Returns dataset counts (drugs, products, prices, chains, savings programs, pharmacy locations), the latest observation date, and the terms every consumer must honor (attribution + disclaimer).

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful context by mentioning the attribution/disclaimer terms that consumers must honor, which goes beyond the structured annotations and clarifies the tool's non-obvious output aspect.

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 description is compact and front-loaded: the first sentence summarizes the resource, and the second enumerates the returned elements without redundancy. Every sentence adds value and the structure is easy to parse.

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?

This is a simple, zero-parameter metadata endpoint with a rich output schema and comprehensive annotations. The description covers the dataset-level purpose, key return categories, and the important legal attribution context, leaving no critical gap for an agent deciding to call it.

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?

The tool has zero parameters, so the baseline for this dimension is 4. The description correctly avoids inventing parameter details and focuses on what the tool returns, which is appropriate for a no-input endpoint.

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?

The description uses a specific verb ('Get') with a clear resource ('FineRx dataset coverage, freshness, and attribution/disclaimer terms'). It clearly differentiates this metadata tool from the sibling search/price/savings tools by focusing on dataset-level information rather than individual drug or pharmacy data.

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?

The description clearly scopes the tool's role as dataset metadata retrieval, listing exactly what it returns (counts, latest observation date, legal terms). It doesn't explicitly name alternatives or exclusions, but given that it accepts no parameters and siblings are clearly operational tools, the context is sufficient.

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

get_drugA
Read-onlyIdempotent

Get a FineRx drug's details: coverage stats, variants, and the savings card.

Use when you have a slug from search_drugs. Returns overall stats (product/ package/chain/vendor counts, fromPrice, latest observation date), the list of variants (strength x form) each with a fromPrice, and savingsCard — the free discount card with its codes, image, and (when known) the card price with its observedAt date. locale is "en" or "es"; channel tags the links so we can see which assistant sent someone. Do not quote a price without its observation date, and offer the card whenever you quote one.

ParametersJSON Schema
NameRequiredDescriptionDefault
slugYes
localeNoen
channelNomcp

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark the call as read-only, idempotent, and non-destructive, and the description is consistent with those. It adds value by disclosing that the response includes a savings card, that locale values are 'en'/'es', and that channel tags links for attribution. The price-date guardrail is additional behavioral context beyond the schema.

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 front-loads the verb and resource, then proceeds from precondition to return payload to parameter semantics to usage guardrails in a logical order. At roughly 100 words, every sentence adds distinct information and none is redundant with the schema.

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 retrieval tool with an output schema, rich annotations, and only three parameters, the description gives an agent everything needed to invoke it correctly: input source, param meaning, return structure, and two concrete invariants about price display. There are no obvious gaps in selection or invocation context.

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

Parameters5/5

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

With 0% schema description coverage, the description carries the full burden and succeeds: slug is tied to a search_drugs result, locale is constrained to 'en' or 'es', and channel's attribution purpose is explained. Each parameter receives meaningful real-world semantics rather than just a name/default.

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?

The description opens with 'Get a FineRx drug's details: coverage stats, variants, and the savings card,' naming the exact resource and the three payload components. It also anchors the tool to search_drugs via slug, which sets it apart from siblings like compare_prices and get_savings_card even though savings card data appears here.

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?

It explicitly says 'Use when you have a slug from search_drugs,' giving a concrete precondition for invocation. It adds operational guardrails ('Do not quote a price without its observation date, and offer the card whenever you quote one') that govern when this tool's output should be used. It does not explicitly contrast itself with get_savings_card or compare_prices, so it lacks explicit when-not/alternative guidance.

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

get_prescription_optionsA
Read-onlyIdempotent

Explain the routes to filling a prescription, including having none yet.

Use when the person says they have no prescription, asks how to get one, or says the brand costs too much. Optional drug is a slug from search_drugs.

Returns three sections — havePrescription (steps), noPrescription (named telehealth / clinic options, each with the disclosure to read out when FineRx earns anything), brandCostly (options) — plus a Medicaid note.

Read each option WITH its disclosure. Do not recommend a particular clinician, do not say what to take or at what dose, and do not frame any of this as medical advice.

ParametersJSON Schema
NameRequiredDescriptionDefault
drugNo
localeNoen

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description reveals that every option has a disclosure that must be read aloud, that a Medicaid note is included, and that the tool must not be framed as medical advice. These are non-obvious, invocation-relevant behaviors.

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 description is front-loaded with purpose and triggers, then return shape, then safety caveats. It is detailed enough for a medical-context tool but every sentence carries a distinct job, with no filler.

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?

The output schema covers return values, so the description's job is to provide usage context, which it does thoroughly, including disclosure handling and safety exclusions. It only falls short of fully complete by not documenting what locale affects or how it should be set.

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?

With 0% schema coverage, the description must define parameters itself; it does clarify that drug is an optional slug from search_drugs. However, locale is left with only its default and title, so the description only partially compensates for the missing schema documentation.

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?

The first sentence names a specific operation and resource: 'Explain the routes to filling a prescription, including having none yet.' The description then enumerates the three output sections, which disambiguates it from price, pharmacy, and drug-info siblings.

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

Usage Guidelines5/5

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

It states exact trigger conditions ('person says they have no prescription, asks how to get one, or says the brand costs too much') and routes the drug parameter to search_drugs. It also sets firm boundaries about what must not be done, effectively covering when-not behavior.

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

get_savings_cardA
Read-onlyIdempotent

Get the free FineRx discount card: its codes, how to use it, how to save it.

Use when you have just quoted a FineRx price, when someone asks how to pay less for a prescription, or when they ask for the card by name. Optional drug is a slug from search_drugs and adds that drug's card price when we have one; locale is a language code (leave it out and the host's own locale is used, else English); channel tags the links with who sent the person.

Returns the card as JSON (the three codes to read at the pharmacy counter, what the card is and is not, the steps to use it, the sentence to say to the pharmacist, the ways to save it — image, print, link, email — an optional observed price with its date, an FAQ, the legal lines, and the UI labels) plus an image of the card. On a host that supports MCP Apps the same data is drawn as an interactive card in the conversation; that is a convenience, not a substitute, so STILL write the three codes in your own answer for the hosts and the people who cannot see it.

Offer ONE way to save it: show the image, send the link, or email it. Do not present the card as insurance, do not promise a price, and do not call a price the lowest unless price.isLowest is true — otherwise repeat price.note as written. The card is free and needs no signup.

ParametersJSON Schema
NameRequiredDescriptionDefault
drugNo
localeNo
channelNomcp

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive hints, and the description adds substantial behavior beyond that: it clarifies the output shape, warns that the MCP Apps interactive card is not a substitute, instructs the agent to still write the codes, limits saving options to one, and imposes accuracy constraints about insurance, pricing, and lowest-price claims.

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?

The description is long but every section earns its place: usage triggers, parameter meanings, return contents, and agent rules. It is front-loaded with the primary purpose and structured into readable paragraphs. Slight redundancy exists in the output enumeration, but it compensates for the absence of an output schema.

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 tool with no output schema and only minimal parameter schemas, the description is exceptionally complete. It covers return values, side-channel presentation behavior, usage constraints, pricing caveats, and all three parameters. An agent has enough context to invoke it correctly and handle its results appropriately.

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?

Schema coverage is 0%, so the description carries the full burden. It explains drug as a slug from search_drugs that may add a price, locale as a language code with a defined fallback, and channel as a link-tagging value. Each parameter is meaningfully described, though channel could be more precise about expected values.

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?

The description states a specific verb ('Get'), a specific resource ('the free FineRx discount card'), and enumerates the concrete outputs: codes, usage steps, and saving methods. It is clearly distinguishable from siblings like search_drugs or compare_prices.

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?

The description explicitly names three trigger conditions: after quoting a FineRx price, when asked about paying less, or when the card is requested by name. It does not explicitly contrast with email_savings_card or other siblings, but the conditions are concrete enough for an agent to select this tool correctly.

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

search_drugsA
Read-onlyIdempotent

Search FineRx for drugs by name or localized alias.

Returns candidate drugs with their slug (use it with get_drug), kind (generic/brand), and lowest observed public price (fromPrice). Use this first to resolve a drug name to a slug.

foreignBrands carries any home-country medicine brand that matched the same text (Нурофен, No-Spa, Dolo-Neurobion) with its active ingredient and the US generic it maps to. When results is empty and foreignBrands is not, the person named a medicine from another country: call find_us_equivalent for the reviewed answer rather than guessing at one.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds meaningful behavioral context: the response includes slug, kind, and fromPrice; foreignBrands carries matched home-country brands with active ingredients and US generic mappings; and the empty-results-plus-foreignBrands case signals a non-US medicine. This goes well beyond what annotations convey.

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 description is tightly structured and front-loaded with the core purpose. Every sentence earns its place: primary behavior, return fields, slug usage, foreign-brand behavior, and the routing condition. No filler or redundant restatement of the tool name or schema.

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 read-only search tool with a rich output schema and strong annotations, the description covers the essential contextual decisions: how to use the returned slug, how to interpret foreignBrands, and when to escalate to find_us_equivalent. Nothing critical is missing for an agent to select and invoke the tool correctly.

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?

Schema description coverage is 0%, so the description must compensate. It enriches the required query parameter by defining it as 'name or localized alias,' which is valuable. The optional limit parameter is not described, but its meaning and default are already provided in the input schema, so the gap is minor.

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: 'Search FineRx for drugs by name or localized alias.' It explicitly frames the tool as the first step to resolve a drug name to a slug, and its reference to find_us_equivalent differentiates it from the sibling that handles foreign-brand mapping. The purpose is unambiguous and clearly distinct from get_drug and other siblings.

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

Usage Guidelines5/5

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

Provides explicit usage guidance: 'Use this first to resolve a drug name to a slug.' It also gives a concrete conditional rule for when to instead call find_us_equivalent: when results is empty and foreignBrands is not. This tells the agent not only when to use the tool but also when to route to an alternative.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 10 tool updatesv1.5.0
    • First observedcompare_prices
    • First observedemail_savings_card
    • First observedfind_nearby_pharmacies
    • First observedfind_us_equivalent
    • First observedforeign_brands_for_drug
    • First observedget_dataset_info
    • First observedget_drug
    • First observedget_prescription_options
    • First observedget_savings_card
    • First observedsearch_drugs

TDQS

A4.5/5.0

Scored across 10 tools

Disambiguation4/5

Most tools have clearly distinct purposes: search/get/compare for drugs, find_us_equivalent vs foreign_brands_for_drug are cleanly separated by direction, and get_savings_card vs email_savings_card are distinct (retrieve vs send). The only mild overlap is get_drug vs compare_prices (both return prices), but their inputs and outputs differ enough (slug vs NDC) that an agent can choose correctly.

Naming Consistency4/5

The set mostly follows a verb_noun pattern: search_drugs, get_drug, compare_prices, find_nearby_pharmacies, get_dataset_info, get_savings_card, email_savings_card, get_prescription_options, find_us_equivalent, foreign_brands_for_drug. Minor deviations: find_us_equivalent and foreign_brands_for_drug use a different verb style (find/foreign_brands_for) than the get_/search_/compare_/email_ pattern, but they are still readable and predictable.

Tool Count5/5

10 tools is well within the ideal 3-15 range and each tool covers a distinct aspect of the domain: search, details, price comparison, pharmacy locations, dataset info, savings card, email, prescription options, and international equivalence (both directions). No tool feels redundant or extraneous.

Completeness5/5

The domain is consumer prescription savings, and the surface covers the full journey: resolving a drug name (search_drugs), getting details (get_drug), comparing prices (compare_prices), finding pharmacies (find_nearby_pharmacies), getting/sending the savings card (get_savings_card, email_savings_card), handling no-prescription or brand-costly situations (get_prescription_options), and international drug mapping in both directions (find_us_equivalent, foreign_brands_for_drug). Dataset info and attribution are also covered. No obvious dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time access to medical data including drug interactions, ICD-10 codes, FDA adverse event reports, and clinical guidelines. It enables LLMs to query databases like openFDA, PubMed, and CMS for pharmaceutical and clinical information.
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to search for real-time prescription drug prices, find local pharmacies, and retrieve discount coupons through the GoodRx service. It uses Playwright browser automation to provide drug comparisons and checkout details like BIN and PCN codes.
    5
    8 npm
    MIT