Skip to main content
Glama

goodrx_drug_prices

Read-only

Get GoodRx coupon, membership, and mail-order prices by pharmacy for one drug and prescription; returns pharmacy price details, the drug summary, the priced label/form/dosage/quantity, and the location priced for. Omit label/form/dosage/quantity for GoodRx's default prescription or take them from goodrx_drug_options; pass latitude and longitude to price at a specific US location.

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": {
      "slug": "<slug>"
    },
    "name": "goodrx_drug_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNoForm slug from /goodrx/drug-options
slugYesDrug slug from /goodrx/drugs, /goodrx/class, or /goodrx/condition-drugs
labelNoBrand or generic label slug from /goodrx/drug-options
stateNoTwo-letter state code of that location
dosageNoDosage slug from /goodrx/drug-options
latitudeNoLatitude of a US location to price at (requires longitude)
quantityNoQuantity (1-999999); /goodrx/drug-options lists GoodRx's standard quantities
zip_codeNoFive-digit ZIP code of that location
longitudeNoLongitude of a US location to price at (requires latitude)

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / dosage / description
      Added value: +"Dosage slug from /goodrx/drug-options"
    • addedInput schema / properties / form / description
      Added value: +"Form slug from /goodrx/drug-options"
    • addedInput schema / properties / label / description
      Added value: +"Brand or generic label slug from /goodrx/drug-options"
    • addedInput schema / properties / latitude / description
      Added value: +"Latitude of a US location to price at (requires longitude)"
    • addedInput schema / properties / longitude / description
      Added value: +"Longitude of a US location to price at (requires latitude)"
    • addedInput schema / properties / quantity / description
      Added value: +"Quantity (1-999999); /goodrx/drug-options lists GoodRx's standard quantities"
    • addedInput schema / properties / slug / description
      Added value: +"Drug slug from /goodrx/drugs, /goodrx/class, or /goodrx/condition-drugs"
    • addedInput schema / properties / state / description
      Added value: +"Two-letter state code of that location"
    • addedInput schema / properties / zip_code / description
      Added value: +"Five-digit ZIP code of that location"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is covered. The description adds useful context about what comes back (per-pharmacy price details, the priced label/form/dosage/quantity, and the location actually priced for), which helps the agent interpret results, though it never explains the non-idempotency (live price fluctuation) or what happens when no location is supplied.

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?

Two sentences, front-loaded with the core purpose, then the parameter rules. The middle enumeration of return values is somewhat list-heavy and partly redundant with the output schema, but nothing is genuinely wasted.

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, the description needn't enumerate return fields, so its return-value sentence is extra rather than necessary. Coverage of the location inputs is uneven (latitude/longitude addressed, state/zip_code not), which is the main remaining gap for a nine-parameter pricing tool.

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 coverage is 100%, so the schema already documents all nine parameters, making 3 the baseline. The description does add one genuine rule beyond the schema — that the label/form/dosage/quantity group can be omitted together to get the default prescription and otherwise should come from goodrx_drug_options — but it says nothing about state or zip_code, which are the alternate location inputs to latitude/longitude.

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 ('Get GoodRx coupon, membership, and mail-order prices by pharmacy for one drug and prescription') and scopes it to a single drug/prescription. It also implicitly separates itself from goodrx_drug_options by naming it as the source of the optional label/form/dosage/quantity values.

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 explicit conditional guidance: omit label/form/dosage/quantity for GoodRx's default prescription, or take them from goodrx_drug_options; pass latitude and longitude to price at a specific location. It stops short of saying when to prefer this over price-comparison siblings such as goodrx_comparison, but the core when/how guidance is present.

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.