x402-validate-url
Validate URL: Parse value with the WHATWG URL parser and return valid plus protocol, host and port, or valid false when parsing throws. 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No |
Validate URL: Parse value with the WHATWG URL parser and return valid plus protocol, host and port, or valid false when parsing throws. 🆓 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?
With no annotations, the description carries the full burden and does reasonably well: it discloses the success payload (valid plus protocol, host, port) and the failure mode (valid false when parsing throws) rather than throwing to the caller. It omits what happens for edge cases like missing protocol or relative URLs, and only hints at payment/auth via the free-trial line. This is useful but not rich behavioral disclosure for an annotation-free tool.
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?
One front-loaded sentence covers mechanism, success fields, and failure behavior, followed by a separate pricing note. Nothing is redundant and the most important information comes first.
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 single-parameter pure validation function with no output schema, the description is close to sufficient: it enumerates the returned fields and the failure outcome. The only real gap is the lack of differentiation from sibling URL tools, which matters given how many similar names exist in the catalog.
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 the single parameter 'value' is undocumented, but the description's 'Parse value' plus the URL framing makes it clear the input is the URL string to check. Beyond that it adds no format, length, or encoding expectations, so it only marginally compensates for the bare schema.
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?
The description states a specific verb and resource ('Validate URL') and goes further to name the mechanism (WHATWG URL parser), so the agent knows exactly what semantic validation is applied. It does not distinguish itself from closely related siblings such as x402-is-url, x402-url-parse, or x402-url-inspect, which keeps it from a 5.
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 name and the parsing semantics; there is no explicit statement of when to prefer this over x402-is-url (boolean check) or x402-url-parse (component extraction) despite heavy overlap with those siblings. An agent can infer the use case but receives no routing guidance or exclusions.
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.