Skip to main content
Glama

TinyFn

calculate_zscore

Calculate z-score (standard score).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
meanYesPopulation mean
valueYesValue to calculate z-score for
stddevYesPopulation standard deviation

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
meanYes
valueYes
z_scoreYes
standard_deviationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It only states the calculation, with no mention of side effects, permissions, error handling, or return format. The schema indicates stddev must be positive, but this is not highlighted in the description.

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 a single sentence that is front-loaded and to the point. It conveys the essential purpose without waste. However, given the tool's simplicity, it could be slightly more informative while remaining concise.

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

Completeness3/5

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

The description is minimal but adequate for a straightforward calculation tool with a complete schema and output schema. However, it lacks context about when this specific z-score calculation is appropriate relative to other statistical tools, which would improve completeness.

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%, so the baseline is 3. The description adds no additional meaning beyond what the schema provides. The parameter names and schema descriptions are self-explanatory, but the tool description does not elaborate on their relationship or usage.

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 states the verb 'Calculate' and the resource 'z-score' with clarification 'standard score'. It is specific about the mathematical concept, but does not explicitly differentiate from sibling tools like calculate_mean or calculate_stddev, which are distinct but related.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites, context, or cases where other tools might be more appropriate.

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.