Skip to main content
Glama

goodrx_classes

Read-only

List every GoodRx drug class from its class directory with slugs for goodrx_class, such as statins or ACE inhibitors.

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": "goodrx_classes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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. First observed

TDQS

A3.7/5.0
Behavior3/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 safety and idempotency are covered by structured data. The description does add that the result is the complete directory ("every" class, not a filtered subset) and illustrates the slug format, but it says nothing about ordering, approximate size, or stability of the taxonomy beyond the hints.

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 front-loaded sentence with the verb and resource first, and the two example slugs earn their place by showing format with real domain terms. No filler or redundant restatement of the name.

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?

An output schema exists, so return values need not be explained, and annotations carry the safety profile; the description plus those fields is enough to call this zero-argument tool correctly. The only mild gap is that it does not state that this is a static reference listing or how large it typically is.

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 takes zero parameters, so the baseline is 4 and there is nothing for the description to clarify. The description correctly makes no parameter claims beyond noting the slug field names it emits.

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 gives a specific verb and resource ("List every GoodRx drug class from its class directory") and pins down the output shape by naming slugs and giving two concrete examples (statins, ACE inhibitors). It also implicitly ties its output to the goodrx_class lookup by naming that field, which helps an agent separate it from sibling tools like goodrx_drugs or goodrx_conditions, though it does not explicitly contrast with them.

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?

Usage is only implied: the phrase "slugs for goodrx_class" suggests this is the discovery step that feeds goodrx_class lookups, and "every ... from its class directory" implies a full enumeration with no filtering. There is no explicit statement of when to call this versus a sibling or when not to, so guidance must be inferred.

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.