Skip to main content
Glama
Ian3738
by Ian3738

describe

Compute summary statistics for numeric and categorical data, including mean, median, quartiles, skewness, and more, with optional grouping, confidence intervals, and survey weights.

Instructions

Descriptive statistics: n, missing, mean, SD, SE, confidence interval for the mean, median, min/max, quartiles, IQR, skewness and kurtosis - optionally split by one or more grouping variables. Categorical columns get a level count and modal category instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesDataset name in the session.
digitsNoDecimal places.
weightNoSampling weight column. Required for survey data - unweighted estimates describe the sample, not the population.
group_byNoSplit the numeric summaries by these columns.
variablesNoColumns to describe (default: all).
conf_levelNoConfidence level for the mean's interval.
include_categoricalNoAlso summarise non-numeric columns.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It transparently lists what statistics are returned and how categorical columns are summarized, but it does not state side effects, missing-value handling, output shape, or behavior across groups. It is informative but leaves some behavioral uncertainties.

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 compact and front-loaded with the purpose, then enumerates the statistics in one dense sentence. The categorical sentence adds necessary behavior without fluff. It is slightly list-heavy but earns its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description reasonably carries the burden of explaining return values: it lists the statistics and categorical summary behavior. It is adequate for a 7-parameter analysis tool, though the exact output structure and grouped result layout are left unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already documents all parameters well, so the baseline is 3. The description adds value by clarifying that group_by accepts one or more grouping variables and that categorical columns yield a level count and modal category, which goes beyond the schema's generic parameter descriptions.

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 names a clear resource and outcome: descriptive statistics for the session dataset, with a detailed list of computed measures and categorical fallback behavior. It differentiates from sibling tools like frequency_table and data_inspect by showing it returns aggregate summaries, not raw inspection or frequency tables.

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?

The description implies when to use it—when summary statistics are needed—and adds context via grouping by variables. However, it does not explicitly say when not to use it or mention alternatives such as frequency_table for categorical distributions or data_inspect for data overview.

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

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/Ian3738/r-stats-mcp'

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