Skip to main content
Glama

fh_clinicaltrials_search_studies

Search ClinicalTrials.gov by free text, condition, or intervention, filter by recruitment status, and sort by relevance, recency, size, or completion to find relevant clinical studies.

Instructions

Search ClinicalTrials.gov by free text, intervention or condition; status ongoing | completed | all; sort relevance | newest | largest | completion. Returns the total and up to 100 rows as arrays in columns order: NCT ID, title, status, phase, enrollment ("~100" estimated), start, primary completion, primary outcome, conditions, interventions, has_results. Link: https://clinicaltrials.gov/study/. Cached 7 days. One trial in detail: fh_clinicaltrials_get_study_record.

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

Input Schema

NameRequiredDescriptionDefault
sortNorelevance (the registry's ranking), newest (last update first), largest (enrollment first), completion (completion date, latest first).relevance
queryNoFree-text search across all fields (title, conditions, interventions, summary, …); AND / OR / NOT allowed.
statusNoongoing: recruiting, not yet recruiting, active not recruiting, enrolling by invitation. completed: completed. all: no filter.all
conditionNoCondition or disease, e.g. "hypertension", "type 2 diabetes".
max_resultsNoRows to return (1–100).
interventionNoIntervention or treatment, e.g. "tadalafil", "cognitive behavioral therapy".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose key traits: a 7-day cache, a hard cap of 100 rows, the returned column order, and the '~100' estimated-enrollment convention. Gaps remain around staleness consequences of the cache, error behavior, and whether requests with zero results differ, but the core behavioral surface is covered.

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?

Search modes, filters, and sort options are front-loaded, followed by return format, caching, and the sibling pointer — a sensible ordering with little filler. The dense semicolon-and-pipe phrasing is efficient but slightly compressed, and 'as arrays in columns order' is terse to the point of ambiguity.

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?

No output schema exists, so the description must describe returns, and it does list every field per row plus the total count and a URL template. It is nearly complete for a search tool; only the exact row container shape (header row presence, null handling on missing fields) remains underspecified.

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 all six parameters are already documented, including both enum expansions and the 1-100 range on max_results. The description largely restates those enums ('status ongoing | completed | all; sort relevance | newest | largest | completion') rather than adding new parameter meaning, so the baseline 3 applies.

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'), enumerates the three search axes (free text, intervention, condition), and explicitly routes single-trial lookups to fh_clinicaltrials_get_study_record. An agent can distinguish it from the record-level sibling without opening either schema.

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 closing sentence names the correct alternative for detailed single-trial retrieval, and the status/sort enumerations imply when each mode applies ('ongoing' vs 'completed' vs 'all'). It stops short of explicit when-not-to-use guidance, e.g. no signal about when to prefer the results or DailyMed siblings.

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