Skip to main content
Glama

Query Clinicaltrials

query_clinicaltrials

Search ClinicalTrials.gov for clinical trials. Can search by drug name, condition, target, or NCT ID. Returns trial status, phase, sponsor, primary endpoints, and why_stopped if terminated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phaseYesany
queryYesSearch term: drug name, condition, NCT ID, or target
statusYesany
max_resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description is the sole source of behavioral transparency. It discloses the return fields (status, phase, sponsor, primary endpoints, why_stopped if terminated), adding useful context beyond a bare 'search' description. However, it omits potential limitations such as pagination, result count behavior, or error scenarios.

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?

The description is two sentences, action-first, and every clause adds value. It efficiently covers purpose, search options, and return fields without repetition or filler.

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?

Without an output schema, the description carries the burden of explaining return values; it lists key fields and notes the special 'why_stopped' condition. It also mentions search flexibility. It lacks details on result limits or sorting, but for a moderate-complexity search tool it is mostly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% (only 'query' has a description), so the description must compensate. It mostly repeats the schema's query description and provides no additional explanation for status, phase, or max_results. Although the schema's enums and defaults give some meaning, the description fails to bridge the coverage gap.

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?

The description clearly states the tool 'Search ClinicalTrials.gov for clinical trials' with specific search modalities (drug name, condition, target, NCT ID) and lists return fields. This distinguishes it from sibling query tools like query_chembl and query_openfda by making the clinical trial domain explicit.

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 makes the use case evident (searching clinical trials) but does not explicitly say when to choose this over alternatives like web_search or query_pubmed. It provides no exclusions or comparisons to sibling tools, leaving usage guidance implicit.

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