Skip to main content
Glama

CULT+MATH Decision Briefs

Who is getting FDA clearance in this device category?

run_device_clearances
Read-onlyIdempotent

Use when the user is sizing competition in a medical device category, diligencing a medtech target, or asks who is bringing devices to market: "how many pulse oximeters got 510(k) clearance?", "which companies are clearing devices under product code DQA?". Returns FDA 510(k) decisions per year from openFDA, whether they are rising or falling, and the most active applicants. Clearances, not sales. Refuses before you are charged if the category matches nothing. Every result carries a run id, a date and a citation line. Calling this tool returns a quote, not the result: what the run measures, its price and a payment_url. The run happens only when you POST to payment_url, and a run that fails its controls refuses there with nothing charged. Dimensions (vary these inputs to cut the answer; each call is its own run): over time: built in: by year (years); segment: product_code or device. Price: $0.05 per run over x402 (USDC on Base, no account needed), or $0.50 over MPP (a Stripe shared payment token); charged only when the run comes back sound. For recalls in the category, use run_recall_watch.

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": "run_device_clearances"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoComplete calendar years to cover, ending last year. Default 6.
deviceNoA device phrase matched against device names, e.g. "pulse oximeter". Give this or product_code.
product_codeNoThe FDA three-letter product code, e.g. "DQA". Give this or device.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the run is unavailable, when it is.
errorNoWhy the inputs were refused, with the expected usage. Nothing is charged.
limitsNoWhat the run cannot tell you, stated before you pay.
recipeNoThe run, e.g. "filing-trend".
availableNofalse when the run is switched off; then nothing can be charged.
next_stepNoWhat to tell the user before paying.
price_usdNoPrice over MPP (Stripe shared payment token).
payment_urlNoPOST here to run and pay. Not a checkout page.
instructionsNoHow to pay over MPP and x402, and how to ask for publication.
what_you_getNoWhat the paid result will contain for these inputs.
x402_price_usdNoPrice over x402 (USDC on Base), when offered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial context beyond them: the call returns a quote rather than a result, execution requires POSTing to payment_url, pricing differs by rail ($0.05 x402 USDC vs $0.50 MPP), and failed controls refuse with nothing charged. It also discloses output composition (run id, date, citation line), which an agent needs in order to sequence the two-step flow.

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 triggering use cases and the sibling alternative are front-loaded, and the payment caveat is stated before the call is made rather than buried. The middle section is dense — the telegraphic "over time: built in: by year (years); segment: product_code or device" fragment is harder to parse than the rest — but no sentence is wasted filler.

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?

Given an output schema exists, the description need not explain return fields, and it still flags the citation line and run id. For a paid, two-phase tool the critical unknowns — cost, payment mechanism, charging condition, failure behavior, and the recall sibling — are all covered.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by explaining how the inputs act as dimensions that cut the answer (over time via years, segment via product_code or device) and that each call spawns its own run. It does not restate the defaults or the mutual-exclusivity rule beyond the schema, so it stops short of 5.

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?

States a specific verb and resource: FDA 510(k) clearances per year from openFDA, trend direction, and most active applicants. It supplies concrete example questions ("how many pulse oximeters got 510(k) clearance?") and explicitly delimits scope with "Clearances, not sales." An agent can immediately distinguish it from run_recall_watch, which 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Opens with concrete triggering situations (sizing competition, diligencing a medtech target, who is bringing devices to market) and then names the alternative tool and its condition: "For recalls in the category, use run_recall_watch." Both when-to-use and when-to-use-something-else are 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.

Resources