Skip to main content
Glama

ClinicalTrials.gov MCP by usefulapi

Get a clinical trial by NCT ID

get_study
Read-only

Fetch a single ClinicalTrials.gov study by its NCT id (format NCT######## — the letters 'NCT' followed by digits, e.g. NCT00841061). Returns the full study object { protocolSection, derivedSection?, hasResults? }. Use fields to return only specific fields/modules. GET /studies/{nctId}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nctIdYesThe study's NCT id, format NCT######## (e.g. NCT00841061).
fieldsNoFields or modules to return, e.g. ['protocolSection.identificationModule','protocolSection.statusModule']. Omit for the full record.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true, so safety is already covered; the description adds real behavioral context by disclosing the return shape ({ protocolSection, derivedSection?, hasResults? }) and the underlying endpoint GET /studies/{nctId}. It stops short of error behavior (e.g. what happens for an unknown NCT id) or response size characteristics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose in the first clause, followed by format, return shape, parameter tip, and endpoint in a compact block. Slightly redundant, since the NCT format specification is repeated and also fully encoded in the schema pattern.

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 no output schema, the description usefully documents the returned object's top-level keys, which the agent otherwise could not know. It is nearly complete for a simple 2-param read tool; only error/not-found behavior is unaddressed.

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 both parameters are already documented with an example and a pattern. The description restates the nctId format and the fields narrowing with concrete module paths, adding marginal value over the schema's own examples — the baseline 3 is appropriate.

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?

States a specific verb (Fetch) and resource (a single ClinicalTrials.gov study) keyed by a precisely described identifier. The word 'single' plus the NCT-id key implicitly separates it from list-style siblings such as search_studies, count_studies, and list_field_values.

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 'single ... by its NCT id', but the description never states when to choose this over search_studies or when it should not be used (e.g. when only an aggregate count is needed). No alternatives or exclusions are named.

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.