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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| min | No | ||
| value | No |
Is Within Range: Checks whether value lies between min and max inclusive, parsing all three as floats 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| min | No | ||
| value | No |
Changes observed during successful MCP inspections.
Input schema / properties / max / descriptionRemoved value: -"Max to process"Input schema / properties / min / descriptionRemoved value: -"Min to process"Input schema / properties / value / descriptionRemoved value: -"Value to process"Input schema / properties / maxAdded value: +{
+ "description": "Max to process",
+ "type": "string"
+}Input schema / properties / minAdded value: +{
+ "description": "Min to process",
+ "type": "string"
+}Input schema / properties / valueAdded value: +{
+ "description": "Value to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It usefully discloses two behavioral traits: inputs are coerced to floats, and the comparison is inclusive at both ends, plus a rate-limit/payment note. It does not say what happens on non-numeric input (error vs NaN) or what the return value looks like — a boolean result is only implied.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The functional sentence is front-loaded and tight, with the predicate and coercion rule stated in one pass. The trailing emoji trial-call promo is marketing filler that does not earn its place, slightly diluting an otherwise efficient definition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a trivial three-argument predicate with no output schema, the definition covers the core behavior adequately. It is still incomplete on the points that matter most for this tool class: return type, requiredness of parameters, and error behavior on unparseable input, all of which an agent would need to invoke it confidently.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% and none of the three parameters carry descriptions, so the description must compensate. It does define the relational roles of value, min and max and confirms float parsing, which is real added meaning, but it never states whether min/max ordering matters, whether any parameter is required, or how out-of-order bounds behave.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (checks) and the exact predicate: whether value lies between min and max inclusive, parsing all three as floats. This is unambiguous. However, it does not distinguish itself from the near-identical sibling x402-is-between (or x402-range / x402-clamp), leaving the agent to guess which one to pick.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 alternative tool is named. The only extra sentence is a pricing/promo note ('5 free trial calls per signed wallet'), which is commercial framing rather than invocation guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.