Skip to main content
Glama

Link unshortener and redirect checker

redirect_check
Read-only

Follow a link through up to 5 HTTP redirects and show each hop, the final status code, and where it really ends up. Use it to unshorten links or check them before visiting.

Instructions

Follow a link through up to 5 HTTP redirects (bit.ly, t.co, tracking links, http-to-https) and show each hop and where it really ends up, with the final status code. Use it to unshorten links or check them before visiting. Costs $0.001 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_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe link to follow, e.g. "https://bit.ly/3abc".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds meaningful behavior beyond that by disclosing the 5-hop cap, that each hop and the final status code are returned, and a per-call cost of $0.001. It does not explain what happens when a chain exceeds 5 redirects or on timeout/error, which keeps this 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.

Conciseness5/5

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

Two compact sentences plus a cost note, with the core behavior, redirect limit, and output shape front-loaded. No filler or redundant restatement of the tool name.

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 single-parameter, read-only tool with no output schema, the description covers what it does, what it returns, the redirect cap, and the price. Edge cases such as exceeding the hop limit or handling non-HTTP/meta-refresh redirects are 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 only one parameter and schema description coverage is 100%, so the schema already defines `url` with length constraints and an example. The description adds only contextual framing (shortener and tracking links) rather than new syntax or format rules, matching the baseline 3 for high schema coverage.

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 gives a specific verb and resource: follow a link through up to 5 HTTP redirects and report each hop plus the final status code. It clearly conveys scope (redirect chains, shorteners, tracking links) but does not differentiate itself from the sibling `follow`, whose name suggests overlapping behavior.

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?

"Use it to unshorten links or check them before visiting" gives a clear use context, and the shortener/tracking-link examples reinforce it. There is no explicit when-not guidance or named alternative, so the agent must infer that other URL tools are for different purposes.

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