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-weighted-average

Weighted Average: Weighted average. Takes values and weights (equal length). Returns the average 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-weighted-average"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesNo
weightsNo

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

TDQS

C2.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add genuinely useful behavioral context that structured fields do not: the equal-length constraint on the two inputs, the fact that a result is returned, and the pricing/trial model (5 free calls per signed wallet), which hints at an auth/payment requirement. It still omits what happens on mismatched lengths, the accepted input encoding, and whether results are exact or rounded.

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 input/output statement is front-loaded, but the opening clause redundantly repeats the name twice and the emoji trial promo sits inside the functional description rather than being separated. Roughly half the text is non-substantive.

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 two-parameter math utility with no output schema and no annotations, the description should fully pin down input encoding and edge-case behavior. It leaves the string parameter format undefined, which is the single thing an agent needs to call this correctly.

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% — both parameters are bare strings with no description. The phrase "Takes values and weights (equal length)" conveys the pairing constraint and confirms the two inputs' roles, but gives no clue about the expected string format (JSON array, comma-separated list, etc.), leaving the most important unknown unresolved.

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?

The description restates the title verbatim ("Weighted Average: Weighted average") and adds only that it takes values and weights and returns an average. That is essentially a tautology of the tool name, with no differentiation from close siblings such as x402-weighted-mean, x402-weighted-median, or x402-moving-average.

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 or when-not-to-use guidance, and no mention of how this differs from x402-weighted-mean or x402-weighted-median despite those being near-identical siblings. The agent must infer selection from the name alone.

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