Skip to main content
Glama

Diagnose a WiFi or wired client

diagnose_client
Read-onlyIdempotent

Correlate live client and parent device telemetry with dated sessions and logs to diagnose connectivity issues over a configurable history window.

Instructions

Correlate live client and parent device telemetry with dated sessions and logs.

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": {
      "mac": "<mac>"
    },
    "name": "diagnose_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
macYes
siteNo
hoursNoConnection history and log window in hours…

Output Schema

NameRequiredDescriptionDefault
clientYes
coverageYes
findingsYes
warningsYes
nextStepsYes
recentLogsYes
timeWindowYes
requestLimitYes
roamingSummaryYes
pastConnectionsYes
controllerRequestsYes
infrastructureLogsYes
telemetryAvailabilityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv2.5.2
    • addedInput schema / properties / hours / description
      Added value: +"Connection history and log window in hours…"
    • addedOutput schema / properties / controllerRequests
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / coverage
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / infrastructureLogs
      Added value: +{
      +  "type": "array"
      +}
    • addedOutput schema / properties / requestLimit
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / timeWindow
      Added value: +{
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "client",
      -  "pastConnections",
      -  "recentLogs",
      -  "roamingSummary",
      -  "telemetryAvailability",
      -  "findings",
      -  "nextSteps",
      -  "warnings"
      -]New value: +[
      +  "client",
      +  "pastConnections",
      +  "recentLogs",
      +  "infrastructureLogs",
      +  "roamingSummary",
      +  "timeWindow",
      +  "coverage",
      +  "controllerRequests",
      +  "requestLimit",
      +  "telemetryAvailability",
      +  "findings",
      +  "nextSteps",
      +  "warnings"
      +]
  2. Changed4 schema fields changedv2.0.0
    • addedInput schema / properties / site
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / roamingSummary
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / telemetryAvailability
      Added value: +{
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "client",
      -  "pastConnections",
      -  "recentLogs",
      -  "findings",
      -  "nextSteps",
      -  "warnings"
      -]New value: +[
      +  "client",
      +  "pastConnections",
      +  "recentLogs",
      +  "roamingSummary",
      +  "telemetryAvailability",
      +  "findings",
      +  "nextSteps",
      +  "warnings"
      +]
  3. First observedv1.2.2

TDQS

C2.7/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 open-world behavior, so the safety profile is covered. The description adds that the tool fans out across live telemetry, historical sessions and logs — useful context implying a heavier multi-source query — but says nothing about latency, log retention limits, or what happens when the client is offline.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

A single front-loaded sentence with no filler, but it is terse to the point of under-specification for a three-parameter diagnostic tool. Nothing is wasted, yet too little is said.

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 structure need not be described, and annotations cover the safety profile. Still, for a diagnostic tool with an open-world hint and two undocumented parameters, the description leaves the agent without a clear picture of what a call yields or when it is warranted.

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 coverage is only 33%: the hours window is documented in the schema, while mac and site are bare strings. The phrase "dated sessions and logs" loosely hints that a time window applies, but neither the MAC format nor the meaning or defaulting of site is clarified in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Correlate live client and parent device telemetry with dated sessions and logs" describes an activity but never says it produces a diagnosis, nor ties to a specific client identifier; the title carries most of the meaning. It is distinguishable from a plain get_client only by inference about correlation.

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?

No when-to-use guidance at all: nothing says whether to reach for this instead of get_client or list_clients, or what preconditions (a known MAC, a site) make it appropriate. Sibling names in context do not substitute for guidance the description omits.

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