Skip to main content
Glama

goodrx_class

Read-only

List the drugs GoodRx shows for one drug class slug from goodrx_classes; results include each drug's lowest displayed price, summary, and price-page slug.

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

Input Schema

NameRequiredDescriptionDefault
slugYesClass slug from /goodrx/classes

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. Changed1 schema field changed
    • addedInput schema / properties / slug / description
      Added value: +"Class slug from /goodrx/classes"
  2. First observed

TDQS

A4/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 beyond that by previewing the return payload (lowest displayed price, summary, price-page slug) and flagging that the price is 'displayed' rather than a guaranteed pharmacy price, which explains the non-idempotent hint. It does not discuss result volume, variation over time, or rate limits.

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?

A single sentence, front-loaded with the action and resource, then the prerequisite and the return contents in dependency order. No filler or repetition.

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 annotations covering safety and an output schema covering return shape, the description needs only purpose, prerequisite, and a payload preview, all of which it provides. Only minor gaps remain, such as whether the result set is paginated or bounded.

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% and there is only one parameter, so the schema already carries the semantics. The description only reinforces that the slug must be a drug class slug from goodrx_classes, adding minor value over the schema's own text.

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 opens with a specific verb and resource ('List the drugs GoodRx shows for one drug class slug'), making the operation and its scoping by class slug unambiguous. It also anchors the slug's origin to the sibling goodrx_classes. It stops short of explicitly distinguishing itself from other drug-listing siblings such as goodrx_condition_drugs, so it isn't a full 5.

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 phrase 'one drug class slug from goodrx_classes' tells the agent the prerequisite call needed before invoking this tool, which is genuine usage context. There are no explicit exclusions or 'use X instead when...' statements, so it falls short of a 5.

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.