Skip to main content
Glama

x402-median-filter

Median Filter: Median of filter. 🆓 5 free trial calls per signed wallet

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. Changed2 schema fields changed
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / window
      Added value: +{
      +  "description": "Window to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

D1.1/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden, and it discloses nothing about output shape, edge cases (short input, window larger than data), or whether the call is a pure computation. The free-trial/payment note is pricing metadata rather than behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but brevity here is under-specification rather than economy: the first clause is a redundant restatement and the second is malformed, so no sentence earns its place apart from the billing note.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter computation tool with no annotations, no output schema, and no parameter descriptions, the definition supplies essentially nothing an agent needs to invoke it correctly.

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

Parameters1/5

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

Both parameters ('values' and 'window') are undocumented in the schema at 0% description coverage, and the description adds no meaning at all — not the expected format of 'values' (CSV? JSON array?) nor how 'window' is interpreted. With 0% coverage the description was required to compensate and does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Median Filter: Median of filter" is a tautology that restates the tool name, and the second clause is not even grammatical. Nothing states what the tool actually does to the values, and in a catalog of hundreds of sibling numeric/statistical tools (x402-median, x402-weighted-median, x402-moving-average) an agent gets no basis for distinguishing it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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 mention of the alternatives it competes with, and no prerequisites. The only contextual sentence concerns billing, not usage.

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