Skip to main content
Glama

500Toolbox

Redirect Chain Tracer

redirect-chain
Read-onlyIdempotent

Walks a URL's redirect chain one hop at a time and reports the status code and destination of each. Use it to find redirect loops, unnecessary hops costing you crawl budget, or an HTTPS upgrade that silently drops the path. Costs 2 credits per call.

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": "redirect-chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute URL to start from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world, and non-destructive behavior. The description adds useful context beyond that by disclosing the per-call cost and explaining that the output reports the status code and destination of each hop, though it does not mention limits such as maximum chain depth.

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

Conciseness5/5

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

Three tightly written sentences front-load the core behavior, follow with concrete diagnostic use cases, and end with a cost warning. Every sentence contributes information without repetition or filler.

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

Completeness4/5

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

For a simple one-parameter read-only tool with full schema coverage and annotations, the description gives enough to select and invoke it correctly. It explains the output at a high level, though it could say more about chain termination or maximum-hop behavior since no output schema exists.

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 description coverage is 100%, so the single URL parameter is already well documented as an absolute URL starting point. The description reinforces that the chain starts from a URL but adds no syntax, format, or constraint details beyond the schema.

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

Purpose5/5

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

The description states a specific verb and resource: it walks a URL's redirect chain and reports each hop's status code and destination. That makes the tool's purpose clear and distinguishable from generic HTTP or link-checking siblings without needing to name them.

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

Usage Guidelines4/5

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

It gives concrete use cases: finding redirect loops, unnecessary hops that waste crawl budget, and HTTPS upgrades that silently drop paths. It does not explicitly state when not to use it or name an alternative sibling, so it falls short of full when/when-not 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