Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-sample-mean

Sample Mean: Sample mean. Takes values. Returns the mean as result. 🆓 5 free trial calls per signed wallet

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "values": "<values>"
    },
    "name": "x402-sample-mean"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "values"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
  3. Changed1 schema field changed
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
  4. First observed

TDQS

C2.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 two real behavioral facts: the call is metered ("5 free trial calls per signed wallet") and it returns the mean as the result. It does not say what happens after the free trial, how a wallet is signed, or what error surfaces for non-numeric input.

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?

It is short and front-loaded, which is good, but the first clause duplicates the title verbatim ("Sample Mean: Sample mean") and the rest is padded with generic phrasing. Little waste overall, but also little content per sentence.

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?

For a one-parameter math tool with no output schema, the description should at minimum pin down the input encoding and result type. It gives neither the values format nor any statement of what the returned mean looks like, leaving the agent to guess on the only decision that matters.

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?

The single parameter has 0% schema description coverage, and "Takes values" adds nothing: it never states whether the string is comma-separated, JSON-encoded, or space-delimited, which is the one thing an agent must know to call this correctly. The description does not compensate for the schema gap.

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?

"Sample Mean: Sample mean. Takes values. Returns the mean as result." restates the tool name without adding a distinct verb+resource framing or scope. It gives no signal to separate this from siblings like x402-population-mean, x402-geometric-mean, x402-trimmed-mean, or x402-weighted-mean, all of which compute variants of a mean.

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 guidance and no mention of alternatives. An agent choosing among the ~20 mean-family siblings gets no criteria for selecting sample mean over population mean or any other variant, nor any exclusions.

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