Skip to main content
Glama

Diagnose HTTP delivery, redirects, cache and edge challenges

diagnose_http_delivery
Read-onlyIdempotent

V01: bounded single public HTTP GET (up to three same-origin redirects) or up to four already-supplied HTTP response hops. Identifies 403, 429, 5xx, incomplete redirects, cache-state flags, Retry-After, and cf-mitigated challenge evidence. No response body, scripts, cookies, authenticated browser, Googlebot identity verification, historical monitoring or raw header/URL-token output.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "diagnose_http_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOne authorized public query-free HTTP(S) URL to probe once (GET).
observationsNoOne to four already-observed ordered response hops instead of making an HTTP request.

Output Schema

NameRequiredDescriptionDefault
hopsYes
errorNo
scopeYes
findingsYes
overviewYes
limitationsYes
hops_observedYes
total_findingsYes
errors_observedYes
coverage_limitedYes
final_http_statusNo
findings_truncatedYes
redirects_observedYes
challenges_observedYes
redirect_chain_completeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety profile is covered. The description adds useful bounds beyond that — max three same-origin redirects, one probe, no body returned, no authenticated browser — but says nothing about rate limits, error behavior on unreachable hosts, or what the two input modes do differently in output. Solid but not rich.

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 dense sentences: the first front-loads the two operating modes and the signals detected, the second lists out-of-scope capabilities. Almost no filler, though the 'V01:' prefix and jargon like 'cf-mitigated' assume prior knowledge.

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?

An output schema exists, so return-value detail is unnecessary, and the description names the diagnostic signals an agent would want. For a two-mode tool it covers the essentials; a line on behavior when neither 'url' nor 'observations' is supplied (no required params) would close the last gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description earns an extra point by clarifying the mutual-exclusivity the schema does not encode: 'url' is probed once via GET, whereas 'observations' supplies one to four already-observed hops 'instead of making an HTTP request.' With zero required parameters, that disambiguation is the main thing an agent needs and the description supplies it.

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?

States a specific verb and resource with tight scope: 'bounded single public HTTP GET (up to three same-origin redirects) or up to four already-supplied HTTP response hops,' plus the signal classes it detects (403, 429, 5xx, cache-state flags, Retry-After, cf-mitigated challenges). It distinguishes itself by scope constraints (single, bounded, public, body-less) rather than by naming siblings such as review_http_directives or review_redirect_canonical_chains.

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?

The exclusion sentence ('No response body, scripts, cookies, authenticated browser, Googlebot identity verification, historical monitoring or raw header/URL-token output') effectively tells an agent when NOT to pick this tool. It does not name an alternative tool for those excluded cases, so routing to siblings like review_crawler_access or compare_historical_audits is left to 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.