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".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "drug_name": "aspirin"
    },
    "name": "pharma_safety_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
drug_nameYesDrug name (brand or generic)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / oneOf
      Added value: +[
      +  {
      +    "properties": {
      +      "adverse_events": {
      +        "description": "FDA adverse events data",
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "analysis": {
      +        "description": "Analysis type identifier",
      +        "enum": [
      +          "safety_report"
      +        ],
      +        "type": "string"
      +      },
      +      "drug_drug_interaction_check": {
      +        "properties": {
      +          "available": {
      +            "type": "boolean"
      +          },
      +          "explanation": {
      +            "type": "string"
      +          },
      +          "reason": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "drug_interactions": {
      +        "description": "Known drug interactions",
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "drug_name": {
      +        "description": "Drug name queried",
      +        "type": "string"
      +      },
      +      "fda_label_interactions": {
      +        "properties": {
      +          "query": {
      +            "type": "string"
      +          },
      +          "resolved_via": {
      +            "type": "string"
      +          },
      +          "results": {
      +            "items": {
      +              "properties": {
      +                "brand_name": {
      +                  "type": "string"
      +                },
      +                "dosage_and_administration": {
      +                  "type": "string"
      +                },
      +                "effective_time": {
      +                  "type": "string"
      +                },
      +                "generic_name": {
      +                  "type": "string"
      +                },
      +                "indications_and_usage": {
      +                  "type": "string"
      +                },
      +                "manufacturer": {
      +                  "type": "string"
      +                },
      +                "route": {
      +                  "type": "string"
      +                },
      +                "set_id": {
      +                  "type": "string"
      +                },
      +                "substance_name": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "warnings": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "skip": {
      +            "type": "number"
      +          },
      +          "total": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "found": {
      +        "description": "Present and true on an answer; a miss is the found:false branch.",
      +        "enum": [
      +          true
      +        ],
      +        "type": "boolean"
      +      },
      +      "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"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
      +    "properties": {
      +      "found": {
      +        "enum": [
      +          false
      +        ],
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "found"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "adverse_events": {
      -    "description": "FDA adverse events data",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "analysis": {
      -    "description": "Analysis type identifier",
      -    "enum": [
      -      "safety_report"
      -    ],
      -    "type": "string"
      -  },
      -  "drug_drug_interaction_check": {
      -    "properties": {
      -      "available": {
      -        "type": "boolean"
      -      },
      -      "explanation": {
      -        "type": "string"
      -      },
      -      "reason": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "drug_interactions": {
      -    "description": "Known drug interactions",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "drug_name": {
      -    "description": "Drug name queried",
      -    "type": "string"
      -  },
      -  "fda_label_interactions": {
      -    "properties": {
      -      "query": {
      -        "type": "string"
      -      },
      -      "resolved_via": {
      -        "type": "string"
      -      },
      -      "results": {
      -        "items": {
      -          "properties": {
      -            "brand_name": {
      -              "type": "string"
      -            },
      -            "dosage_and_administration": {
      -              "type": "string"
      -            },
      -            "effective_time": {
      -              "type": "string"
      -            },
      -            "generic_name": {
      -              "type": "string"
      -            },
      -            "indications_and_usage": {
      -              "type": "string"
      -            },
      -            "manufacturer": {
      -              "type": "string"
      -            },
      -            "route": {
      -              "type": "string"
      -            },
      -            "set_id": {
      -              "type": "string"
      -            },
      -            "substance_name": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "warnings": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "skip": {
      -        "type": "number"
      -      },
      -      "total": {
      -        "type": "number"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "recalls": {
      -    "description": "Drug recalls data",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "top_reactions": {
      -    "description": "Top adverse reactions by frequency",
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "analysis",
      -  "drug_name",
      -  "adverse_events",
      -  "top_reactions",
      -  "recalls"
      -]
  2. Changed3 schema fields changed
    • addedOutput schema / properties / drug_drug_interaction_check
      Added value: +{
      +  "properties": {
      +    "available": {
      +      "type": "boolean"
      +    },
      +    "explanation": {
      +      "type": "string"
      +    },
      +    "reason": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / fda_label_interactions
      Added value: +{
      +  "properties": {
      +    "query": {
      +      "type": "string"
      +    },
      +    "resolved_via": {
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "properties": {
      +          "brand_name": {
      +            "type": "string"
      +          },
      +          "dosage_and_administration": {
      +            "type": "string"
      +          },
      +          "effective_time": {
      +            "type": "string"
      +          },
      +          "generic_name": {
      +            "type": "string"
      +          },
      +          "indications_and_usage": {
      +            "type": "string"
      +          },
      +          "manufacturer": {
      +            "type": "string"
      +          },
      +          "route": {
      +            "type": "string"
      +          },
      +          "set_id": {
      +            "type": "string"
      +          },
      +          "substance_name": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "warnings": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "skip": {
      +      "type": "number"
      +    },
      +    "total": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "analysis",
      -  "drug_name",
      -  "adverse_events",
      -  "top_reactions",
      -  "recalls",
      -  "drug_interactions"
      -]New value: +[
      +  "analysis",
      +  "drug_name",
      +  "adverse_events",
      +  "top_reactions",
      +  "recalls"
      +]
  3. 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"
      +}
  4. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "drug_name": "aspirin"
      +  },
      +  {
      +    "drug_name": "warfarin"
      +  }
      +]
  5. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile of the call is settled. The description adds domain coverage (adverse events, severity patterns, contraindications, recall history) but says nothing about data recency, source, or coverage limits a caller would want before trusting safety output.

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?

Three short sentences, front-loaded with purpose, then outputs, then an example — no filler. The middle sentence slightly overlaps the first ('safety profiles' restating 'adverse event frequency, severity patterns'), but the redundancy is minor and the ordering is sensible.

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?

This is a low-complexity, single-required-parameter tool with a fully described schema and an existing output schema, so the description does not need to explain return values. It covers purpose, scope, and an input example; only the lack of routing guidance against overlapping siblings keeps it from a 5.

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?

There is a single parameter with 100% schema description coverage ('Drug name (brand or generic)'), so the schema already does the work. The description only adds a worked example ('aspirin'), which is useful for format intuition but not new semantic depth, matching the 3 baseline for high-coverage schemas.

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+resource: 'Check adverse event frequency, severity patterns, and contraindications for a drug.' That scope is concrete enough that an agent can distinguish this safety-focused tool from a general drug profile sibling. It stops short of explicitly naming what it is not, so a 4 rather than a 5.

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?

Use context is implied by the subject matter (looking up safety/risk data for a named drug) and reinforced by the 'search "aspirin"' example. There is no explicit when-to-use versus when-not guidance, and no named alternative for adjacent questions like approvals, sales, or pipelines.

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