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 €9/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. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the supplied readOnly/openWorld/idempotent annotations, the description discloses latency ('Live, ~1 s'), a hard rate limit (5 calls/day per IP), two authentication paths (X-API-Key header or x402 micropayment), and pricing. These are exactly the operational facts an agent needs to decide whether calling will succeed and how to authenticate. It also signals the tool is live against the open web, consistent with openWorldHint.

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?

The core capability is front-loaded in the first clause, followed by output enumeration, then latency, then access/pricing. It is a dense run-on that packs a lot into one long sentence, and the pricing URLs are lengthy, but nearly every clause carries decision-relevant information. Minor tightening of the pricing block would make it cleaner.

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?

For a one-parameter, no-output-schema tool, the description fully compensates by enumerating return content: hop-by-hop redirects, statuses, Location, timing, server, final URL, all headers, security headers, and detected issues. Authentication and quota are also covered, which is what an agent needs before invoking. Nothing material is missing for correct invocation.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains that it accepts a URL or domain with an example. The description's phrase 'Follow a URL hop by hop' restates the input's role but adds no format, normalization, or validation detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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' — and enumerates the concrete outputs (per-hop status 301/302/307/308, Location, response time, server, final URL/status, headers, security headers, plain-English issues). An agent can distinguish this from a diagnostic like security_headers_ssl_check because redirect-chain traversal and hop-by-hop status are named explicitly. It stops short of naming a sibling outright, so it is clear but not fully differentiated.

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 by the output list: this is the tool to call when you need the redirect path and final destination of a URL. There is no explicit when-not-to-use guidance and no named alternative for overlapping cases such as a pure security-header or SSL audit. The access tiers (free 5/day, API key, x402) are purchasing context rather than selection guidance.

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