Skip to main content
Glama
cyanheads

clinicaltrialsgov-mcp-server

Clinicaltrials Get Study Results

clinicaltrials_get_study_results
Read-onlyIdempotent

Fetch detailed results data from ClinicalTrials.gov for completed studies that have results. Use search first to identify studies with results.

Instructions

Fetch clinical trial results data from ClinicalTrials.gov for completed studies — outcome measures with statistics, adverse events, participant flow, and baseline characteristics. Only available for studies where hasResults is true. Use clinicaltrials_search_studies first to find studies with results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nctIdsYesOne or more NCT IDs (max 20). E.g., "NCT12345678" or ["NCT12345678", "NCT87654321"]. Use summary=true for large batches to avoid large payloads.
sectionsNoFilter which sections to return. Values: outcomes, adverseEvents, participantFlow, baseline. Omit for all sections.
summaryNoReturn condensed summaries instead of full data. Reduces payload from ~200KB to ~5KB per study. Summaries include outcome titles, types, timeframes, group counts, and top-level stats — omitting individual measurements, analyses, and per-group data.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYesResults per study.
studiesWithoutResultsNoNCT IDs that do not have results data.
fetchErrorsNoStudies that could not be fetched.
Behavior5/5

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

Annotations already provide readOnlyHint, idempotentHint, openWorldHint. The description adds the critical context that results are only available when hasResults is true, and mentions the summary parameter impact on payload size. No contradiction with annotations.

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 concise sentences that front-load the purpose and immediately follow with usage guidance. No redundant text; every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of an output schema (not shown but referenced), the description adequately covers purpose, usage, key behavioral constraints, and parameter guidance. It is complete for a fetch operation with good annotations.

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%, but the description adds a usage tip: 'Use summary=true for large batches to avoid large payloads', which provides additional value beyond the schema descriptions. The sections parameter is well-documented in schema.

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 verb 'Fetch' and the specific resource 'clinical trial results data' including outcome measures, adverse events, participant flow, and baseline characteristics. It also mentions the prerequisite condition 'only for studies where hasResults is true', which distinguishes it from sibling tools like clinicaltrials_search_studies that find studies.

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

Usage Guidelines5/5

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

Explicitly instructs to 'use clinicaltrials_search_studies first to find studies with results', providing clear when-to-use guidance. Also implies the tool is for completed studies and those with results, helping the agent decide when to invoke this tool versus others.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyanheads/clinicaltrialsgov-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server