Skip to main content
Glama

Crypto & Web Data API for Agents

ClinicalTrials.gov search: clinical studies by topic and status

science_trials
Read-only

ClinicalTrials.gov search: clinical studies by topic and status. Searches ClinicalTrials.gov for studies matching a query and optional overall status, returning NCT id, title, status, phase, study type, conditions, interventions, sponsor, dates, enrollment and study URL. Price $0.020 per call (x402: USDC on Base or Solana).

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": {
      "q": "<q>"
    },
    "name": "science_trials"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query
txNoAlternative to the X-Payment-Tx header
limitNoHow many studies to return
statusNoOverall study status filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds genuinely new behavioral context absent from structured fields: a per-call price of $0.020 and the x402 payment mechanism (USDC on Base or Solana), plus the exact fields that come back in the absence of an output schema.

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 sentences, front-loaded with purpose, followed by return fields and pricing. The field enumeration earns its place because there is no output schema; no wasted wording.

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 4-parameter read-only search tool without an output schema, the description covers purpose, filters, return shape, and cost. The remaining gap is the lack of differentiation from the near-identically named 'science_trial' sibling, which matters for correct tool selection.

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 q, limit, status, and tx are already documented in the schema, and the baseline is 3. The description only echoes 'query and optional overall status' and adds no format or semantics for limit or the payment tx parameter beyond what the schema says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Searches ClinicalTrials.gov for studies') plus the two main filters (query, overall status) and enumerates returned fields. However, it does not distinguish this tool from the similarly named sibling 'science_trial', leaving the agent to guess which one to call.

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 'matching a query and optional overall status', which tells the agent this is a keyword search with an optional status filter. There is no explicit when-to-use/when-not guidance and no routing advice relative to 'science_trial', 'science_pubmed', or 'science_arxiv'.

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.

Resources