Skip to main content
Glama

Pharma Safety Report

pharma_safety_report
Read-onlyIdempotent

Check adverse event frequency, severity patterns, and contraindications for a drug. Returns safety profiles, risk data, and recall history. E.g., search "aspirin".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
drug_nameYesDrug name (brand or generic)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
recallsYesDrug recalls data
analysisYesAnalysis type identifier
drug_nameYesDrug name queried
top_reactionsYesTop adverse reactions by frequency
adverse_eventsYesFDA adverse events data
drug_interactionsYesKnown drug interactions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "adverse_events": {
      +      "description": "FDA adverse events data",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "analysis": {
      +      "description": "Analysis type identifier",
      +      "enum": [
      +        "safety_report"
      +      ],
      +      "type": "string"
      +    },
      +    "drug_interactions": {
      +      "description": "Known drug interactions",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "drug_name": {
      +      "description": "Drug name queried",
      +      "type": "string"
      +    },
      +    "recalls": {
      +      "description": "Drug recalls data",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "top_reactions": {
      +      "description": "Top adverse reactions by frequency",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "analysis",
      +    "drug_name",
      +    "adverse_events",
      +    "top_reactions",
      +    "recalls",
      +    "drug_interactions"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "drug_name": "aspirin"
      +  },
      +  {
      +    "drug_name": "warfarin"
      +  }
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already indicate idempotent, read-only, non-destructive behavior. The description adds that it returns safety profiles, risk data, and recall history, which supplements but does not significantly extend beyond what annotations convey.

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?

Two concise sentences with an example. Front-loaded with the core action and returns. No superfluous text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (1 param, output schema present), the description covers purpose, returns, and provides an example. It is fully adequate for an agent to understand and invoke the 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% with a clear description for 'drug_name'. The description reinforces with an example but adds no extra semantic nuance beyond the schema.

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 tool's purpose: checking adverse event frequency, severity patterns, and contraindications for a drug. It uses a specific verb ('check') and resource ('adverse events') and distinguishes itself from siblings like 'pharma_drug_profile' by focusing on safety data.

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 for safety-related queries about a drug but does not explicitly mention when to avoid using it or provide alternatives among siblings. The example hints at common use but no direct guidance.

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