Skip to main content
Glama

OpenFDA Drugs@FDA Approvals MCP

Get Drugs@FDA approval statistics

get_drugsfda_stats
Read-onlyIdempotent

Aggregate Drugs@FDA approval counts grouped by sponsor, dosage form, route of administration, marketing status, or submission type.

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_drugsfda_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax aggregation buckets to return (default 10).
queryNoOptional drug name, ingredient, or sponsor filter.
group_byNoAggregation dimension (default "sponsor").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds that results are bucketed counts, which is real behavioral context, but says nothing about whether counts are computed over the full dataset, how buckets are ordered, or what happens when a filter matches nothing.

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?

A single sentence with no filler, front-loaded with the operation and followed by the available dimensions. It is efficient, though the trailing 'or' list is a near-verbatim repeat of the schema enum rather than new information.

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?

For a simple three-parameter read-only aggregation tool with no required parameters and fully documented schema, the definition supplies enough to call it correctly: the metric being counted, the allowed groupings, and an optional filter. Nothing essential is missing even without an output schema, since the return is plainly a set of labeled counts.

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 100%: limit, query, and group_by each carry an inline description plus an enum for group_by with a documented default. The description only restates the same grouping dimensions, adding no format, syntax, or interaction details beyond the schema, so the baseline 3 applies.

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 names a specific operation and resource: aggregate Drugs@FDA approval counts, with the grouping dimensions spelled out. It is immediately clear this is an aggregation tool rather than a lookup, which implicitly separates it from the search/inspect siblings, though no sibling is named.

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 word "aggregate" implies use when counts or distributions are wanted rather than individual records, but the description never states when to use this instead of search_drugsfda_approvals or the other lookup tools, and gives no exclusions or prerequisites. Usage is inferable but not explicit.

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.