Skip to main content
Glama

Redirect Checker API - redirect chain, status codes, HTTP headers

redirect_checker
Read-onlyIdempotent

Follow a URL hop by hop: every redirect with status (301/302/307/308), Location, response time and server, the final URL and status, all response headers, security headers present (HSTS, CSP, X-Frame-Options...) and plain-English issues (too many hops, 302 instead of 301, no http->https). Live, ~1 s. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.002/call via x402 at https://radarbg.com/x402/redirect-checker.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "http://github.com"
    },
    "name": "redirect_checker"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoURL or domain, e.g. http://github.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnly/openWorld/idempotent; the description adds substantial behavior beyond them: it is a live call taking ~1 s, it reports per-hop response time and server, it flags plain-English issues, and it discloses hard rate limits (5 calls/day per IP) plus two paid access paths with a key header. Cost and throttling disclosure is exactly the context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is one dense run-on sentence, but the purpose and output inventory are front-loaded and every clause carries information (hops, statuses, headers, issues, latency, limits, pricing). The pricing/link tail is the only portion an agent likely does not need for tool selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description must describe return values, and it does so thoroughly—chain hops, status codes, Location, timing, final status, headers, security headers, and derived issues. Combined with latency, rate-limit, and auth details, an agent has everything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and there is a single 'url' property with an inline example, so the schema does the documentation work and the baseline applies. The description adds no extra meaning about the parameter—notably it never says what happens if url is omitted, even though the required-parameter count is 0.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Follow a URL hop by hop', then enumerates exactly what is returned (redirects with status, Location, timing, final URL, headers, security headers, plain-English issues). An agent can tell this is a redirect-chain diagnostic rather than a general HTTP fetch. It stops short of naming how it differs from the overlapping sibling security_headers_ssl_check, which also reports security headers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated ('Follow a URL hop by hop' for diagnosing redirect chains), and there are no explicit when-not conditions or named alternatives among the many siblings. The access/pricing tiers (5 calls/day free, API key, x402 per-call) do tell the agent practical constraints on when it can be called, which is more than nothing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources