Skip to main content
Glama

Standard Deviation Calculator API - sample & population SD, variance, mean, median

standard_deviation_calculator
Read-onlyIdempotent

Compute sample and population standard deviation, variance, mean, median, mode, min/max, range and step-by-step squared deviations for a dataset. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/standard-deviation-calculator.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "numbers": "4, 8, 15, 16, 23, 42"
    },
    "name": "standard_deviation_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
numbersYesNumbers separated by spaces, commas or newlines (or JSON array)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, and the description adds genuinely useful context beyond them: server-side execution, immediate deletion with nothing stored, a 5-calls/day per-IP rate limit, and the required X-API-Key header or x402 payment. The only smudge is the mention of 'files are deleted right after the call' when the sole parameter is an inline numbers string, which is mildly confusing rather than contradictory.

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?

Two sentences with the capability statement front-loaded and the operational/payment details second. Most of the second sentence earns its place through rate-limit and auth information, though the embedded pricing URL and '€9/mo' framing lean promotional and could be trimmed.

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?

For a single-parameter, annotation-covered, output-schema-less tool, the description is nearly complete: it names the returned statistics so the agent knows what to expect, and it covers cost, auth and rate limits. Only a concrete example or note on numeric precision/rounding is missing.

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 description coverage is 100% and the single 'numbers' parameter is fully documented in the schema (spaces, commas, newlines, or JSON array), so the baseline of 3 applies. The description's phrase 'for a dataset' adds no format or precision detail beyond what the schema already states.

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?

Uses a specific verb ('Compute') with a named resource ('standard deviation, variance, mean, median, mode, min/max, range...') and enumerates exactly which statistics come back. An agent can tell this apart from generic calculator siblings like percentage_calculator or fraction_calculator without opening any schema.

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?

Usage is only implied by the purpose statement ('for a dataset'); there is no explicit when-to-use, when-not-to-use, or comparison to an alternative tool. The description does supply practical execution context — free tier of 5 calls/day per IP and two paid auth paths — which indirectly informs whether calling is viable, but no task-level routing guidance is given.

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.

Resources