---
name: "xpay-clinical-trials-analyze-trial-phases"
description: "Analyze the distribution of trial phases for given search criteria.

This tool analyzes the distribution of clinical trial phases (e.g., Phase 1, Phase 2, Phase 3) 
for a given set of search criteria.

Input:
  - `conditions`: A list of medical conditions to filter the analysis.
  - `interventions`: A list of interventions to filter the analysis.
  - `sponsors`: A list of sponsors to filter the analysis.
  - `max_studies`: The maximum number of studies to include in the analysis. Defaults to 1000."
version: "1.0.0"
price: "$0.01/call"
provider: "Clinical Trials"
---

# Analyze Trial Phases

Analyze the distribution of trial phases for given search criteria.

This tool analyzes the distribution of clinical trial phases (e.g., Phase 1, Phase 2, Phase 3) 
for a given set of search criteria.

Input:
  - `conditions`: A list of medical conditions to filter the analysis.
  - `interventions`: A list of interventions to filter the analysis.
  - `sponsors`: A list of sponsors to filter the analysis.
  - `max_studies`: The maximum number of studies to include in the analysis. Defaults to 1000.

**Provider:** Clinical Trials
**Price:** $0.01/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to analyze the distribution of trial phases for given search criteria.

this tool analyzes the distribution of clinical trial phases (e.g., phase 1, phase 2, phase 3) 
for a given set of search criteria.

input:
  - `conditions`: a list of medical conditions to filter the analysis.
  - `interventions`: a list of interventions to filter the analysis.
  - `sponsors`: a list of sponsors to filter the analysis.
  - `max_studies`: the maximum number of studies to include in the analysis. defaults to 1000.. This is part of the Clinical Trials provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 11+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("clinical-trials/analyze_trial_phases")`
2. **`xpay_run`** — Execute: `xpay_run("clinical-trials/analyze_trial_phases", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `max_studies` | integer | No | Maximum number of studies to analyze |
| `interventions` | string | No | Interventions to analyze |
| `conditions` | string | No | Medical conditions to analyze |
| `sponsors` | string | No | Sponsors to analyze |

## Pricing

- **Cost:** $0.01/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Clinical Trials (all tools)](https://xpay.tools/skills/clinical-trials/SKILL.md) — 12 tools
- [Search Trials By Condition](https://xpay.tools/skills/clinical-trials/search-trials-by-condition/SKILL.md) — $0.01/call
- [Search Trials By Intervention](https://xpay.tools/skills/clinical-trials/search-trials-by-intervention/SKILL.md) — $0.01/call
- [Search Trials By Sponsor](https://xpay.tools/skills/clinical-trials/search-trials-by-sponsor/SKILL.md) — $0.01/call
- [Search Trials By Acronym](https://xpay.tools/skills/clinical-trials/search-trials-by-acronym/SKILL.md) — $0.01/call
- [Search Trials By Nct Ids](https://xpay.tools/skills/clinical-trials/search-trials-by-nct-ids/SKILL.md) — $0.01/call

## Links

- Tool page: https://xpay.tools/clinical-trials/analyze-trial-phases/
- Provider: https://xpay.tools/clinical-trials/
- All tools: https://xpay.tools/explore
