Skip to main content
Glama

follow_redirects

Trace the full redirect chain for a URL to see each hop, status code, Location header, and duration.

Instructions

Trace the full redirect chain for a URL. Shows each hop, status code, Location header, and duration.

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": "follow_redirects"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesStarting URL
max_hopsNo
confirmedNoSet to true to confirm sending to an external URL after reviewing it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6-beta

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the return contents (per-hop status code, Location header, duration), which is real behavioral value, but it omits that the call performs live network requests, whether it is read-only/safe, and how the 'confirmed' gating requirement affects execution.

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?

Two sentences, zero filler, with the primary action front-loaded and the return shape immediately after. Nothing here needs trimming.

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

Completeness3/5

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

With no annotations and no output schema, the description does cover the response contents, but it leaves out the safety/confirmation flow that the 'confirmed' parameter implies and the fact that this triggers outbound network traffic. For a 3-parameter tool with an external-request side effect, that is a meaningful omission.

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 67%: 'url' and 'confirmed' are documented in the schema, while 'max_hops' has only default/min/max constraints and no prose. The description adds no parameter meaning at all, so it neither compensates for the gap nor contradicts the 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?

The description names a specific verb and resource: 'Trace the full redirect chain for a URL.' That is concrete enough to distinguish it from the request-building and export siblings in the catalog, though it never explicitly contrasts itself with any named alternative.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no mention of the prerequisite that an external URL must be reviewed and confirmed before the request is sent. The agent must infer the usage context entirely from the purpose sentence.

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