Skip to main content
Glama

check_redirects

Read-onlyIdempotent

Follow the redirect chain of a public URL (up to 10 hops): status, Location, timing, HTTP-to-HTTPS moves, loops and temporary-vs-permanent flags.

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
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld behavior, so the safety profile is covered. The description adds genuine context beyond that: a hard cap of 10 hops, loop detection, and the exact facets reported per hop. It stops short of explaining request method, handling of non-redirecting URLs, or failure modes.

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?

One dense sentence with the action and scope front-loaded and the returned facets compactly listed. No filler, though the parenthetical hop limit interrupts the otherwise clean flow.

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 no output schema, the description earns its place by enumerating the per-hop data returned. For a one-parameter read-only tool this is close to complete; only edge-case behavior (non-redirecting URLs, unreachable hosts, auth walls) is left unstated.

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 one required parameter with 0% schema description coverage, so the description carries the burden. It contributes the meaningful constraint that the URL must be public, but says nothing about accepted formats (scheme required, trailing slash, ports, query strings), leaving part of the single parameter underspecified.

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 names a specific verb and resource ('Follow the redirect chain of a public URL') and enumerates what the trace surfaces (status, Location, timing, HTTPS moves, loops, permanent-vs-temporary). That clearly separates it from siblings like inspect_headers or check_core_web_vitals, though it never explicitly contrasts with them.

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 only implied: an agent infers this is the tool for tracing redirects when a URL's redirect behavior is in question. The phrase 'public URL' gives one implicit exclusion (internal/non-public hosts), but there is no stated when-not guidance or named alternative for related 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.