Skip to main content
Glama

trace_redirects

Read-only

Trace a URL's redirect chain hop by hop (up to 10 hops, 8 s each) with status, location, timing and scheme per hop. Flags chains over two redirects, loops, HTTPS-to-HTTP downgrades, 302s used for www or https canonicalisation, dropped paths or query strings, cross-domain moves, meta-refresh or JS redirects on a 200, and a final page that is not 200.

Input Schema

NameRequiredDescriptionDefault
urlYesURL to trace, e.g. http://example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered; the description goes well beyond by disclosing the hop cap (10), per-hop timeout (8s), the exact fields returned per hop (status, location, timing, scheme), and every anomaly it detects. It stops short of stating failure/timeout behavior for the trace itself, which keeps it from a 5.

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?

A single front-loaded sentence that leads with the action and adds the hop/time limits before the flag list. It is dense and long, but each clause (limits, per-hop fields, detected anomalies) carries distinct information; only the flag enumeration risks becoming a run-on.

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 read-only, open-world network tool with a trivial one-parameter schema and no output schema, the description supplies enough: what it walks, its limits, and the per-hop payload fields. It does not cover behavior on unreachable hosts or timeout exhaustion, a minor residual gap.

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 only one parameter and schema description coverage is 100% ('URL to trace, e.g. http://example.com'), so the schema already carries the semantics. The description adds contextual constraints about how the URL is probed but nothing about the url parameter's accepted forms, so the baseline 3 is right.

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?

Names a specific verb and resource ('Trace a URL's redirect chain hop by hop') and immediately scopes it with limits (10 hops, 8s each) and per-hop fields. It is unmistakably distinct from every sibling (check_headers, check_sitemap, check_tells, etc.), none of which trace redirect chains.

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 enumerated flags (loops, HTTPS-to-HTTP downgrades, 302 canonicalisation, dropped paths/query, cross-domain moves, meta-refresh/JS on 200, non-200 final page) imply the use case: auditing redirect hygiene. However, there is no explicit when-to-use statement, no exclusions, and no reference to an alternative tool for related diagnostics.

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