Skip to main content
Glama

trial_searcher

Search ClinicalTrials.gov for studies using advanced filters like conditions, interventions, location, phase, and eligibility. Plan your strategy first, then retrieve trial details efficiently.

Instructions

Search ClinicalTrials.gov for clinical studies.

⚠️ PREREQUISITE: Use the 'think' tool FIRST to plan your research strategy! Comprehensive search tool for finding clinical trials based on multiple criteria. Supports filtering by conditions, interventions, location, phase, and eligibility. Location search notes: - Use either location term OR lat/long coordinates, not both - For city-based searches, AI agents should geocode to lat/long first - Distance parameter only works with lat/long coordinates Returns a formatted list of matching trials with key details.

Input Schema

NameRequiredDescriptionDefault
age_groupNoFilter by age group
conditionsNoMedical conditions to search for
distanceNoDistance in miles from lat/long coordinates
funder_typeNoFilter by funding source
healthy_volunteersNoFilter by healthy volunteer eligibility
interventionsNoTreatment interventions to search for
latNoLatitude for location-based search. AI agents should geocode city names before using.
locationNoLocation term for geographic filtering
longNoLongitude for location-based search. AI agents should geocode city names before using.
other_termsNoAdditional search terms
pageNoPage number (1-based)
page_sizeNoResults per page
phaseNoFilter by clinical trial phase
recruiting_statusNoFilter by recruiting status
sexNoFilter by biological sex
study_typeNoFilter by study type

Input Schema (JSON Schema)

{ "properties": { "age_group": { "anyOf": [ { "enum": [ "CHILD", "ADULT", "OLDER_ADULT" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter by age group", "title": "Age Group" }, "conditions": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "string" }, { "type": "null" } ], "default": null, "description": "Medical conditions to search for", "title": "Conditions" }, "distance": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Distance in miles from lat/long coordinates", "title": "Distance" }, "funder_type": { "anyOf": [ { "enum": [ "NIH", "OTHER_GOV", "INDUSTRY", "OTHER" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter by funding source", "title": "Funder Type" }, "healthy_volunteers": { "anyOf": [ { "enum": [ "YES", "NO" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter by healthy volunteer eligibility", "title": "Healthy Volunteers" }, "interventions": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "string" }, { "type": "null" } ], "default": null, "description": "Treatment interventions to search for", "title": "Interventions" }, "lat": { "anyOf": [ { "maximum": 90, "minimum": -90, "type": "number" }, { "type": "null" } ], "default": null, "description": "Latitude for location-based search. AI agents should geocode city names before using.", "title": "Lat" }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Location term for geographic filtering", "title": "Location" }, "long": { "anyOf": [ { "maximum": 180, "minimum": -180, "type": "number" }, { "type": "null" } ], "default": null, "description": "Longitude for location-based search. AI agents should geocode city names before using.", "title": "Long" }, "other_terms": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "string" }, { "type": "null" } ], "default": null, "description": "Additional search terms", "title": "Other Terms" }, "page": { "default": 1, "description": "Page number (1-based)", "minimum": 1, "title": "Page", "type": "integer" }, "page_size": { "default": 10, "description": "Results per page", "maximum": 100, "minimum": 1, "title": "Page Size", "type": "integer" }, "phase": { "anyOf": [ { "enum": [ "EARLY_PHASE1", "PHASE1", "PHASE2", "PHASE3", "PHASE4", "NOT_APPLICABLE" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter by clinical trial phase", "title": "Phase" }, "recruiting_status": { "anyOf": [ { "enum": [ "OPEN", "CLOSED", "ANY" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter by recruiting status", "title": "Recruiting Status" }, "sex": { "anyOf": [ { "enum": [ "FEMALE", "MALE", "ALL" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter by biological sex", "title": "Sex" }, "study_type": { "anyOf": [ { "enum": [ "INTERVENTIONAL", "OBSERVATIONAL", "EXPANDED_ACCESS" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Filter by study type", "title": "Study Type" } }, "title": "trial_searcherArguments", "type": "object" }

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/genomoncology/biomcp'

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