Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

clinicaltrials_studies

Search ClinicalTrials.gov studies by condition, intervention, sponsor, location, status, dates, or free text, with filtering, sorting, and paging.

Instructions

Search ClinicalTrials.gov studies. Searches the ClinicalTrials.gov registry (official API v2) by condition, intervention, sponsor, location, title, outcome, IDs or free text, with status, distance, Essie, synonym, search-page (agg_filters), location, date-range and age filters, field selection, sorting and cursor paging. Each study is the unmodified upstream record plus nct_id, brief_title, overall_status, has_results and url. Every response carries source, data_timestamp and source_url for the required ClinicalTrials.gov attribution.

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

Input Schema

NameRequiredDescriptionDefault
idNoStudy IDs query (IdSearch area: NCT numbers, org and secondary IDs)
idsNoComma-separated NCT numbers (also matches NCT aliases)
cityNoLocation city (AREA[LocationCity])
condNoConditions or disease query (Essie syntax, ConditionSearch area)
intrNoIntervention or treatment query (InterventionSearch area)
leadNoLead sponsor name query (LeadSponsorName field)
locnNoLocation terms query (LocationSearch area)
outcNoOutcome measure query (OutcomeSearch area)
sortNoUp to 2 comma-separated date or numeric fields, each optionally :asc or :desc, or @relevance
termNoOther terms query (Essie syntax, BasicSearch area)
sponsNoSponsor or collaborator query (SponsorSearch area)
stateNoLocation state or region (AREA[LocationState])
age_toNoEligible age range end
fieldsNoComma-separated field, piece or area names to return (see /clinicaltrials/studies/metadata); @query adds the fields the search matched
titlesNoTitle or acronym query (TitleSearch area)
countryNoLocation country (AREA[LocationCountry])
patientNoPatient-friendly search (PatientSearch area)
advancedNoEssie expression filter, ANDed with the location, date and age filters
age_fromNoEligible age range start: number and unit (Years, Months, Weeks, Days, Hours, Minutes)
distanceNoRadius with km or mi unit
latitudeNoLatitude of the distance filter (with longitude and distance)
start_toNoStudy start date to
synonymsNoComma-separated area:synonym_id pairs from /clinicaltrials/studies/facets
geo_decayNoProximity ranking for the distance filter: func:(gauss|exp|linear),scale:<d>(km|mi),offset:<d>(km|mi),decay:<n>
longitudeNoLongitude of the distance filter
page_sizeNoStudies per page; default 10, max 100, or max 1000 when fields is set
page_tokenNonext_page_token from the previous page; keep every other parameter the same
start_fromNoStudy start date from (YYYY, YYYY-MM or YYYY-MM-DD)
agg_filtersNoSearch-page filters as id:key pairs, keys space-separated, ids comma-separated; ids and keys: status (not, rec, act, com, ter, enr, sus, wit, unk, ava, nla, tna, afm), sex (f, m), ages (child, adult, older), healthy (y), phase (0, 1, 2, 3, 4, NA), studyType (int, obs, obs_patreg, exp, exp_indiv, exp_inter, exp_treat), results (with, without), funderType (nih, fed, industry, other), docs (prot, sap, icf), violation (y), ressub (n, y, c)
count_totalNoReturn total_count with the first page
completion_toNoStudy completion date to
markup_formatNoFormat of markup fields; default markdown
overall_statusNoComma-separated overall statuses
completion_fromNoStudy completion date from
first_posted_toNoFirst posted date to
first_posted_fromNoFirst posted date from
last_update_posted_toNoLast update posted date to
primary_completion_toNoPrimary completion date to
last_update_posted_fromNoLast update posted date from
primary_completion_fromNoPrimary completion date from
results_first_posted_toNoResults first posted date to
results_first_posted_fromNoResults first posted date from

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.28

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: each study is the unmodified upstream record plus injected fields (nct_id, brief_title, overall_status, has_results, url), and every response includes source, data_timestamp and source_url for required attribution. Paging is identified as cursor-based. It omits what a zero-parameter call returns and any rate/limit behavior.

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?

Purpose is front-loaded in the first clause and the rest is dense, information-bearing detail. The second half is a long comma-piled list that is harder to scan than it needs to be, but no sentence is filler.

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 42-parameter search tool with no output schema and no annotations, the description covers the return payload, cursor paging, the metadata lookup for field selection, and the attribution requirement. The main remaining gap is default behavior when no filters are supplied.

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 description coverage is 100%, so the schema already explains each of the 42 parameters, including Essie syntax, units and the agg_filters key vocabulary. The description adds little parameter-level meaning beyond restating the categories of filters available; baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb and resource ('Search ClinicalTrials.gov studies') and then enumerates the search axes (condition, intervention, sponsor, location, title, outcome, IDs, free text), which is far more than a restatement of the name. It does not explicitly name the sibling that fetches a single record (clinicaltrials_study), but the scope is unambiguous.

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 implied by the enumerated search axes and by the pointer to '/clinicaltrials/studies/metadata' for field names, so an agent can infer when this tool is appropriate. However, there is no explicit when-to-use versus when-not-to-use guidance, no mention of what happens when no filter is supplied, and no routing to the facets/enums/search_areas siblings.

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

Deploy Server

Other Tools