x402-is-integer
Is Integer: Checks whether value converts to a JavaScript integer via Number, returning a boolean 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No |
Is Integer: Checks whether value converts to a JavaScript integer via Number, returning a boolean 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| value | No |
Changes observed during successful MCP inspections.
Input schema / properties / value / descriptionRemoved value: -"Value to process"Input schema / properties / valueAdded value: +{
+ "description": "Value to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden; it does disclose the behavioral contract (JS Number coercion) and the return type, plus the payment requirement of 5 free trial calls per signed wallet. It omits edge-case behavior for inputs like '1.5', '1e3', '', 'NaN', and any error behavior, so the burden is only partially met.
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?
Core semantics are front-loaded in a single efficient clause, with the pricing note trailing. The emoji-laden trial-call sentence is boilerplate but is at least operationally relevant (payment terms), not pure padding.
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 one-parameter pure predicate with no output schema, the description supplies purpose and return type, which covers the essentials. It falls short on input edge cases and error semantics, and gives no guidance for choosing among the many sibling predicates, leaving meaningful gaps for correct invocation.
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 description coverage is 0% with a single undocumented 'value' parameter. The description implies the parameter is something coercible by Number but does not state the expected type (string), the accepted forms, or what happens for non-numeric input, so it does not compensate for the coverage gap.
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 and resource ('checks whether value converts to a JavaScript integer') and even specifies the coercion mechanism (Number), which separates it semantically from fuzzy neighbors like is-numeric or is-float. It does not, however, name any sibling explicitly, so an agent must infer the distinction from the semantics alone.
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?
Usage is only implied by the purpose statement: it is obviously a validation predicate. With dozens of sibling predicates (x402-is-numeric, x402-is-float, x402-is-binary, x402-is-octal), the description never says when this one is preferred over those, which is the main selection ambiguity here.
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.