util_url_parse
URL parser + risk flags — Break any URL into parts offline: scheme, credentials (password redacted), host and host type (domain, IPv4, IPv6, punycode IDN), TLD, public suffix (built-in list of common multi-part suffixes like co.uk, com.au, github.io), registrable domain, subdomain, port and default port, path segments (decoded), file extension, every query parameter decoded with duplicate keys, tracking parameters (utm_*, gclid, fbclid, msclkid...) and a clean URL without them, and the fragment. Flags phishing-style structure: userinfo before @, raw IP host, punycode, brand or login words in a subdomain of someone else's domain, abused TLDs, open-redirect parameters, double encoding, non-standard ports, plain http, javascript:/data: schemes, giving a LOW / MEDIUM / HIGH structural risk. Price: $0.002 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "util_url_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | e.g. https://shop.example.co.uk:8443/path/to/item.html?utm_source=news&id=42#reviews |