Skip to main content
Glama

get_statistics

Analyze numerical data columns to compute descriptive statistics including count, mean, standard deviation, min/max values, and percentiles for data quality assessment and distribution analysis.

Instructions

Get comprehensive statistical summary of numerical columns.

Computes descriptive statistics for all or specified numerical columns including count, mean, standard deviation, min/max values, and percentiles. Optimized for AI workflows with clear statistical insights and data understanding.

Returns: Comprehensive statistical analysis with per-column summaries

Statistical Metrics: šŸ“Š Count: Number of non-null values šŸ“ˆ Mean: Average value šŸ“‰ Std: Standard deviation (measure of spread) šŸ”¢ Min/Max: Minimum and maximum values šŸ“Š Percentiles: 25th, 50th (median), 75th quartiles

Examples: # Get statistics for all numeric columns stats = await get_statistics("session_123")

# Analyze specific columns only stats = await get_statistics("session_123", columns=["price", "quantity"]) # Analyze all numeric columns (percentiles always included) stats = await get_statistics("session_123")

AI Workflow Integration: 1. Essential for data understanding and quality assessment 2. Identifies data distribution and potential issues 3. Guides feature engineering and analysis decisions 4. Provides context for outlier detection thresholds

Input Schema

NameRequiredDescriptionDefault
columnsYesList of specific columns to analyze (None = all numeric columns)

Input Schema (JSON Schema)

{ "properties": { "columns": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "description": "List of specific columns to analyze (None = all numeric columns)" } }, "required": [ "columns" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonpspri/databeak'

If you have feedback or need assistance with the MCP directory API, please join our Discord server