Skip to main content
Glama

Clinical Trials Search Payment Quote

clinical_trials_search_quote
Read-onlyIdempotent

Returns the payment terms for https://horizonpulse.dev/api/clinical-trials/search (base $0.005; USDC on Base only); this tool never runs the check or pays. Pay the 402 over HTTP with x402 v2: GET ?condition=asthma (or intervention=...; optional status=RECRUITING|NOT_YET_RECRUITING|ACTIVE_NOT_RECRUITING|COMPLETED|TERMINATED, phase=1-4, limit=1-20). Clinical trials search: up to 20 ClinicalTrials.gov studies by condition and/or intervention, optional status and phase. Returns NCT ID, title, status, phases, lead sponsor, start and last-update dates and link, with the registry's data-processed date. Not medical advice; not endorsed by NLM/NIH; listed studies are not all reviewed by the U.S. government. No results, bad input or source down: not charged. USDC on Base only.

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_search_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description adds genuinely non-obvious behavior: failure modes (no results, bad input, source down) are not charged, and it explicitly does not perform the search or the payment. The medical/NLM disclaimers are useful context but partly boilerplate, and the returned quote payload format is never described.

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

Conciseness3/5

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

The key fact (payment terms, no execution, no payment) is front-loaded, but the rest is a dense run-on paragraph with redundancy — 'USDC on Base only' appears twice, and the legal disclaimers consume space disproportionate to their decision value.

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-parameter quote tool with no output schema, it supplies the price, currency, network, endpoint URL, and upstream result fields (NCT ID, title, status, phases, sponsor, dates, link). The one gap is what the quote response itself looks like, which matters since no output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4, but the description goes further by documenting the target API's query semantics — condition, intervention, enumerated status values, phase 1-4, limit 1-20 — which is the only place an agent can learn how to construct the paid request.

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 — returns payment terms for a named endpoint at a named price — and explicitly disclaims what it does not do ("never runs the check or pays"), which separates it from a search/execute tool. The secondary sentence also pins down the underlying resource: ClinicalTrials.gov studies by condition/intervention.

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?

Gives concrete usage context: pay the 402 over HTTP with x402 v2 and a sample GET request shape with optional filters. What's missing is explicit routing guidance — e.g. 'call this first, then use the search tool' — so the agent must infer the quote-then-pay workflow.

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.