# search-trials

`station__clinicaltrials-gov__search-trials` · external (needs EXECUTION_BACKEND_URL configured) · domain `clinicaltrials-gov` · pv-relevance `pv-adjacent`

Search clinical trials by drug, condition, sponsor, or status. The 'query' parameter is always required as the primary search term (e.g. drug name). Use condition, intervention, status, and phase as optional filters to narrow results.

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `query` *string* (required) — Required free-text search term (e.g. 'semaglutide', 'breast cancer checkpoint inhibitor'). This is the primary search — condition/intervention/status are optional filters applied on top.
- `condition` *string* — Medical condition or disease
- `intervention` *string* — Drug or intervention name
- `status` *string* — Trial status (RECRUITING, COMPLETED, TERMINATED)
- `phase` *string* — Trial phase (1, 2, 3, 4)
- `limit` *integer* — Maximum results to return (default 10, max 100)

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__clinicaltrials-gov__search-trials",
    "arguments": {
      "query": ""
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/clinicaltrials-gov__search-trials](/tools/clinicaltrials-gov__search-trials) — HTML page
- [/tools/clinicaltrials-gov__search-trials/json](/tools/clinicaltrials-gov__search-trials/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
