Skip to main content
Glama

Diagnose connectivity

network_diagnose
Read-only

Diagnose how a URL is reached step by step through domain policy, DNS, TCP/proxy, TLS, and HTTP using the configured proxy and CA.

Instructions

Step-by-step check of how a URL is reached from this machine: domain policy → DNS → TCP/proxy → TLS → HTTP, using the configured proxy and CA.

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

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the description's value is in the mechanics it adds: the ordered pipeline of checks and the fact that it uses the configured proxy and CA, meaning results depend on local environment config rather than raw internet conditions. It does not mention runtime/duration or whether it actively connects versus passively resolves, which would have pushed this higher.

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?

One sentence, front-loaded with the action, then the check sequence rendered with arrows for compactness. No filler, no repetition of the title, and the 'configured proxy and CA' qualifier sits at the end where it reads as a scoping note.

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?

There is no output schema, so the description must carry the burden of telling the agent what comes back; the layer list gestures at per-stage results but never states the return shape (per-stage pass/fail, timings, error text) or how long a diagnosis may take. For a diagnostic tool the annotation set is thin, and this gap is the main weakness.

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 exactly one parameter and schema description coverage is 0%, so the schema itself carries no meaning for 'url'. The description only implies a URL is accepted in the form that can be reached 'from this machine', without stating whether a scheme is required, whether bare hostnames work, or whether redirects are followed. For a single obvious parameter this is adequate but adds little.

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 ('step-by-step check') and a precise subject ('how a URL is reached from this machine'), then enumerates the exact layers examined (domain policy, DNS, TCP/proxy, TLS, HTTP). This distinguishes it from the browser_* siblings, which inspect an already-loaded page rather than machine-level reachability, though it never names a sibling explicitly.

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 only implied: the framing 'how a URL is reached from this machine' suggests troubleshooting connectivity failures, but there is no explicit when-to-use, when-not-to-use, or pointer to an alternative such as browser_network_details for inspecting a page's requests. An agent must infer that this is the pre-browser diagnostic step.

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