Skip to main content
Glama

clinical_trials_search

Search ClinicalTrials.gov by condition, drug or intervention, sponsor or words, filtered by status (open by default), phase and country; or give an NCT id for one study with its full eligibility criteria. Each study: status, phases, sponsor, enrollment, age and sex limits, dates, primary outcomes, site count by country and sites in the country asked. Up to 20 per call, most recently updated first. Data: US National Library of Medicine. Costs $0.005 USDC on Base via x402.

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

Input Schema

NameRequiredDescriptionDefault
qNoAny words
nctNoOne study by id, with eligibility criteria (NCT06283927)
limitNoResults, 1-20 (default 10)
phaseNoTrial phase
statusNoopen (default), any, or a comma list: recruiting, not-yet-recruiting, active, enrolling, completed, terminated, withdrawn, suspended
countryNoCountry or city with a site (Germany, Boston)
sponsorNoLead sponsor or collaborator (Pfizer)
conditionNoDisease or condition (glioblastoma, type 2 diabetes)
interventionNoDrug, device or procedure (semaglutide)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses the default status filter, the 20-result cap, the implicit ordering ("most recently updated first"), the upstream data source (NLM), and a paid cost model ($0.005 USDC on Base via x402). The payment requirement is exactly the kind of hidden behavior an agent must know before calling. Missing: error/empty-result behavior and whether failed calls are still charged.

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?

Front-loaded with the action and both modes, then the return shape, then operational limits (cap, sort order, cost). Semicolon-separated clauses keep it dense without filler; every sentence — including the cost line — carries decision-relevant information.

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 9-parameter search tool with no annotations and no output schema, it covers the essentials: it enumerates the return fields (status, phases, sponsor, enrollment, age/sex limits, dates, primary outcomes, site counts) so the absent output schema is compensated, and it flags defaults and cost. The one real gap is filter combination semantics across the 6 optional search fields.

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% (every parameter documented, including the status token list and the NCT pattern), so the schema does the heavy lifting and baseline 3 applies. The description mostly restates schema content (default open, 20 max) rather than adding syntax or interaction semantics — notably it never says whether multiple filters are ANDed or ORed.

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") plus the two distinct modes: keyword/field search versus a single-study lookup by NCT id. The filtering axes (status, phase, country) and the returned record shape are named, so an agent knows exactly what comes back without opening the 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?

Clear guidance on which mode to pick: field/keyword search versus "give an NCT id for one study with its full eligibility criteria" — the eligibility-criteria payload is the explicit reason to prefer the id path. Defaults are stated ("open by default", "Up to 20 per call"). It stops short of saying when NOT to use it or how filters combine, so no exclusion guidance.

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