Skip to main content
Glama
apify-official-data-mcp

apify-official-data-mcp

search_clinical_trials_openfda

Query ClinicalTrials.gov v2 studies with PI contacts and openFDA Drugs@FDA approvals or drug recalls to compare trial, approval, and safety data.

Instructions

Query ClinicalTrials.gov v2 studies (with PI contacts), openFDA Drugs@FDA approvals, and FDA drug recalls.

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

Input Schema

NameRequiredDescriptionDefault
phasesNo
countryNo
sponsorNo
datasetsNo
trial_statusesNo
condition_or_diseaseNooncology
drug_or_interventionNo
max_total_charge_usdNo
industry_sponsors_onlyNo
max_results_per_datasetNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and adds almost nothing: it does not state that this is a read-only search, how results are paginated or ranked, whether the three datasets are joined or returned separately, or what the notable `condition_or_disease` default of "oncology" implies. The parenthetical "(with PI contacts)" is the only behavioral detail offered.

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?

It is a single front-loaded sentence with no filler and clearly enumerates the three sources. It is arguably too terse for a 10-parameter tool, but that is a completeness problem rather than a structural one.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, but for a 10-parameter, multi-dataset aggregator with no annotations and zero schema documentation, the description is far too thin. An agent cannot determine filter value formats, dataset selection rules, or how results from three distinct sources are combined.

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

Parameters1/5

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

Schema description coverage is 0% across 10 parameters, and the description explains none of them. Key semantics are left entirely unresolved: what values `phases` and `trial_statuses` accept, what `datasets` selects from, what `max_total_charge_usd` means in a clinical-trials context, and why `condition_or_disease` silently defaults to oncology.

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 concrete verb ("Query") and three specific resources (ClinicalTrials.gov v2 studies with PI contacts, openFDA Drugs@FDA approvals, FDA drug recalls), which is far more informative than the name alone. The domain is obviously distinct from the sibling tools (tenders, federal contracts, sanctions screening, VAT verification), but the description does not clarify how the three data sources relate or which one is returned by default.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this multi-source query versus a single-source lookup, nor any when-not conditions, prerequisites, or notes on combining datasets. The presence of a `datasets` parameter implies selectable sources, yet the description never explains selection behavior or whether omitting filters queries all three sources.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.