Skip to main content
Glama

clinicaltrials_studies

Read-only

Searches ClinicalTrials.gov clinical studies and returns one page of study records (NCT number, title, overall status, results flag and the full official record) with a next_page_token. Use it to find trials by condition (cond), intervention (intr), sponsor, location, free text or NCT ids, filtered by overall_status, distance (latitude, longitude, distance), agg_filters such as phase:2 3 or results:with, dates and ages; set fields to trim large records.

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. Documented values: markdown, legacy.
overall_statusNoComma-separated overall statuses. Documented values: ACTIVE_NOT_RECRUITING, COMPLETED, ENROLLING_BY_INVITATION, NOT_YET_RECRUITING, RECRUITING, SUSPENDED, TERMINATED, WITHDRAWN, AVAILABLE, NO_LONGER_AVAILABLE, TEMPORARILY_NOT_AVAILABLE, APPROVED_FOR_MARKETING, WITHHELD, UNKNOWN.
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

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint/idempotentHint=false, so safety is covered; the description adds behavior beyond them, namely that results are paged with a next_page_token and that records are large enough to warrant trimming via fields. It does not mention the cap of 1000 results when fields is set or any rate limits, but the pagination and record-size signals are the operationally important ones.

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?

Two sentences, front-loaded with the outcome and return shape, with zero filler. The second sentence is a long clause chain that reads as a parameter dump, but it is dense rather than padded, so it largely earns its length.

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?

With 42 optional parameters, an output schema, and full schema descriptions, the description only needs to carry purpose, selection guidance and pagination behavior, all of which are present. Missing are pointers to the companion metadata/facets/enums siblings referenced indirectly by parameters like fields and synonyms, which would have made it complete.

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 coverage is 100%, so the baseline is 3; the description mostly restates parameter groups already documented in the schema. It does add a small amount of illustrative syntax ("phase:2 3 or results:with") that helps an agent construct agg_filters, but leaves the nontrivial parameters (geo_decay syntax, synonyms, sort) to the schema.

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 opens with a specific verb and resource ("Searches ClinicalTrials.gov clinical studies") and states the returned shape (NCT number, title, status, results flag, full record) plus the pagination token. That is enough to distinguish it from the single-record sibling clinicaltrials_study, though no sibling is named explicitly, so the contrast must be inferred from "one page of study records".

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?

The second sentence is genuine when-to-use guidance: find trials by condition, intervention, sponsor, location, free text or NCT ids, then narrow with status, distance, agg_filters, dates and ages. It stops short of stating when *not* to use it or naming alternatives (e.g. the facets/metadata siblings for discovery, or clinicaltrials_study for a known NCT), so the agent gets context but no explicit exclusions.

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.