Skip to main content
Glama

ClinicalTrials.gov MCP Server

clinicaltrials_get_study

Retrieve clinical study details or concise summaries from ClinicalTrials.gov using specific NCT IDs. Supports full data or selected fields in markdown or legacy format.

Instructions

Fetches one or more clinical studies from ClinicalTrials.gov by their NCT IDs. Returns either complete study data or concise summaries for each.

Input Schema

NameRequiredDescriptionDefault
fieldsNoA list of specific top-level fields to return (e.g., ['protocolSection', 'derivedSection']). If omitted, all fields are returned.
markupFormatNoFormat for rich text fields. 'markdown' provides formatted text, while 'legacy' provides the original. Defaults to 'markdown'.markdown
nctIdsYesA single NCT ID (e.g., 'NCT12345678') or an array of up to 5 NCT IDs to fetch. Each ID must be 8 digits.
summaryOnlyNoIf true, returns a concise summary of each study. If false (default), returns the complete study data.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "fields": { "description": "A list of specific top-level fields to return (e.g., ['protocolSection', 'derivedSection']). If omitted, all fields are returned.", "items": { "type": "string" }, "type": "array" }, "markupFormat": { "default": "markdown", "description": "Format for rich text fields. 'markdown' provides formatted text, while 'legacy' provides the original. Defaults to 'markdown'.", "enum": [ "markdown", "legacy" ], "type": "string" }, "nctIds": { "anyOf": [ { "pattern": "^[Nn][Cc][Tt]\\d{8}$", "type": "string" }, { "items": { "pattern": "^[Nn][Cc][Tt]\\d{8}$", "type": "string" }, "maxItems": 5, "minItems": 1, "type": "array" } ], "description": "A single NCT ID (e.g., 'NCT12345678') or an array of up to 5 NCT IDs to fetch. Each ID must be 8 digits." }, "summaryOnly": { "default": false, "description": "If true, returns a concise summary of each study. If false (default), returns the complete study data.", "type": "boolean" } }, "required": [ "nctIds" ], "type": "object" }

Other Tools from ClinicalTrials.gov MCP Server

Related Tools

    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