Skip to main content
Glama

connectivity_test

connectivity_test
Read-onlyIdempotent

Runs parallel ping checks between source devices and destination IPs to verify network connectivity in Packet Tracer labs, supporting a full verification matrix in one request.

Instructions

Run one or multiple (parallel) connectivity ping checks via live PT CLI or topology.

Pass checks=[{"source_device": "PC-A1", "destination_ip": "10.10.20.11"}, ...] to run an entire ping verification matrix in parallel in a single round-trip.

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

Input Schema

NameRequiredDescriptionDefault
countNo
checksNo
source_deviceNo
destination_ipNo
allow_offline_estimationNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description usefully adds that checks execute through the live PT CLI/topology and that batching happens in a single parallel round-trip, but it never explains the meaningful behavioral knob `allow_offline_estimation` (what happens when devices are offline) or how failures are reported.

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 tight sentences with the primary action front-loaded and a concrete payload example that earns its space. Minor redundancy in restating 'connectivity ping checks' and 'ping verification matrix', but nothing extraneous.

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?

An output schema exists, so return values need not be described, and the batch input format is well covered. However, for a 5-parameter tool with zero schema coverage, the missing explanation of `count` and `allow_offline_estimation` (a behaviorally significant fallback) leaves the definition short of complete.

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 description coverage is 0% across 5 parameters, so the description must compensate, and it only partly does: it documents the `checks` shape via a concrete example and implies source_device/destination_ip pairing for the single-check case. `count` and `allow_offline_estimation` get no semantic explanation, leaving two parameters opaque.

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 states a specific verb and resource: run connectivity ping checks, either one or many in parallel, via the live PT CLI or topology. 'Ping verification matrix' makes the intent unmistakable and distinguishes it from status/inspection siblings, though it never names an alternative tool 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?

The example shows how to batch checks, which implies when the tool is appropriate, but there is no explicit when-to-use versus when-not, no mention of prerequisites (must devices be started/online?), and no routing to siblings like verify_lab or interface_status for related checks.

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