Skip to main content
Glama

Clareo Health clinical trials

Search clinical trials

search_clinical_trials
Read-onlyIdempotent

Search public clinical trials from ClinicalTrials.gov by condition, treatment or sponsor, optionally narrowed by place (city, state, country, or a ZIP code with a radius), status, phase, sex or age. Use this first when a person wants to find trials; use get_clinical_trial when you already have an NCT ID. Each result has public registry fields and a clareohealth.com link. Results are paged: when hasMore is true, call again with page set to nextPage. Send conditions and places only, never a person's name, diagnosis history, medications or other health details. Not medical advice.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_clinical_trials"
  }
}

Input Schema

NameRequiredDescriptionDefault
sexNoKeep trials open to this sex. "all" applies no filter.
zipNoA 5-digit US ZIP code, to find trials with a site within radiusMiles of it. Use it only when the person chooses to give a ZIP for this search. It is turned into coordinates on our server and not stored.
cityNoCity, for example "Boston". Combine with state or country to narrow it.
pageNo
limitNoResults per page.
phaseNoPhases to keep, for example ["PHASE2","PHASE3"].
queryYesCondition, treatment or sponsor, for example "breast cancer" or "type 1 diabetes". A place in the text ("asthma in Boston") also works; city, state and country are clearer.
stateNoState or region, for example "Massachusetts".
maxAgeNoWhole years. See minAge.
minAgeNoWhole years. With maxAge, keeps trials whose eligible ages overlap minAge to maxAge. Use the same number for both to match one age.
sortByNorelevance is the registry's order with condition matches first. distance (needs zip, or city with state and radiusMiles) puts the nearest site first among the best 50 matches.relevance
statusNoRegistry statuses to keep, for example ["RECRUITING","NOT_YET_RECRUITING"].
countryNoCountry, for example "United States".
sortOrderNoUsed with lastUpdated or startDate.desc
radiusMilesNoSearch radius in miles around zip, or around city with state. Defaults to 50 with a zip. Giving it with city and state searches around that US city instead of matching its name.
recruitingOnlyNoOnly trials that are recruiting or enrolling by invitation. Ignored when status is set.

Output Schema

NameRequiredDescriptionDefault
pageYes
totalYesHow many trials match in the registry.
hasMoreYes
resultsYes
nextPageYesPass as page to get the next results, null on the last page.
searchUrlYesThe same search on clareohealth.com, for a person to open.
appliedFiltersNoThe filters the search used, so you can tell a person what was applied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), and the description adds behavior the annotations cannot: a hasMore/nextPage iteration protocol, what a result contains (public registry fields plus a clareohealth.com link), and a privacy rule about what must not be sent. The 'not medical advice' framing further sets expectations for a health-domain tool.

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?

Front-loaded with purpose, then scope, then routing, then paging, then the privacy rule; each sentence carries a distinct instruction. The sentence describing result contents slightly overlaps the existing output schema, and 'Not medical advice' is boilerplate, but neither bloats the definition.

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?

For a 16-parameter, open-world search tool with an output schema and full annotation coverage, the description supplies everything an agent needs to choose it, fill it safely, and iterate pages. Remaining detail (enum meanings, distance-sort prerequisites) is already handled by the schema.

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 94%, so parameters such as radiusMiles, sortBy, minAge/maxAge and recruitingOnly are already well documented in the schema, including the ZIP-to-coordinates privacy note. The description adds only marginal semantics, mainly that a place embedded in the query text works but city/state/country are clearer.

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 public clinical trials from ClinicalTrials.gov), enumerates the searchable dimensions (condition, treatment, sponsor, place, status, phase, sex, age), and explicitly separates itself from get_clinical_trial by saying that tool is for when an NCT ID is already known.

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?

Gives a direct routing rule ('Use this first when a person wants to find trials; use get_clinical_trial when you already have an NCT ID') plus a hard constraint on inputs (send only conditions and places, never a person's name, diagnosis history or medications). The paging instruction ('when hasMore is true, call again with page set to nextPage') tells the agent how to continue rather than guess.

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.

Resources