Skip to main content
Glama

x402node_validate_url

Validates URL syntax and parses it into components like protocol, hostname, port, pathname, search, and hash.

Instructions

URL validator / URL format check / URL parser / URL syntax validation / protocol scheme detector / domain parser / query string parser / URL component extractor / RFC 3986 URI validation. Validate URL syntax and parse into components: protocol, hostname, port, pathname, search, hash.

Price: unknown on Base (auto-paid in USDC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to validate (required, must include scheme like https://)
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full burden. It only describes the function (validation and parsing) but does not disclose behaviors like error handling, rate limits, permissions, or side effects. Pricing is noted but not behavioral.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description starts with a long list of synonyms that adds redundancy. The core information (validation and parsing) is present, but the list is verbose. The price note is extraneous. It is front-loaded but could be more concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that there is no output schema, the description explains what the tool returns (components). This is sufficient for an agent to understand the output. It lacks details on output format or error scenarios, but for a simple validator, it is mostly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% coverage with a description for the single 'url' parameter. The tool description adds value by listing the parsed output components (protocol, hostname, etc.), which goes beyond the schema and helps the agent understand the return data.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states the tool validates URL syntax and parses it into components (protocol, hostname, etc.). It lists many synonyms but the core function is unmistakable. Among siblings, it is the only URL syntax validator, distinguishing it from other URL tools like url_check-status or url_dns-lookup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for URL validation and parsing, but does not explicitly state when to use it versus alternatives or when not to use it. No exclusions or comparisons are provided, leaving the agent to infer application based on the purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/x402node/x402-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server