Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-trimmed-mean

Trimmed Mean: Trimmed mean. Takes values and trim (items dropped from each end, default 1). 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-trimmed-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. First observed

TDQS

C2.8/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses a default (trim=1), the auth/billing model (signed wallet, 5 free trial calls), and that the mean is returned as the result. It says nothing about what happens with malformed input, what occurs after the free calls are exhausted, or the shape of the returned value.

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?

Short and front-loaded, but 'Trimmed Mean: Trimmed mean.' is pure duplication and the emoji quota line sits inside the purpose sentence rather than being separated. Roughly half the text is informative.

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 low-complexity one-parameter tool, the essentials are still incomplete: the string encoding of 'values' is undefined, the referenced 'trim' option is absent from the schema, and with no output schema the description should clarify the returned 'result' more than just 'the mean'. An agent could call it but would likely have to guess the input encoding.

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 real parameter 'values' is typed only as a string with no explanation of format (comma-separated list? JSON array?), which is the critical ambiguity for a numeric aggregator. Meanwhile the description explains a 'trim' parameter that does not appear in the schema at all, adding meaning for a parameter the agent cannot pass.

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 statistical operation (trimmed mean over values, dropping items from each end) and what it returns, which is enough to identify the computation. It does not differentiate itself from close siblings like x402-winsorized-mean or x402-interquartile-mean, and the opening repeats the name twice as a title restatement.

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 mention of when a trimmed mean is preferable to winsorized mean or plain mean, and no prerequisites beyond the quota note. The only context given is billing (5 free trial calls), which is not selection guidance.

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.