Skip to main content
Glama

x402-mode

Mode: Compute the mode of a dataset. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
dataNo
valuesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / data / description
      Removed value: -"Data to process"
    • removedInput schema / properties / values / description
      Removed value: -"Values to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / values
      Added value: +{
      +  "description": "Values to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/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 whole burden. It discloses only a billing trait ('5 free trial calls per signed wallet') and says nothing about return shape, how ties in the mode are handled, input formats, or error behavior. The pricing note is genuinely useful context beyond structured fields, but it is the only 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.

Conciseness4/5

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

Two short lines with the functional statement front-loaded; nothing is padded. The emoji and free-trial line are marketing rather than definitional, which costs a point, but they are brief.

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 two undocumented, non-required, ambiguously named parameters and no annotations or output schema, the description leaves too much unresolved: which parameter to use, what format each accepts, and what comes back. The free-trial line does not compensate for that.

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 description coverage is 0% and neither 'data' nor 'values' is explained. The description offers no clue about the difference between the two parameters, whether one takes a delimited string and the other a list, or which is preferred. With zero required parameters the agent must guess entirely.

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?

The description gives a specific verb and resource: 'Compute the mode of a dataset.' This distinguishes it from statistical siblings such as x402-median, x402-mean-of and x402-stddev by naming the statistic. It does not explicitly reference those siblings, so a 4 rather than a 5.

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

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The purpose implies when to use it: when you need the most frequent value in a dataset. However, there is no explicit guidance on when to prefer this over other centrality tools, no mention that the two parameters are alternatives, and no prerequisite or data-format 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.

Resources