Skip to main content
Glama
tailnet-agent-mcp
by MC-intel

ping_device

Read-only

Checks Tailscale connectivity to a device even when ICMP is blocked, reporting whether traffic is direct or relayed via DERP plus latency.

Instructions

Tailscale-level ping (works even if the device firewalls ICMP). Shows whether the path is direct or via a DERP relay and the latency.

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": {
      "device": "<device>"
    },
    "name": "ping_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
deviceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile and network-touching nature are covered. The description adds genuinely useful behavior — it bypasses ICMP firewalling and reports direct-vs-DERP path plus latency — but says nothing about permissions required, timeout/failure behavior, or how long the probe may take. Credit for the ICMP and relay-path disclosure, but the network-failure semantics are left unstated.

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 tight sentences: the operation and its key differentiator come first, followed by what the result communicates. No filler, no restating of the tool name, and nothing that could be cut without losing information.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read-only probe, the description plus annotations plus output schema cover what is needed: what it does, that it is safe/non-destructive, that it is network-facing, and what the call reveals. The remaining gap (parameter meanings) is minor and partly mitigated by obvious param titles and a default.

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 description coverage is 0% and the description does not mention 'device' or 'count' at all, so it fails to compensate for the documentation gap. However, with only two params whose titles and a sensible default are self-explanatory and an output schema covering return values, this is not severe.

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 ('ping' a 'device') and qualifies it as 'Tailscale-level ping', which distinguishes it from a raw ICMP or port probe. It does not explicitly name a sibling to contrast with (e.g., check_ports, http_probe), but the qualifying adjective does enough to make the intended operation unmistakable.

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 mention of path type and latency tells an agent what it can learn, so a connectivity/latency diagnosis scenario is inferable. There is no explicit when-to-use vs. when-not statement, no mention of an alternative such as check_ports or http_probe, and no prerequisites (Tailscale auth, device being in the tailnet) are stated.

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