x402-is-ip
Is IP: Check whether a string is a valid IPv4 or IPv6 address. Provide value or input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Input to process | |
| value | No | Value to process |
Is IP: Check whether a string is a valid IPv4 or IPv6 address. Provide value or input.
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Input to process | |
| value | No | Value to process |
Changes observed during successful MCP inspections.
Input schema / properties / inputAdded value: +{
+ "description": "Input 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. 'Check whether' makes clear this is a non-mutating predicate, which is the key behavioral fact, but it says nothing about the return form (boolean vs. message) or how malformed/empty input is handled.
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?
Two short front-loaded sentences with no filler; the purpose leads and the parameter hint follows. 'Is IP:' is a redundant restatement of the tool name, a minor waste in an otherwise tight description.
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 such a simple tool this is nearly sufficient, but with no annotations and no output schema the description should at least state what a caller gets back (a validity verdict). That gap is small but real.
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 100%, but both schema descriptions are useless placeholders ('Input to process', 'Value to process') and zero params are marked required. The sentence 'Provide value or input' is the only signal that either parameter is an acceptable, mutually exclusive carrier for the string, which is real added meaning.
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: check whether a string is a valid IPv4 or IPv6 address. This distinguishes it from the narrower x402-is-ipv4 and x402-is-ipv6 siblings by declaring it covers both families, though it never names those siblings explicitly.
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 implied rather than stated: the combined IPv4/IPv6 scope suggests this is the general-purpose option when the address family is unknown, leaving is-ipv4/is-ipv6 for family-specific checks. No explicit when-to-use or when-not-to-use guidance is given, and x402-validate-ip is not addressed.
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.