Skip to main content
Glama

connection_failures

Read-onlyIdempotent

Summarizes wireless connection failures by step, SSID, VLAN, top access points, distinct clients, and hourly counts over a custom look-back window.

Instructions

Summarize wireless connection failures: which step, which SSID, which AP, when.

Reads the failed-connection log server-side and returns only aggregates (a day at a busy site is thousands of rows): totals per step (assoc / auth / dhcp / dns) from the connection stats, then from the separate failed-connection log: per failure type, per SSID and VLAN, the top access points by failures with their dominant step, the number of distinct clients, and failures per hour in the network's time zone.

Args: network: Network name or ID; may be omitted when only one is in scope. hours: Look-back window, 1-168 (default 24). top: How many access points to list (1-50, default 10).

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

Input Schema

NameRequiredDescriptionDefault
topNo
hoursNo
networkNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, so safety is covered; the description adds substantial context beyond that, disclosing that the log is read server-side, that output is aggregates only, the exact breakdowns produced, and that hourly buckets use the network's time zone. It does not mention permissions, cost/latency, or handling of empty results, which keeps it short of 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?

The one-line summary is front-loaded and the API-style Args block makes scanning easy. Some redundancy exists between the prose breakdown list and the Args block, but the extra length carries real information rather than filler.

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?

An output schema exists, yet the description still orients the agent to the aggregate shape and grouping dimensions, and it covers the scoping caveat for network plus the ranges and defaults for every optional parameter. For a three-parameter read-only aggregation tool, nothing an agent needs to call it correctly is missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry all parameter meaning, and it does: network is name or ID and optional when only one is in scope, hours is a look-back bounded 1-168 with default 24, top bounds the AP list 1-50 with default 10. This fully compensates for the empty schema documentation.

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?

Names a specific verb ('summarize') and resource ('wireless connection failures') and enumerates the dimensions returned (step, SSID, AP, time), so the aggregate nature of the tool is unambiguous. It does not explicitly contrast itself with adjacent siblings such as list_events or wireless_quality, so the differentiation is left to inference.

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 parenthetical that 'a day at a busy site is thousands of rows' implies this is the right choice when aggregate rollups are wanted rather than raw log rows, but that selection logic is never stated. No explicit when-not-to-use or named alternative is given.

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