Skip to main content
Glama

OpenFDA Device Events MCP

Get FDA MAUDE manufacturer and device statistics

get_manufacturer_device_stats
Read-onlyIdempotent

Aggregate FDA MAUDE adverse event counts grouped by manufacturer, generic device name, event type, or FDA product code.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax aggregation buckets to return (default 10).
queryNoOptional device or manufacturer search filter.
group_byNoAggregation dimension (default "manufacturer").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds no behavioral context beyond that — nothing about result ordering, how buckets are computed, truncation at the limit, or whether the aggregation scans the full dataset.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the resource and the grouping options are stated immediately. Every word earns its place.

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?

For a simple read-only aggregation with 3 fully documented optional parameters and rich annotations, the definition is nearly complete. The phrase "adverse event counts grouped by" implicitly conveys the return shape even without an output schema, though a note on ordering or truncation would close the last gap.

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%, so limit, query and group_by are already documented, including the enum values and the default of "manufacturer". The description restates the grouping dimensions but adds no syntax or semantic detail beyond the schema, making the baseline 3 correct.

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?

States a specific verb (aggregate) and resource (FDA MAUDE adverse event counts) plus the four grouping dimensions, which clearly separates it from sibling search/retrieval tools. It lacks an explicit contrast with siblings like search_device_events, but the aggregation framing is unambiguous.

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 only implied: the agent can infer it should call this when it wants counts rather than individual event records. There is no explicit when-to-use statement, no when-not-to-use, and no named alternative for record-level lookups.

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.