Skip to main content
Glama

Midgard Finance drug data

Get adverse event rates

get_adverse_events
Read-only

Extracted adverse-event rates for a named drug or trial, by arm, with the arithmetic that was checked.

drug is a molecule or a brand (tirzepatide or Zepbound). ae_type narrows to a kind of event, every word of it found in the stored type: discontinuation_ae is the share who stopped the drug because of an adverse event (quit over side effects), and the others include discontinuation_ae_gi, nausea, vomiting, diarrhea, constipation, serious_ae, any_ae and death. available_ae_types lists the types the named drug or trial holds. not_published names the matching trials that hold no rows because their side-effect figures were never published, with what the sponsor did say (REDEFINE 4, the CagriSema and tirzepatide head-to-head).

verification is carried through verbatim. It is the raw-count recomputation recorded when the row was extracted ("997/2481 active = 40.18%"), and it is what lets a caller see that the percentage was checked against the paper rather than copied from an abstract. Where it is absent or covers one arm only, verification_note says what the check found: that the source prints no count behind the percentage, that no copy of the source is cached, or that no count in the event's own row of the table matches. A note is about the check, not a verdict on the figure.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
drugNo
limitNo
trialNo
ae_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / limit / default
      Previous value: -40New value: +10
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare it a non-destructive, closed-world read; the description goes well beyond that by explaining that `verification` is carried through verbatim as a raw-count recomputation, what `verification_note` means when the check fails or covers one arm, and that a note is about the check rather than a verdict on the figure. It also discloses the empty-result behavior via `not_published` and its sponsor-statement fallback, which is exactly the kind of context annotations cannot convey.

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?

The lead sentence front-loads the resource and the verification angle, and the following paragraphs are dense with substantive detail rather than filler. It is slightly long and the parenthetical "every word of it found in the stored type" is awkwardly phrased, but nearly every clause carries information an agent would otherwise have to guess.

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 the return surface (arm-level rates, `verification`, `verification_note`, `available_ae_types`, `not_published`) and the provenance caveats. The remaining gap is the missing `limit` semantics and any statement of ordering or default result size, which matters for a list-returning 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 description coverage is 0%, so the description must carry all four parameters. It does this well for `drug` (molecule or brand, with examples) and `ae_type` (token matching against the stored type, plus the enumeration of types), but `trial` is only glancingly covered and `limit` is never mentioned at all, leaving the paging behavior undefined.

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?

"Extracted adverse-event rates for a named drug or trial, by arm, with the arithmetic that was checked" names a specific resource (adverse-event rates), the two scoping dimensions (drug or trial, by arm), and the distinguishing property (verified arithmetic). An agent can tell this is the safety/AE lookup and not the efficacy or trial-metadata tools.

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?

Usage is implied rather than stated: it makes clear you query by drug or trial and narrow with ae_type, and it points to `available_ae_types` for discovery and `not_published` for the empty-result case, which is genuine workflow guidance. However, it never says when to choose this over a sibling comparison or drug/trial lookup, and it offers no explicit exclusion or precondition.

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