Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-harmonic-mean

Harmonic Mean: Harmonic mean of non-zero values. Takes values. Returns the mean as result. 🆓 5 free trial calls per signed wallet

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402-harmonic-mean"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
  2. First observed

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does add one genuinely useful operational fact — '5 free trial calls per signed wallet' — which hints at auth/payment gating, but it says nothing about input encoding, validation failures on zero values, response shape, or what happens past the free tier.

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

Conciseness3/5

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

The definition is short and front-loads the operation name, which is good structure. But two of the four sentences ('Takes values. Returns the mean as result.') are pure filler that consume space without adding information, while the important format detail is absent.

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

Completeness2/5

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

With no annotations, no output schema, and an undocumented single parameter, the description must carry everything, and it does not: the input serialization format and error conditions are unaddressed. It is also silent on how this differs from the many other mean tools an agent could pick, leaving real ambiguity for a simple math utility.

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

Parameters2/5

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

Schema coverage is 0% and the single parameter is an untyped-in-practice 'string' named values with no description. Since the tool presumably needs a list of numbers serialized as a string, the exact format (comma-separated, JSON array, delimiters) is the single most important thing to convey, and the description's 'Takes values' conveys nothing about it.

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

Purpose3/5

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

The description names the operation ('Harmonic mean') and adds a real constraint ('of non-zero values'), so the core purpose is identifiable. However, it does nothing to distinguish itself from near-identical siblings such as x402-harmonic-number, x402-harmonic-series, or x402-geometric-mean, and the trailing 'Takes values. Returns the mean as result' restates the obvious rather than sharpening scope.

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?

There is no guidance on when to choose this tool over the other mean variants in the sibling catalog (geometric, weighted, trimmed, sample, population). The only implicit selection hint is the 'non-zero values' constraint, which is not framed as a when-to-use or when-not-to-use rule.

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.