Skip to main content
Glama

ScorpTech x402 Tools

Clinical Trials

clinical_trials
Read-onlyIdempotent

Search ClinicalTrials.gov (API v2) by condition, keyword, location, sponsor, recruitment status (or open/closed) and phase. Returns NCT id, title, status, phases, study type, conditions, interventions, lead sponsor, start and completion dates, enrollment, results flag, a short summary and up to 5 sites (ranked by your location), with total count and a page token. Informational only, not medical advice. Returns JSON with: query, totalCount, count, nextPageToken, studies, disclaimer. Price: $0.02 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/clinical-trials

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
sortNorelevance (default), updated, start
termNoOther keywords (drug, NCT id, ...). Alias: q
limitNoStudies per page 1-50 (default 10)
phaseNoComma list: early1, 1, 2, 3, 4, na
statusNoComma list: open, closed, recruiting, not_yet_recruiting, active_not_recruiting, completed, terminated, ...
sponsorNoLead sponsor or collaborator
locationNoCity, state or country
conditionNoCondition or disease, e.g. type 2 diabetes
pageTokenNonextPageToken from a previous response

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety profile is covered. The description adds genuinely non-obvious operational facts: per-call pricing ($0.02 USDC via x402 on Base or Solana), an alternate HTTPS endpoint, a pagination token model, location-based site ranking, and a disclaimer caveat.

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 first sentence front-loads purpose and capabilities, followed by return shape, disclaimer, response keys, and access/pricing details. It is dense but every block serves a purpose; the pricing and endpoint sentence is slightly bolted-on but still earns its place for an agent deciding whether to call.

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?

With nine optional parameters and no output schema, the description carries the burden of return-shape disclosure and does so thoroughly, naming the JSON keys (query, totalCount, count, nextPageToken, studies, disclaimer) and pagination model. Payment and transport details complete the picture an agent needs before invoking.

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%, so all nine parameters already carry descriptions, making baseline 3 appropriate. The description restates the searchable facets and adds a small amount of meaning (sites ranked by your location), but adds no format or constraint detail beyond the schema.

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+resource ('Search ClinicalTrials.gov (API v2)') and enumerates the exact searchable facets and returned fields, so an agent knows precisely what the tool does. The sibling names listed are unrelated math/utility tools, and nothing here could be confused with them.

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 the enumerated query facets (condition, keyword, location, sponsor, status, phase), and the note 'Informational only, not medical advice' signals intent. However, there is no explicit when-to-use/when-not guidance and no routing to an alternative tool for any scenario.

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