Skip to main content
Glama

Beggar Bot

trace_redirects

Trace a public URL's redirect chain (≤10 hops, SSRF-checked) and grade the final response's security headers A–F. Paid: $0.02 USDC via x402.

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

Input Schema

NameRequiredDescriptionDefault
urlYespublic http(s) URL
max_hopsNo1-10

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full disclosure burden and does well: it reveals the hop cap (≤10), that SSRF protection is applied to the target, and that invocation is metered at $0.02 USDC via x402 — cost disclosure is the kind of context annotations would never supply. It stops short of describing timeout behavior, what happens on redirect loops, or the shape of the returned chain, 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.

Conciseness5/5

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

Two sentences, zero filler, with the core capability front-loaded and the safety constraint, hop cap, and price packed into parenthetical and trailing clauses. Nothing could be removed without losing information.

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 two-parameter tool with no output schema, the description is nearly sufficient: it covers what is traced, the safety posture, the hop ceiling, and the payment model. The main gap is that with no output schema present, the agent gets no sense of the response structure — whether the full chain of URLs and status codes is returned alongside the letter grade.

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 coverage is 100%, so both `url` and `max_hops` are already documented in the input schema; the baseline of 3 applies. The description's "≤10 hops" corroborates the `max_hops` bound but adds nothing new, and it does not clarify the default hop count or why `max_hops` is typed as a string rather than a number.

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?

The description states a specific verb ("Trace") applied to a specific resource ("a public URL's redirect chain") and names a second concrete output ("grade the final response's security headers A–F"). No sibling tool in the list does redirect tracing or header grading, so an agent can identify this capability immediately.

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 implied by the described capability — you call this when you need to follow a redirect chain or score security headers — and the word "public" signals that non-public targets are out of scope. However, the description names no alternative sibling tool and states no explicit when-not condition, so routing guidance rests on inference.

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.