Skip to main content
Glama

OpenFDA Device PMA Approvals MCP

Get FDA PMA approval statistics

get_pma_stats
Read-onlyIdempotent

Aggregate FDA Class III PMA approval counts grouped by applicant, advisory committee, supplement 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_pma_stats"
  }
}

Input Schema

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

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, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds the aggregation semantics (counts bucketed by dimension), which is useful, but says nothing about bucket truncation, how ties or empty buckets are handled, or what a result row contains.

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 the verb first and the grouping options enumerated inline. There is no filler and nothing an agent must read past to reach the operative information.

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 three-parameter, all-optional aggregation tool with no output schema, the description conveys enough: what is counted and how results are bucketed. It could go slightly further on the shape of returned buckets, but the phrase "counts grouped by" already implies that output structure.

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 coverage is 100%, so all three parameters, including the default for group_by and the limit range, are already documented. The description merely restates the group_by enum values without adding format, behavior, 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 uses a specific verb ("Aggregate") with a precise resource ("FDA Class III PMA approval counts") and enumerates the four grouping dimensions, which makes it clearly distinct from record-returning siblings like search_pma_approvals. It stops short of naming a sibling, but the aggregate-vs-search distinction is evident from the wording alone.

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: an agent can infer this is the tool for counts/breakdowns rather than record retrieval, but there is no explicit when-to-use statement, no exclusions, and no reference to alternatives such as search_pma_approvals for row-level data.

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.