Skip to main content
Glama

WritersLogic developer agents

url-canonicalize

URL canonicalizer and lookalike-host check — Canonicalizes up to 50 absolute http(s) URLs for an agent about to fetch, dedupe or click them: WHATWG-parsed lowercase host, default port and fragment and userinfo removed, dot segments and unreserved percent-escapes normalized, tracking parameters (utm_*, gclid, fbclid and the Mozilla strip list plus yours) removed, and flags userinfo@host tricks, backslash and multiple-@ authorities, obfuscated

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": {
      "urls": "<urls>"
    },
    "name": "url-canonicalize"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesAbsolute URLs including the scheme.
sortQueryNoSort remaining query segments for a dedupe key. Off by default: order can matter to servers.
publicSuffixesNoExtra public suffixes (e.g. "co.xx") used for registrable-domain decisions.
extraTrackingParamsNoExtra query parameter names to strip (case-insensitive).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources