Skip to main content
Glama

goodrx_get_coupon

Retrieve discount coupon details for prescription drugs at specific pharmacies. Provides BIN, PCN, Group, and Member ID required for pharmacy checkout.

Instructions

Get a GoodRx discount coupon for a specific drug at a pharmacy. Returns BIN, PCN, Group, and Member ID needed at checkout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
drug_nameYesName of the drug
pharmacyNoPharmacy name (e.g., "CVS", "Walgreens")
dosageNoDosage (e.g., "10mg")
quantityNoNumber of pills (default: 30)
zip_codeNoZIP code for the pharmacy location
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the return values (BIN, PCN, Group, and Member ID) but does not cover other critical aspects such as authentication requirements, rate limits, error conditions, or whether this is a read-only operation. For a tool with no annotations, this leaves significant gaps in understanding its behavior.

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 the core purpose in the first sentence and adds necessary detail about return values in the second. Both sentences earn their place by providing essential information without redundancy or fluff, making it efficient and well-structured.

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?

Given the complexity (5 parameters, no output schema, no annotations), the description is moderately complete. It covers the purpose and return values but lacks details on behavioral traits, error handling, and usage context. Without an output schema, it should ideally explain more about the return format, but it does specify the key fields needed at checkout, which is helpful.

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?

The schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description does not add any additional meaning or context beyond what the schema provides, such as examples or constraints not in the schema. With high schema coverage, the baseline score of 3 is appropriate as the description does not compensate but also does not detract.

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 action ('Get a GoodRx discount coupon') and the resource ('for a specific drug at a pharmacy'), making the purpose explicit. It distinguishes this tool from siblings like 'goodrx_compare_prices' or 'goodrx_get_prices' by focusing on coupon retrieval rather than price comparison or general price 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 usage when a discount coupon is needed, but it does not explicitly state when to use this tool versus alternatives like 'goodrx_compare_prices' or 'goodrx_get_prices'. No exclusions or prerequisites are mentioned, leaving the agent to infer context from the tool name and description alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/markswendsen-code/mcp-goodrx'

If you have feedback or need assistance with the MCP directory API, please join our Discord server