Skip to main content
Glama

x402-harmonic-mean

Harmonic Mean: Mean of harmonic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valuesNoValues to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses nothing: not the expected input format, not how zeros/negatives/empty input are handled (harmonic mean is undefined for zero), not whether the string is parsed by comma or newline. For a numeric tool with hidden edge-case behavior, this is a critical gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the brevity comes from under-specification rather than efficient front-loading; the second clause is redundant with the name and earns no place. Structure is fine, content is empty.

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

Completeness1/5

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

A one-parameter computational tool with no annotations, no output schema, and an opaque string input needs the description to explain input encoding and edge-case behavior. None of that is present, so the definition is insufficient to invoke the tool correctly.

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

Parameters1/5

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

There is one parameter, "values", typed as a bare string, and the schema description is equally unhelpful ("Values to process"). The description adds no parsing format, delimiter, or accepted-range information, leaving the single required input effectively undocumented.

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

Purpose2/5

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

The first fragment names a specific statistic (harmonic mean), but the second half, "Mean of harmonic," merely restates the name/title rather than stating what the tool computes or returns. Against siblings like x402-geometric-mean, x402-weighted-mean, and x402-mean-of, there is no differentiation beyond the label itself.

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?

No when-to-use guidance, no conditions, no mention of alternatives such as arithmetic or geometric mean despite several such siblings existing. The agent has to rely entirely on the name to decide when this tool is 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.

Resources