Skip to main content
Glama

clinical_trials

Search clinical trials on ClinicalTrials.gov by condition, drug, sponsor, location, status or phase, or fetch one NCT ID. Clean JSON. Paid via x402 ($0.004 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Includes asOf and source. Invalid input is rejected without payment.

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

Input Schema

NameRequiredDescriptionDefault
nctNoFetch one study by NCT ID, e.g. NCT06850766.
termNoFree-text keywords (ClinicalTrials.gov search syntax).
limitNoStudies to return (default 10).
phaseNo1, 2, 3, 4, early1 or na (comma-separated).
statusNoopen (recruiting + not yet recruiting), recruiting, active_not_recruiting, completed, terminated, … or all. Comma-separated.
sponsorNoLead sponsor or collaborator name.
locationNoCountry, state or city of a study site.
conditionNoDisease or condition, e.g. glioblastoma, type 2 diabetes.
interventionNoDrug, device or procedure, e.g. semaglutide.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations present, the description carries the full behavioral burden. It does well on the payment model (x402, $0.004 USDC, specific chains, charged on this tools/call request) and on error policy ('invalid input is rejected without payment'), plus partial return context ('Clean JSON', 'asOf and source'). It says nothing about access requirements beyond payment, result ordering, pagination, or what happens on upstream failure, leaving meaningful gaps for a data-fetch 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?

Four short sentences, front-loaded with the capability and followed by output format, cost, and error behavior. The parenthetical chain list is the only bulky element, and it earns its place because payment failure modes matter here.

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, zero-required, no-output-schema tool, the description covers mode selection, output metadata, pricing, and error handling. It stops short of describing the response envelope beyond 'asOf and source' and omits pagination or cap behavior, which is the main remaining gap.

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 the baseline is 3, but the description adds genuine meaning: it maps natural-language 'drug' onto the 'intervention' parameter and groups the parameters into recognizable filter dimensions, telling an agent that these filters are combinable in one search. It still says nothing about interaction between 'nct' and the filter parameters.

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?

States a specific verb and resource ('Search clinical trials on ClinicalTrials.gov') and enumerates the filterable dimensions (condition, drug, sponsor, location, status, phase), plus a second mode ('fetch one NCT ID'). This is clearly distinct from anything an agent could confuse it with, though it does not explicitly differentiate itself from related tools such as drug_safety.

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

Usage Guidelines3/5

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

The description implicitly routes between two modes: filtered search versus single-study retrieval by NCT ID, which is useful. It gives no explicit when-to-use/when-not guidance, no advice on combining free-text 'term' with structured filters, and no signposting toward adjacent tools for non-trial data.

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