Skip to main content
Glama

Trace a URL's redirects

check_redirects
Read-onlyIdempotent

Trace where a URL redirects, hop by hop: each hop's status code (301, 302, 303, 307, 308) and address, up to 10 hops, then where it ends (a page, an error or nothing) — with checks on the chain's length, loops, http:// to https://, permanent versus temporary redirects and a move to another site, each pass / improve / fix with how to fix it. It asks each address once as our crawler (MakerRadarBot), never reads a page's body, and stores nothing. at most 20 checks an hour per network and 30 an hour per site checked.

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_redirects"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe public page to check (https://…). A bare host means its homepage.

Output Schema

NameRequiredDescriptionDefault
urlNo
hostNo
toolYesThe tool's slug (its page is /tools/<slug>).
factsNoWhat was read, as labelled rows. From the site or a registry: unverified.
scoreNo0–100 over the checks.
checksNoFails first. `fix` is the one action to take; null on a pass.
readAtNoUnix seconds.
sourceNoWhere the facts came from.
listingYesWhether the site is listed on the directory: its page when it is (and claimUrl while nobody has proven they own it), where to list it when not.
toolUrlYesThe same check as a page on the site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Goes well past the annotations: discloses crawler identity (MakerRadarBot), single-request-per-address behaviour, that page bodies are never read, that nothing is stored, the 10-hop cap, and concrete rate limits (20/hour per network, 30/hour per site). This is exactly the behavioral context the readOnly/idempotent hints cannot convey.

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?

Front-loaded with the core action and information-dense throughout with no filler. However, it is one long run-on sentence stitched with em dashes and a lowercase fragment ('at most 20 checks an hour…'), which makes the constraints harder to parse than they need to be.

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?

With an output schema present, the description needn't explain return values, and it still covers hops, terminal outcomes, limits, and crawler behaviour. Only minor gaps remain, such as what happens with a private or unreachable URL, which the description never addresses.

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?

Only one parameter and the schema already documents it at 100% coverage, including that a bare host means its homepage. The description adds no additional input semantics such as URL format edge cases or how non-public/invalid URLs are treated, so it sits at the baseline for a fully-covered schema.

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?

States a specific verb and resource — 'Trace where a URL redirects, hop by hop' — and details exactly what is returned (status codes, addresses, terminal destination). It is unmistakably not check_links, check_tls or check_site_security, though it never names a sibling to route against explicitly.

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?

The use case (following a redirect chain and diagnosing it) is implied clearly by the description, and the schema hint 'The public page to check' frames the input. There is no explicit when-to-use/when-not guidance and no pointer to an alternative tool for related link or page checks.

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