Skip to main content
Glama

explain_connectivity

Determines why a source IP can or cannot reach a destination IP by tracing the network path and returning a readable hop list for troubleshooting.

Instructions

Explain why source_ip can or cannot reach dest_ip.

Simplified IP-based interface that returns a human-readable hop list.

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": {
      "source_ip": "<source_ip>",
      "dest_ip": "<dest_ip>"
    },
    "name": "explain_connectivity"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNo
dest_ipYes
protocolNotcp
source_ipYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It implies a read-only explanation and discloses that output is a human-readable hop list, but says nothing about whether it performs an active probe or a simulation, expected latency, timeouts, or any authorization requirement for inspecting network paths.

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?

Two short sentences, front-loaded with the core question the tool answers, and the second sentence adds real information about the interface style and output shape. No filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 values need not be described. However, for a network-reachability tool with four undocumented parameters and no annotations, the definition omits the port/protocol semantics and any indication of probing behavior or limits, leaving too much for the agent to guess.

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

Parameters2/5

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

Schema description coverage is 0% for four parameters, so the description must compensate and does not. It names source_ip and dest_ip but never mentions port (default 443) or protocol (default tcp), meaning an agent would not know that by default only TCP/443 reachability is evaluated.

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: it explains whether source_ip can reach dest_ip, and adds that it is a simplified IP-based interface returning a human-readable hop list. That clearly separates it from a raw path-tracing or flow-log tool, though it never names the more detailed sibling (e.g., run_reachability_analysis) it is a simplification of.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The word 'Simplified' hints that this is the low-friction variant, but there is no explicit when-to-use or when-not-to-use guidance, no mention of alternatives such as run_reachability_analysis or describe_path, and no stated prerequisites. The agent must infer selection from the phrase 'IP-based interface' alone.

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