Skip to main content
Glama

clinical_trials

Search ClinicalTrials.gov for studies by condition, drug, or title, and filter by status. Returns compact records with NCT ID, phase, sponsor, and enrollment for trial discovery.

Instructions

Search ClinicalTrials.gov v2 studies (keyless).

query is a free-text term (condition, drug, title...). status filters by overall status, e.g. "RECRUITING" or "COMPLETED". Returns compact study records (NCT id, title, status, type, phases, conditions, interventions, enrollment, start date, sponsor) plus total and next_cursor; pass the cursor for the next page. Empty lists are true upstream answers.

Args: query: Free-text search term. status: Optional overall status filter. limit: Studies per page, 1-100 (default 10). cursor: nextPageToken from a previous call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "clinical_trials"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
cursorNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does much of it: keyless (no auth), the exact fields returned, `total` and `next_cursor` for pagination, and the important note that empty lists are genuine upstream answers rather than failures. It leaves rate limits and upstream failure modes unspecified.

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?

The purpose and pagination contract are front-loaded, and the Args block is scannable. There is mild duplication since `query` and `status` are explained in both the opening paragraph and the Args list.

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?

For a four-parameter search tool with no output schema and no annotations, this covers everything an agent needs: search semantics, the return field set, page size bounds, cursor continuation, and empty-result interpretation. Nothing essential is missing before a first call.

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 description coverage is 0%, so the description must compensate, and it documents all four parameters: free-text `query`, `status` with concrete values ("RECRUITING", "COMPLETED"), `limit` bounded 1-100 with a default of 10, and `cursor` as the nextPageToken from a prior call. The status value list is illustrative rather than exhaustive, so an agent may still guess at valid strings.

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 opens with a specific verb and resource: search ClinicalTrials.gov v2 studies, and notes the keyless access mode. The named registry is domain-specific enough that an agent can separate it from siblings like pubmed_record or cancer_studies without opening the schema.

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?

It makes clear what to pass (a condition, drug, or title term) and that `status` narrows by overall status, giving concrete context for when this tool applies. It stops short of explicit exclusions or naming an alternative tool for overlapping needs, so it does not reach the 5 tier.

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