Skip to main content
Glama
mAd-DaWg

mcp_calculator

by mAd-DaWg

stats_1var

Compute one-variable summary statistics from a data list, with optional frequency weighting and normal distribution values (t, P, Q, R) when a norm_x value is provided.

Instructions

When: one-variable summary stats, or STAT Norm Dist t/P/Q/R from a data list. Params: data (required); optional freq (same length); optional norm_x → adds t,P,Q,R (t=(x−mean)/σ_pop; P:−∞→t, Q:0→t, R:t→+∞). Example: data=[1,2,3,4,5], norm_x=4.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
freqNo
norm_xNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses the optional freq constraint, the effect of norm_x, and the exact formulas for t, P, Q, and R. It does not address edge cases like mismatched lengths or empty data, but the core behavior is clearly specified.

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 compact and well-organized: a usage statement, parameter list, formula notation, and a concrete example. No sentence is wasted, and the dense notation is appropriate for a calculator tool.

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?

Given the tool's simplicity, the presence of an output schema, and no annotations, the description covers purpose, parameters, formulas, and example usage. It is sufficient for an agent to select and invoke the tool correctly without seeking additional context.

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

Parameters5/5

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

Schema descriptions are absent (0% coverage), so the description must compensate, and it does: it marks data as required, clarifies freq must be same length, and defines norm_x's role through formulas and an example. Each parameter's meaning goes well beyond the bare type definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the resource as 'one-variable summary stats' and the optional normal-distribution t/P/Q/R calculations, which distinguishes it from sibling tools like stats_2var. However, it lacks an explicit verb such as 'compute' or 'calculate,' relying on the noun 'stats' to convey the action.

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

Usage Guidelines4/5

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

It opens with 'When: one-variable summary stats...' providing clear applicability. It implies exclusion of two-variable cases by naming 'one-variable,' but does not explicitly name alternatives or state when not to use it.

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/mAd-DaWg/mcp_calculator'

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