Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-winsorized-mean

Winsorized Mean: Winsorized mean. Takes values and k (values clipped to the k-th from each end). 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-winsorized-mean"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNo
valuesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "values",
      -  "k"
      -]New value: +[
      +  "values"
      +]
  2. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "values"
      -]New value: +[
      +  "values",
      +  "k"
      +]
  3. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "values"
      +]
  4. Changed2 schema fields changed
    • removedInput schema / properties / k / description
      Removed value: -"K to process"
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
  5. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose two useful traits beyond the schema: the return value is a single mean, and calls are metered per signed wallet with a free trial. It stops short of stating error behavior, whether k defaults when omitted (k is not in the required list), or any constraint such as k needing to be smaller than half the sample size.

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 the functional definition is front-loaded, but the first clause duplicates the tool name verbatim and adds nothing. The trial-call emoji line is useful but sits where a usage note would be better placed, so space is spent on repetition rather than missing guidance.

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?

For a two-parameter math tool with no output schema and no annotations, the description covers the core semantics and the return value, which is close to sufficient. Gaps remain around input encoding for the string-typed 'values' and the optionality/default of k, which matter for correct invocation since no structured field documents them.

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

Parameters3/5

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

Schema description coverage is 0% for both parameters, so the description must compensate, and it partially does by explaining that k is the number of values clipped from each end. However, both parameters are typed as strings and the description never clarifies the expected format of 'values' (JSON array, comma-separated list?) or what happens when the optional k is absent, leaving a real ambiguity unresolved.

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?

Names a specific statistical operation (winsorized mean) and reinforces it with the defining mechanic: values are clipped to the k-th value from each end. It is distinguishable from the many sibling mean variants (trimmed, interquartile, geometric), though the opening 'Winsorized Mean: Winsorized mean.' redundantly restates the name and never explicitly contrasts with the closest sibling, x402-trimmed-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, no prerequisites, and no mention of alternatives such as trimmed mean or interquartile mean, which are the obvious substitutes for robust central-tendency estimation. The only conditional information is commercial ('5 free trial calls per signed wallet'), which tells the agent nothing about selecting this tool over its siblings.

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.