Skip to main content
Glama

post_calc_stats

Exact descriptive statistics — LLMs cannot reliably sum 200 numbers; this can. POST {values:[…]} for count/sum/mean/median/stddev/percentiles; {x:[],y:[]} for Pearson correlation + linear regression; {rows:[…], field} for object arrays — or {collection, field?} to run stats DIRECTLY ON YOUR DATASTORE collection (the paying wallet is the identity; reading extends its life 30 days). Up to 100k values, Kahan-summed. ($0.005 per call, paid via x402)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNowith y: correlation + regression
yNo
rowsNoobjects — with field/fields to pick columns
fieldNo
valuesNonumbers to describe
collectionNorun stats on YOUR datastore collection instead of posting data

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNo
minNo
sumNo
meanNo
countNo
medianNo
stddevNo
varianceNo
pearson_rNo
regressionNo
percentilesNo

Schema Changelog

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

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The description discloses important behavioral traits beyond annotations: cost ($0.005 per call), datastore life extension (30 days), algorithm (Kahan summation), and value limit (100k). Annotations only indicate openWorldHint=true and non-destructive; description adds critical side-effect and resource consumption details.

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 well-structured sentence that front-loads the core purpose, then lists features, limits, and cost. Every sentence adds value with no redundancy. It is dense yet readable.

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 complexity (multiple input modes, datastore interaction, paid usage), the description covers all relevant aspects: modes, limits, cost, side effects, and algorithm. An output schema exists, so return values need not be detailed. This is a complete and self-contained description.

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?

Schema coverage is 67% with descriptions for 4 of 6 parameters. The description adds meaning by explaining the three modes (x/y for correlation, rows/field for object arrays, collection for datastore) and clarifying roles. However, 'y' and 'field' parameters lack schema descriptions, relying on the tool description for context.

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 clearly states the tool computes exact descriptive statistics (count/sum/mean/median/stddev/percentiles) for various input formats (arrays, paired data, object arrays, datastore collections). It distinguishes itself from siblings by emphasizing exact calculation over LLM's inability to sum, providing a strong purpose.

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?

The description explains when to use the tool (exact stats needed) and provides context like cost, limits, and datastore side effects. However, it does not explicitly state when NOT to use it or compare directly with sibling tools like get_calc (which may offer simpler calculations).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools have distinct purposes, but the SEO-related tools (head_check, full_audit, site_audit, etc.) overlap in scope, potentially causing confusion despite clear descriptions.

Naming Consistency5/5

Tool names consistently follow a get_/post_/delete_ verb pattern with descriptive noun phrases (e.g., get_seo_head_check, post_store_collection), with no mixing of naming conventions.

Tool Count2/5

With 46 tools covering a wide breadth of domains (SEO, accessibility, music, crypto, linting, etc.), the count is excessive for a single server, feeling unfocused and heavy.

Completeness4/5

The tool set covers most core operations for each sub-domain, but minor gaps exist (e.g., missing update for datastore, limited music operations).