Get Field Statistics
get_field_statisticsGet statistical information about field values. This tool retrieves statistical information about the values of specified fields in the ClinicalTrials.gov database. Input: - `field_names`: A list of field names to get statistics for. - `field_types`: A list of field types to filter by. Example: `['ENUM', 'STRING']`
When to Use
Use this tool when you need to get statistical information about field values.
this tool retrieves statistical information about the values of specified fields in the clinicaltrials.gov database.
input:
field_names: a list of field names to get statistics for.field_types: a list of field types to filter by. example:['enum', 'string']. This is part of the Clinical Trials provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 11+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
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:
xpay_details— Get full input schema:xpay_details("clinical-trials/get_field_statistics")xpay_run— Execute:xpay_run("clinical-trials/get_field_statistics", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
field_types | string | No | Field types to filter by (ENUM, STRING, DATE, INTEGER, NUMBER, BOOLEAN) |
field_names | string | No | Field names to get statistics for |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Clinical Trials (all tools) — 12 tools
- Search Trials By Condition — $0.01/call
- Search Trials By Intervention — $0.01/call
- Search Trials By Sponsor — $0.01/call
- Search Trials By Acronym — $0.01/call
- Search Trials By Nct Ids — $0.01/call
Links
- Tool page: https://xpay.tools/clinical-trials/get-field-statistics/
- Provider: https://xpay.tools/clinical-trials/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
field_types | string | No | Field types to filter by (ENUM, STRING, DATE, INTEGER, NUMBER, BOOLEAN) |
field_names | string | No | Field names to get statistics for |
Install Skill
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
Clinical Trials

