x402-harmonic-mean
Harmonic Mean: Mean of harmonic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Values to process |
Harmonic Mean: Mean of harmonic.
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Values to process |
Changes observed during successful MCP inspections.
Input schema / properties / valuesAdded value: +{
+ "description": "Values to process",
+ "type": "string"
+}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.
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.
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.
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.
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.
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.
Add one secure layer between your agents and this server.