Skip to main content
Glama

ClinicalTrials.gov MCP by usefulapi

Get the study data-model (field tree)

get_study_metadata
Read-only

Return the ClinicalTrials.gov study data model as a tree of module nodes (each with name/title/type/children). Use this to explore what fields/modules exist and their nesting, to build fields selections or sort/filter expressions. GET /studies/metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
includeIndexedOnlyNoInclude fields that are indexed-only (searchable but not part of the main data model).
includeHistoricOnlyNoInclude fields that exist only in historic study versions.

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

A4.1/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, and the description goes further by disclosing the return structure (tree of module nodes with name/title/type/children), which matters because there is no output schema. No mention of auth or rate limits, but that gap is minor for a read-only metadata endpoint.

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?

Three tight sentences with the return shape front-loaded and usage second. The trailing 'GET /studies/metadata' is mildly redundant with the tool name and endpoint context but harmless.

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?

For a zero-required-parameter read-only metadata tool with no output schema, the description supplies the missing return-shape information and the reason to call it. Nothing critical is omitted, though pagination/size expectations for the tree are unstated.

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 coverage is 100% and both boolean parameters carry their own descriptions, so the schema does the heavy lifting. The description adds no parameter guidance beyond the schema, which is the expected baseline here.

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 and resource ('Return the ClinicalTrials.gov study data model as a tree of module nodes') and even enumerates the node shape (name/title/type/children). This is clearly distinguishable from get_study (a single study) and the other search/stats siblings.

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

Usage Guidelines4/5

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

Explicitly says when to use it: to explore what fields/modules exist and their nesting, and to build `fields` selections or `sort`/filter expressions. No explicit when-not or named alternative, but the intended context is unambiguous.

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.