Skip to main content
Glama
Pharma, FDA & Clinical Trials MCP Server

Pharma, FDA & Clinical Trials MCP Server

by willowswt

search_clinical_trials

Read-onlyIdempotent

Search live ClinicalTrials.gov trials by condition, drug, sponsor, phase, or status to retrieve NCT IDs, titles, sponsors, phases, enrollment counts, and completion dates.

Instructions

Search live clinical trials on ClinicalTrials.gov API v2 by disease/condition, drug/intervention, lead sponsor, trial phase (PHASE1, PHASE2, PHASE3, PHASE4), or recruitment status (RECRUITING, ACTIVE_NOT_RECRUITING, COMPLETED, NOT_YET_RECRUITING). Returns NCT IDs, titles, sponsors, phases, enrollment counts, primary completion dates, interventions, and primary outcomes.

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

Input Schema

NameRequiredDescriptionDefault
phaseNoOptional phase filter: PHASE1, PHASE2, PHASE3, PHASE4.
statusNoOptional status: RECRUITING, ACTIVE_NOT_RECRUITING, COMPLETED, NOT_YET_RECRUITING.
sponsorNoLead sponsor / biopharma company (e.g. 'Eli Lilly').
conditionNoDisease, indication, or condition (e.g. 'obesity', 'NSCLC').
maxResultsNoMaximum studies to return (1-50, default 10).
interventionNoDrug, biologic, molecule, or procedure (e.g. 'semaglutide').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered structurally. The description adds the return surface (NCT IDs, sponsors, phases, enrollment, primary outcomes) and that data is live, but says nothing about rate limits, API key needs, or pagination/truncation behavior — which matters for an open-world network call.

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?

Two sentences, both front-loaded: the searchable dimensions come first, the returned fields second. No filler, no restatement of the tool name, and the enumerated values are compact inline lists rather than prose.

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?

With six optional parameters, 100% schema coverage and no output schema, the description appropriately compensates by enumerating the returned fields. The one remaining gap is behavioral edge cases — empty result sets and result-count limits beyond maxResults — which an agent would want to know before calling.

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 every parameter including maxResults (1-50, default 10) already carries its own documentation and examples. The description restates the phase and status enumerations that the schema also lists, adding no new semantics such as whether multiple filters are AND-combined or whether matching is exact versus substring.

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?

The description opens with a specific verb and resource ('Search live clinical trials on ClinicalTrials.gov API v2') and enumerates the exact filter dimensions (condition, intervention, sponsor, phase, status). Naming the upstream source makes it naturally distinguishable from search_pubmed_clinical_evidence, but it never explicitly contrasts with or routes away from any sibling.

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?

Usage is implied by the enumerated filters rather than stated: an agent can infer this is the discovery step versus get_trial_details for full records, but that is never said. There is no when-not-to-use guidance, no note on what to do when zero results return, and no explicit alternative named.

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