Skip to main content
Glama

get_drug_warnings

Retrieve contraindications, warnings, and adverse reactions for any drug using structured clinical data to support safe medication decisions.

Instructions

Get warnings, contraindications, and adverse reactions for a drug. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoBCP 47 locale for labels and messages (for example zh-TW).zh-TW
drug_nameYes
output_formatNoText rendering. structuredContent always follows the versioned outputSchema.json

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
metaYes
errorsYes
statusYes
sourcesYes
warningsYes
schema_versionYes
Behavior2/5

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

No annotations are provided, and the description only covers result handling (structuredContent as source of truth), without disclosing behavioral traits such as side effects, authentication needs, rate limits, or whether the tool is destructive.

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?

Two sentences, front-loaded with purpose, efficient. The agent contract is valuable but slightly verbose, earning a 4 rather than a 5.

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

Completeness3/5

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

Given an output schema exists, the description adequately covers purpose and result handling. However, it lacks parameter guidance and usage context, making it minimally viable but not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds no additional meaning beyond the input schema; the required drug_name parameter lacks a schema description and the description does not explain how to specify it, leaving a gap despite 67% schema coverage.

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?

Description clearly states 'Get warnings, contraindications, and adverse reactions for a drug' with a specific verb and resource, differentiating it from sibling tools like check_drug_interaction or get_drug_info.

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?

Description includes an agent contract about handling structuredContent, but does not explicitly state when to use this tool versus alternatives like check_drug_interaction or get_drug_dosage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/u9401066/pharmacy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server