Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-median-filter

Median Filter: Median filter over a list. Takes values and window (default 3). Returns the filtered array as result. 🆓 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-median-filter"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesNo
windowNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
    • removedInput schema / properties / window / description
      Removed value: -"Window to process"
  2. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavior burden, yet it discloses almost nothing: edge handling (padding vs truncation), whether window must be odd, what happens if window exceeds the list length, and the exact response shape are all unstated. The one piece of added context, '5 free trial calls per signed wallet', hints at an auth/quota model but is not elaborated.

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?

Short and front-loaded, with the core operation stated first and the default and return value following. The opening 'Median Filter: Median filter over a list' is mildly redundant but not costly.

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 tool with zero annotation coverage, no output schema, and two completely undocumented string parameters, the description is far too thin. It leaves an agent unable to construct a valid call with confidence, particularly around the string encoding of values.

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 both parameters are typed as plain strings with no descriptions, so the description must compensate — but it only restates their names and gives a default of 3 for window. It never explains the expected encoding of values (JSON array string? comma-separated?) or whether window is a count, which is critical given the string typing.

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 operation and resource (median filtering over a list) and states the inputs and the return value, so an agent knows what it does. However, it never distinguishes it from close siblings such as x402-median or x402-weighted-median, so the agent must guess which of the median-family tools is appropriate.

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?

The only usage context is the default window of 3 and an incidental pricing note; there is no statement of when to choose this over x402-median, x402-weighted-median, or x402-median-absolute-deviation. No prerequisites, exclusions, or constraints on the window (e.g., odd-size requirements) are given.

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.