Skip to main content
Glama

check_connection

Read-onlyIdempotent

Measures connection quality with repeated pings to router, DNS, internet, or a target, reporting delay, jitter, lost replies, and where trouble lies; optionally traces route hop by hop.

Instructions

Measures the connection's quality, in the manner of PingPlotter: a ping a second for a few seconds to the router, the DNS server, the internet and optionally an address (a game's server: list_connections shows the program's busiest endpoint), with delay, jitter and lost replies, and in words where any trouble lies (between the PC and the router, past the router, or only on the way to the server). With route, the route traced hop by hop. Sends ICMP echo requests only; IPv4.

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

Input Schema

NameRequiredDescriptionDefault
routeNoAlso trace the route to the address (or to the internet when none is given), hop by hop.
addressNoAlso ping this IPv4 address (a game's server, a host).
secondsNoHow long to ping, seconds (5 to 60, default 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, and the description adds real constraints beyond them: ICMP echo only, IPv4 only, a ping-per-second sampling cadence, and bounded duration. It does not say what happens when ICMP is blocked or how long a call with route tracing actually takes, which would have pushed this to 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.

Conciseness4/5

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

It is a single information-dense sentence with no filler, and the core purpose is front-loaded before the optional behaviors. Readability suffers from nested parentheticals ('a game's server: list_connections shows...'), which makes the sentence a run-on, but nothing is wasted.

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?

With no output schema, the description carries the burden of describing results and does so well: delay, jitter, lost replies, plus a plain-language verdict on where the problem lies. The main omission is operational cost — that a default run blocks for roughly ten seconds and up to sixty — and the ICMP-blocked failure mode.

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 all three parameters are already documented, establishing a baseline of 3. The description restates what 'route' and 'address' do rather than adding meaning, and its 'a ping a second for a few seconds' framing sits slightly awkwardly against the schema's 5-to-60 second range, adding no syntax or format detail.

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 names a specific verb and resource ('Measures the connection's quality') and enumerates exactly what is measured: delay, jitter, lost replies to router, DNS server, internet, and optionally a given address. The PingPlotter reference and the 'in words where any trouble lies' clause make it distinguishable from data-volume siblings like get_network_usage.

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 rather than stated: 'optionally an address (a game's server: list_connections shows the program's busiest endpoint)' points to a sibling for sourcing the address, and 'with route' signals an optional mode. There is no explicit when-to-use/when-not-to-use versus alternatives such as benchmark_dns or get_network_usage, leaving the agent to infer the diagnostic context.

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