Skip to main content
Glama

Search ClinicalTrials.gov

search_clinical_trials
Read-onlyIdempotent

Search ClinicalTrials.gov for registered clinical studies by condition, intervention, or term and filter by recruitment status to retrieve citable trial summaries with NCT IDs and registry URLs.

Instructions

Search ClinicalTrials.gov for registered clinical studies.

Filter by condition, intervention and recruitment status (e.g. RECRUITING). At least one of condition, intervention or term is required. Returns compact summaries: NCT ID, title, status, phases, conditions, interventions, lead sponsor, enrollment and key dates, each with a registry URL to cite. Call get_clinical_trial for eligibility criteria, outcomes and sites.

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

Input Schema

NameRequiredDescriptionDefault
termNoOptional extra free-text terms (sponsor, city, ...).
statusNoRecruitment status filter: one value or a list.
conditionNoDisease or condition, e.g. 'multiple myeloma'.
max_resultsNoStudies to return (1-50).
interventionNoDrug, biologic, device or procedure, e.g. 'CAR-T'.

Output Schema

NameRequiredDescriptionDefault
termYes
sourceNoClinicalTrials.gov
resultsYes
returnedYes
statusesYes
conditionYes
search_urlYesThe same search on the ClinicalTrials.gov website.
total_countYesTotal matching studies in the registry.
interventionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior, so the description is not required to restate safety. It adds real value by disclosing the return shape (NCT ID, title, status, phases, conditions, interventions, sponsor, enrollment, key dates) and the fact that each result carries a registry URL to cite. It does not mention pagination or truncation behavior when `max_results` caps results, which is the main remaining gap.

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?

Four short sentences, front-loaded with the action and registry, then filters, then the hard constraint, then the returned fields, then the sibling hand-off. The enumeration of return fields is dense but earns its place as it tells the agent whether a second call is needed.

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?

An output schema exists, so return values need not have been described, yet the summary of returned fields still helps the agent decide between this tool and the detail tool. Combined with the sibling pointer and the minimum-input rule, an agent has everything needed to invoke it correctly on the first try.

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%, so a baseline of 3 would apply, but the description adds a cross-parameter constraint the schema omits entirely (schema shows zero required parameters, yet at least one of `condition`, `intervention` or `term` must be supplied). It also supplies a concrete status example (RECRUITING) that illustrates the enum without reproducing it.

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?

States a specific verb and resource ("Search ClinicalTrials.gov for registered clinical studies"), then enumerates the filterable dimensions and the fields returned. It also distinguishes itself from the sibling retrieval tool by scope: this is the list/search surface, `get_clinical_trial` is the detail surface.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use this tool for compact summaries with a citable registry URL, and call `get_clinical_trial` for eligibility criteria, outcomes and sites. It also states the invocation constraint that at least one of `condition`, `intervention` or `term` is required, so the agent knows a bare call is invalid.

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