URL parser + cleaner: parts, query params, strip tracking
util_url_parseParse a URL into scheme, host, port, path segments (decoded), file extension, query parameters (repeated keys as arrays), fragment, subdomain and registrable domain (handles co.uk, com.au, github.io …), and return a normalized copy with lower-case host, sorted query and tracking parameters removed (utm_*, fbclid, gclid, msclkid, mc_cid …). Pure parsing — the URL is not fetched. Use to dedupe links, clean shared URLs, or read query values. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.
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 | The URL, e.g. https://shop.example.co.uk/p?utm_source=x&id=7 | |
| strip_tracking | No | true (default) or false |