Skip to main content
Glama

CULT+MATH Decision Briefs

Is the clinical pipeline for this condition crowding?

run_trial_pipeline
Read-onlyIdempotent

Use when the user is sizing a therapeutic area, diligencing a biotech or medtech target, or asks how many companies are running trials for a condition: "how crowded is the obesity pipeline?", "who sponsors the most trials in this disease?". Returns interventional trials started per year from ClinicalTrials.gov (all, industry-sponsored, Phase 3), whether industry starts are rising or falling, and the top industry sponsors with the top-5 share. Refuses before you are charged if the condition matches nothing or the counts do not reconcile. Every result carries a run id, a date and a citation line. Calling this tool returns a quote, not the result: what the run measures, its price and a payment_url. The run happens only when you POST to payment_url, and a run that fails its controls refuses there with nothing charged. Dimensions (vary these inputs to cut the answer; each call is its own run): over time: built in: by start year (years); segment: industry, Phase 3, sponsor (in the result). Price: $0.05 per run over x402 (USDC on Base, no account needed), or $0.50 over MPP (a Stripe shared payment token); charged only when the run comes back sound. For FDA clearances in a device category, use run_device_clearances; for recalls in a product category, use run_recall_watch; for how many adults in a state are recorded as having the condition, use run_condition_prevalence.

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": {
      "condition": "<condition>"
    },
    "name": "run_trial_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoComplete calendar years to cover, ending last year. Default 6.
conditionYesA disease or condition, e.g. "obesity".

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the run is unavailable, when it is.
errorNoWhy the inputs were refused, with the expected usage. Nothing is charged.
limitsNoWhat the run cannot tell you, stated before you pay.
recipeNoThe run, e.g. "filing-trend".
availableNofalse when the run is switched off; then nothing can be charged.
next_stepNoWhat to tell the user before paying.
price_usdNoPrice over MPP (Stripe shared payment token).
payment_urlNoPOST here to run and pay. Not a checkout page.
instructionsNoHow to pay over MPP and x402, and how to ask for publication.
what_you_getNoWhat the paid result will contain for these inputs.
x402_price_usdNoPrice over x402 (USDC on Base), when offered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only, idempotent, open-world annotations, the description discloses the quote-first flow, the POST-to-payment_url execution step, refusal behavior before charging, per-run pricing, and the fact that every result carries a run id, date, and citation. It also explains that the run only executes when posted to payment_url and fails closed with nothing charged if controls do not reconcile.

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 description is front-loaded with the use case and output summary, then layers in payment and refusal behavior before listing alternatives. It is longer than typical but mostly earns its space; there is some repetition around charging and the dimensions sentence is awkwardly compressed.

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 complex paid-run tool with an output schema and rich annotations, the description covers purpose, usage triggers, execution and payment semantics, refusal behavior, and sibling alternatives. An agent has everything needed to decide whether and how to call it.

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 the input schema already documents both the condition and years parameters with defaults and limits. The description mentions varying inputs and that years defines the start-year window, but it adds little semantic detail beyond what the schema already provides.

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 states a specific verb and resource: it returns interventional trials started per year from ClinicalTrials.gov, industry sponsorship trends, and top sponsors for a condition. It distinguishes itself from sibling tools by naming run_device_clearances, run_recall_watch, and run_condition_prevalence for adjacent questions.

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

Usage Guidelines5/5

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

It gives explicit when-to-use triggers such as sizing a therapeutic area, diligencing a biotech or medtech target, or asking how crowded a condition pipeline is. It also routes the agent to specific alternative tools for device clearances, recalls, and prevalence, leaving little ambiguity about when this tool is appropriate.

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