Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-mean-of

Mean Of: Arithmetic mean of a list of numbers. Pass values=1,2,3,4 as a comma list or repeated param; returns result with the average (2.5 for that list). 🆓 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-mean-of"
  }
}

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

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely useful behavioral fact: pricing/quota ("5 free trial calls per signed wallet"), which implies wallet authentication is required. It also states the return value (the average). However, it does not say what happens after the free trial is exhausted, whether calls cost anything, or how errors/empty input are handled.

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?

Front-loaded with the core definition, then input format, then the worked example, then the quota note - a logical order with little waste. The example and pricing note each earn their place, though the phrasing "Pass values=1,2,3,4 as a comma list or repeated param" is slightly compressed.

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?

No output schema exists, and the description does explain the return value, so that burden is covered. For a one-parameter math tool this is close to sufficient, but the omission of recursion/empty-list behavior and whether the parameter is mandatory leaves gaps an agent would hit in edge cases.

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

Parameters4/5

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

Schema coverage is 0% - the single `values` property is a bare string with no description - so the description must compensate, and it does: it specifies a comma-separated list or repeated parameter and gives a worked example (1,2,3,4 -> 2.5). It does not state whether `values` is required despite required=0.

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?

States a specific verb+resource: "Arithmetic mean of a list of numbers," which is concrete and unambiguous about the computation. It does not distinguish itself from siblings like x402-geometric-mean, x402-harmonic-mean, x402-sample-mean or x402-population-mean, so an agent must infer the difference from the name alone.

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 when-to-use or when-not-to-use guidance at all; the description never says to prefer this over geometric, harmonic, trimmed, sample, or population mean variants that exist as siblings. The only guidance present is input formatting, which is invocation detail rather than tool selection.

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.