Skip to main content
Glama
islobodan

Crucher MCP

variance

Read-onlyIdempotent

Calculate sample variance (n-1) or population variance (n) from an array of numbers by setting the population flag.

Instructions

Sample variance (n-1). Set population: true for population variance (n).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numbersYes
populationNo
Behavior3/5

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

Annotations already indicate read-only, idempotent behavior. The description adds that the calculation can be sample or population variance. However, it does not disclose edge cases (e.g., empty arrays) or the exact formula, which is beyond annotations' scope.

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 two sentences, directly stating the purpose and the key parameter toggle. No extraneous information; it is front-loaded and efficient.

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?

Given the low complexity and no output schema, the description covers the main functionality. It lacks explicit mention of return type, but for a calculation tool, the return is a number. The context is mostly complete.

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?

The description explains the 'population' parameter meaning. The 'numbers' parameter is implied but not explicitly defined. With 0% schema coverage, the description partially compensates but leaves room for ambiguity on the array structure.

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 variance, differentiating between sample variance (n-1) and population variance (n) via the population parameter. It uses the verb 'variance' implicitly, and identifies the resource as a set of numbers. Among sibling tools like std_dev and avg, this is distinct.

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 sample vs. population variance, guiding the agent on setting the population boolean. It does not explicitly mention alternatives like std_dev or when not to use, but the guidance is clear for its primary use case.

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/islobodan/cruncher-mcp'

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