Skip to main content
Glama

Descriptive Statistics

stats_describe
Read-onlyIdempotent

Calculate summary statistics for numeric observations: count, minimum, maximum, mean, median, variance, standard deviation, skewness, and kurtosis.

Instructions

Compute descriptive statistics (n, min, max, mean, median, variance, std, skew, kurtosis).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesNumeric observations (at least 2 values).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nYesNumber of observations.
maxYesMaximum value.
minYesMinimum value.
stdYesSample standard deviation (ddof=1).
meanYesArithmetic mean.
medianYesMedian.
kurtosisYesExcess kurtosis (Fisher, bias-corrected).
skewnessYesSkewness (bias-corrected).
varianceYesSample variance (ddof=1).
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the specific computed statistics but does not disclose return format, edge case handling, or other behavioral traits. This is acceptable given the annotations, but the description carries minimal extra behavioral context.

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

Conciseness5/5

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

The description is a single, front-loaded sentence that immediately states the tool's purpose and the key statistics. No redundant words or repetition of schema details.

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 simple one-parameter tool with rich annotations, a complete output schema, and a clear description of the computed metrics, the description is fully adequate. It does not need to explain return values or elaborate on siblings.

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 coverage is 100% with the 'data' parameter described as 'Numeric observations (at least 2 values).' The description does not add additional parameter semantics beyond restating the tool's purpose, so it stays at the baseline for well-documented schemas.

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 uses a specific verb ('Compute') and resource ('descriptive statistics') with a detailed list of metrics (n, min, max, mean, etc.). This clearly distinguishes it from siblings like stats_t_test (inferential) and seq_stats (sequence statistics), making its purpose unambiguous.

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

Usage Guidelines3/5

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

No explicit when-to-use or alternative tools are mentioned. The usage is implied by the summary statistics list, but there is no guidance on when to select this over inferential statistical tools. This is functional but lacks direct context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/madhusudan-kulkarni/biotools-mcp'

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