Skip to main content
Glama

line_diagnostics

Read-only

Diagnose DSL, fiber, mobile, and cable connections on FRITZ!Box routers via rates, SNR, attenuation, optical levels, signal quality, and faults; return severity-rated findings and recommendations.

Instructions

[Stufe: read] Leitungsdiagnose je Anschlussart (nur lesend): DSL (Raten, SNR, Dämpfung, Fehler, Profil, SNR-Spektrum, automatischer Kabeltest mit Fehlerort), Glasfaser (optische Pegel gegen Alarmschwellen, GPON, Resyncs), Mobilfunk (Technik, RSRP-Bewertung, Zellen ohne Standortdaten, Bänder, SIM-Status), Kabel (per TR-064 unknown). Mit Befunden (Schweregrad, Ursache, Empfehlung).

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

Input Schema

NameRequiredDescriptionDefault
boxNoName der FRITZ!Box bei Mehrbox-Betrieb (Standard: erste Box, siehe server_status)
include_spectrumNoDSL: SNR je Trägergruppe mit ausgeben (≤ 512 Werte, sonst ausgedünnt)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/non-destructive, so the description does not need to argue safety; instead it adds real content: structured findings with severity, cause and recommendation, a known coverage gap ('Kabel (per TR-064 unknown)'), and an automatic cable test with fault localization that an agent should expect to be triggered. It does not say how long that test takes or whether it briefly affects the line, which is the main remaining omission.

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?

Front-loaded with the stage/read marker, then a single dense sentence organized by access type with parenthetical metric lists — every clause carries substance. The '[Stufe: read]' prefix partially duplicates readOnlyHint and the long nested parentheticals make it a heavy single sentence, but nothing is padded.

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?

For a read-only diagnostic tool with an output schema, an agent gets enough: which access types are covered, which metrics per type, that findings include severity/cause/recommendation, and one known limitation. Only the cost/latency of the automatic cable test and any precondition for it are missing.

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?

Both parameters are fully documented in the schema (100% coverage), including the default-first-box semantics and the ≤512-value spectrum truncation. The description's mention of 'SNR-Spektrum' and multi-box operation at most mirrors that, adding no syntax or format detail beyond the schema. Baseline 3 applies.

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?

Specific verb (diagnose) plus resource (line/access line) with an enumerated breakdown per access type — DSL rates/SNR/attenuation/errors/profile/spectrum/cable test, fiber optical levels/GPON/resyncs, mobile RSRP/bands/SIM, cable via TR-064. That is far more specific than a generic 'get line info' and implicitly covers ground the DSL-only sibling (dsl_info) does not. It never names a sibling, so it stops short of a 5.

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 use case is implied: run this when you need diagnostic findings per access type rather than raw values. The bracket tag '[Stufe: read]' signals a low-risk read stage, which nudges toward safe usage. But there is no explicit when-to-use/when-not statement and no routing away from a partially overlapping sibling such as dsl_info for plain DSL values.

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