Skip to main content
Glama
cyntrica

Gov Data MCP

by cyntrica

clinical_trials_search

Read-only

Search ClinicalTrials.gov for clinical trials using filters for condition, drug, sponsor, status, phase, location, or free-text keywords.

Instructions

Search ClinicalTrials.gov for clinical trials by condition, drug/intervention, sponsor, status, phase, study type, location, title, or free text. Returns trial ID, title, status, phase, sponsor, conditions, enrollment, and hasResults flag. Use sponsor filter to track pharma company research (e.g. 'Pfizer', 'Moderna', 'NIH'). Use filter_advanced for Essie expressions like 'AREA[StartDate]RANGE[2024-01-01,MAX]'. Use agg_filters for shorthand filters: 'results:with', 'sex:f', 'healthy:y'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoSort field: '@relevance', 'LastUpdatePostDate', 'EnrollmentCount:desc'
phaseNoTrial phase: 'EARLY_PHASE1' (Early Phase 1 (exploratory)), 'PHASE1' (Phase 1 (safety/dosage in small group)), 'PHASE2' (Phase 2 (efficacy/side effects in larger group)), 'PHASE3' (Phase 3 (large-scale efficacy confirmation)), 'PHASE4' (Phase 4 (post-market surveillance)), 'NA' (Not applicable (non-drug studies))
queryNoFree-text search across all fields
statusNoTrial status. Pipe-delimited for multiple: 'RECRUITING' (Currently recruiting participants), 'NOT_YET_RECRUITING' (Approved but not yet recruiting), 'ACTIVE_NOT_RECRUITING' (Ongoing but no longer recruiting), 'COMPLETED' (Trial has concluded), 'ENROLLING_BY_INVITATION' (Recruiting by invitation only), ... (14 total)
titlesNoTitle/acronym search: 'KEYNOTE', 'SPRINT'
sponsorNoSponsor/collaborator: 'Pfizer', 'NIH', 'Moderna'
locationNoLocation search: 'California', 'Germany', 'Mayo Clinic'
outcomesNoOutcome measure search: 'overall survival', 'HbA1c'
study_idNoStudy ID search: 'NCT04852770' or org study ID
conditionNoDisease or condition: 'lung cancer', 'diabetes', 'Alzheimer'
page_sizeNoResults per page (default 10, max 100)
page_tokenNoPagination token from previous response
study_typeNoStudy type: 'INTERVENTIONAL' (Testing a drug, device, or procedure), 'OBSERVATIONAL' (Observing health outcomes without intervention), 'EXPANDED_ACCESS' (Making experimental treatment available outside trial)
agg_filtersNoAggregation filters: 'results:with,sex:f,healthy:y'
interventionNoDrug, device, or procedure: 'pembrolizumab', 'insulin'
lead_sponsorNoLead sponsor name only (not collaborators): 'National Cancer Institute'
filter_advancedNoEssie expression filter: 'AREA[MinimumAge]RANGE[MIN,18 years]'
Behavior4/5

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

Annotations already declare readOnlyHint=true. The description adds value by stating the return fields (trial ID, title, status, phase, sponsor, conditions, enrollment, hasResults flag) and giving examples of specialized query syntaxes (Essie expressions and aggregation shorthands). It does not cover pagination or rate limits, but the schema already documents page_size and page_token.

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?

The description is five sentences, front-loaded with purpose, followed by return fields and targeted usage examples. Every sentence contributes meaningful information without redundancy or 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 the tool's complexity (17 optional parameters, no output schema), the description provides a solid overview of search capabilities, return fields, and advanced usage examples. It complements the rich schema descriptions and gives an agent enough context to select and invoke the tool correctly for common use cases.

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% with detailed parameter descriptions, so the baseline is 3. The description goes beyond by providing concrete examples for sponsor ('Pfizer', 'Moderna', 'NIH'), filter_advanced ('AREA[StartDate]RANGE[2024-01-01,MAX]'), and agg_filters ('results:with,sex:f,healthy:y'), which enhance practical understanding of how to use these parameters.

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?

The description begins with 'Search ClinicalTrials.gov for clinical trials' and lists specific search facets (condition, drug/intervention, sponsor, status, phase, study type, location, title, or free text). This clearly distinguishes it from sibling tools like clinical_trials_detail and clinical_trials_stats, which have different primary functions.

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

Usage Guidelines4/5

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

Provides clear context for use, including a concrete use case ('Use sponsor filter to track pharma company research') and guidance for advanced parameters (filter_advanced, agg_filters). However, it does not explicitly mention when to use alternative sibling tools (e.g., clinical_trials_detail for full trial details), so it lacks an explicit when-not-to-use statement.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyntrica/gov-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server