pharma_safety_report
Pack: pharma-intel · Endpoint: https://gateway.pipeworx.io/pharma-intel/mcp
Check adverse event frequency, severity patterns, and contraindications for a drug. Returns safety profiles, risk data, and recall history. E.g., search “aspirin”.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
drug_name | string | yes | Drug name (brand or generic) |
Example call
Arguments
{
"drug_name": "aspirin"
}
curl
curl -X POST https://gateway.pipeworx.io/pharma-intel/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pharma_safety_report","arguments":{"drug_name":"aspirin"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('pharma_safety_report', {
"drug_name": "aspirin"
});
More examples
{
"drug_name": "warfarin"
}
Response shape
Always returns: analysis, drug_name, adverse_events, top_reactions, recalls, drug_interactions
| Field | Type | Description |
|---|---|---|
analysis | string | Analysis type identifier |
drug_name | string | Drug name queried |
adverse_events | object | null | FDA adverse events data |
top_reactions | object | null | Top adverse reactions by frequency |
recalls | object | null | Drug recalls data |
drug_interactions | object | null | Known drug interactions |
Full JSON Schema
{
"type": "object",
"properties": {
"analysis": {
"type": "string",
"enum": [
"safety_report"
],
"description": "Analysis type identifier"
},
"drug_name": {
"type": "string",
"description": "Drug name queried"
},
"adverse_events": {
"type": [
"object",
"null"
],
"description": "FDA adverse events data"
},
"top_reactions": {
"type": [
"object",
"null"
],
"description": "Top adverse reactions by frequency"
},
"recalls": {
"type": [
"object",
"null"
],
"description": "Drug recalls data"
},
"drug_interactions": {
"type": [
"object",
"null"
],
"description": "Known drug interactions"
}
},
"required": [
"analysis",
"drug_name",
"adverse_events",
"top_reactions",
"recalls",
"drug_interactions"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"pharma-intel": {
"url": "https://gateway.pipeworx.io/pharma-intel/mcp"
}
}
}
See Getting Started for client-specific install steps.