util_url_clean
URL cleaner and tracker stripper — Clean a URL: strips tracking parameters (utm_*, fbclid, gclid, msclkid, mc_eid, HubSpot, Matomo, TikTok, YouTube si...), unwraps redirect wrappers (Google, Facebook, Outlook SafeLinks, Reddit, YouTube, LinkedIn, Slack), drops tracking fragments (keepFragment=1 to keep, sort=1 to sort params) and flags risky traits: user@host tricks, punycode, raw IP hosts, odd ports, plain HTTP, spammy TLDs. Returns clean URL, removed params and risk OK/CHECK/SUSPICIOUS. Offline. 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_clean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https://www.google.com/url?q=https://example.com/a?id=5%26utm_source=x |