check_redirect_chain
Analyze a URL's redirect chain to follow each hop, detect loops, HTTPS-to-HTTP downgrades, and excessive hops, and return final status with pass/warn/fail results.
Instructions
Check the redirect chain for a URL. Follows up to 10 redirects, recording each hop's URL, status code, Location header, and Server header. Detects redirect loops, HTTPS-to-HTTP downgrades, and excessive chain length. Returns hop details and a summary with total hops, final URL/status, loop/downgrade flags, and chain status (pass: 0-1 hops / warn: 2-3 hops / fail: loop, downgrade, or 4+ hops).
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": "check_redirect_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target webpage URL to analyze. Must start with https:// or http://. Maximum 2048 characters. |