Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-is-within-range

Is Within Range: Checks whether value lies between min and max inclusive, parsing all three as floats 🆓 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": {
      "value": "<value>"
    },
    "name": "x402-is-within-range"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNo
minNo
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "value"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / max / description
      Removed value: -"Max to process"
    • removedInput schema / properties / min / description
      Removed value: -"Min to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  3. First observed

TDQS

B3.2/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 burden. It does disclose two useful behaviors beyond the schema: bounds are inclusive, and all three arguments are parsed as floats (so string inputs are coerced), plus a mention of 5 free trial calls per signed wallet indicating auth/rate context. It omits the return shape (presumably a boolean) and any error behavior for unparseable floats.

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?

A single front-loaded sentence names the tool's purpose before any caveats, followed by a short pricing note. There is essentially no wasted wording, though the emoji-plus-pricing footer is marketing rather than invocation help.

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 simple three-parameter predicate with no output schema, the description covers the core semantics adequately. It falls short on the optional min/max handling and the return value, which an agent needs in order to interpret the result and to call it correctly with omitted bounds.

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%, so the description must compensate, and it partially does: it identifies value as the tested subject and min/max as inclusive bounds, and notes float parsing for all three. However, only 'value' is required in the schema, and the description never says what happens when min or max are omitted, which is the most consequential ambiguity for this tool.

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?

States a specific verb and resource: 'Checks whether value lies between min and max inclusive.' An agent can immediately tell this is a numeric range-membership predicate. It does not, however, differentiate itself from the sibling 'x402-is-between', which likely performs a similar comparison, nor does it clarify how the two differ.

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 description gives no when-to-use or when-not-to-use guidance and never names an alternative. With siblings such as 'x402-is-between', 'x402-is-close-to', and 'x402-is-approximately' competing for the same intent, the absence of routing guidance leaves selection to inference 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.