Skip to main content
Glama

fda_drug_compare

Read-only

FDA drug label side-by-side — Compare two medicines side by side from their official FDA labels (openFDA SPL): brand/generic, Rx or OTC, route, pharmacologic class, boxed warning, indications, contraindications, pregnancy, common adverse reactions - plus whether either label names the other drug or its drug class in its interaction, warning or contraindication text (with excerpts). Verdict: SAME_INGREDIENT / INTERACTION_MENTIONED / CLASS_INTERACTION_MENTIONED / SAME_CLASS_DUPLICATE_THERAPY_RISK / NO_LABEL_MENTION_FOUND. a= and b= are generic or brand names. Label text only, not medical advice. Price: $0.006 USDC (Base, via x402).

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": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "fda_drug_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYese.g. warfarin
bYese.g. ibuprofen

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-destructive, so the safety profile is covered; the description adds real operational context beyond that: the exact verdict taxonomy returned, that excerpts accompany mentions, that content is label text rather than advice, and the $0.006 USDC x402 cost on Base. The only missing piece is whether a missing label for one drug errors or degrades to NO_LABEL_MENTION_FOUND.

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?

Front-loaded with the core action and scope, then the returned fields, then the verdict set, then constraints and price — a sensible order. The field list is dense and comma-chained, costing some readability, but every clause carries information an agent needs.

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 no output schema, the description does the work of describing return contents (fields plus the five verdict values) and adds cost and a disclaimer. It is nearly complete for a two-parameter tool; the only gap is edge-case behavior when a label is absent or a name is ambiguous.

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 100% and both parameters carry examples, so the baseline is 3. The description still adds meaning by stating that either generic or brand names are accepted, which the schema examples (both generics) do not convey — a genuinely useful clarification for agent input construction.

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 — 'Compare two medicines side by side from their official FDA labels' — and enumerates exactly which label fields are returned plus the five possible verdicts. It is clearly distinguishable from single-drug siblings like fda_drug_label or fda_interaction_check because it explicitly frames the two-drug, side-by-side scope.

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 two-drug comparison context implies when to use it, and 'a= and b= are generic or brand names' plus 'Label text only, not medical advice' set some framing. However, no sibling alternative is named or excluded (e.g. fda_interaction_check or health_drug_safety_compare), so the agent must infer the boundary itself.

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.

Resources