Skip to main content
Glama

devices_cleanup_report

Read-only

Generates a read-only cleanup report for FRITZ!Box devices, flagging deletion candidates and rename suggestions with reasons.

Instructions

[Stufe: read] Aufräum-Assistent (nur lesend): Löschkandidaten (Zufalls-MACs, lange offline, ohne MAC, Namens-Duplikate mit Zufalls-MAC, verwaiste feste IPs; gleiche IP nur als Hinweis, Hersteller-MACs nur bei bekanntem 'zuletzt online' ab der Grenze) und Umbenennungsvorschläge (Hersteller per MAC/IEEE-OUI, Schema Typ-Raum bzw. Hersteller-Modell, nur A–Z a–z 0–9 -), jeweils mit Begründung. Nie vorgeschlagen: Box, geschützte und aktive Geräte, VPN-Gegenstellen (IP im entfernten Netz einer VPN-Verbindung), AVM-Geräte/Mesh-Knoten (auch lokal administrierte AVM-MACs, keine Umbenennung); Einträge ohne MAC nur offline und ohne VPN-Bezug.

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

Input Schema

NameRequiredDescriptionDefault
boxNoName der FRITZ!Box bei Mehrbox-Betrieb (Standard: erste Box, siehe server_status)
offline_daysNoAb so vielen Tagen offline Löschkandidat (nur wenn die Box 'zuletzt online' liefert)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/destructiveHint=false, and the description goes well beyond that by disclosing the full decision logic: which device classes are never proposed (Box, protected, active, VPN counterparts, AVM devices/mesh nodes, locally administered AVM MACs), that IP duplicates are advisory only, and that vendor MACs require a known last-online beyond the threshold. This is exactly the domain behavior an agent needs before trusting or acting on the report.

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?

The read-only tag and purpose are front-loaded, and nearly every clause carries real rule content, but the whole definition is one run-on sentence with deeply nested parentheses, which makes the exclusion list hard to parse. Splitting candidates, rename rules, and exclusions into separate sentences or bullets would preserve the content with far better scannability.

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 an output schema present, return values need no explanation, and the description fully covers the classification and exclusion rules that drive them. The only shortfall is scope relative to the many sibling reports – nothing tells the agent when this report is the right one versus e.g. devices_change_counter.

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%, and the schema already explains both `box` (multi-box selection, default first box) and `offline_days` (threshold only applies when the box reports last-online). The description's phrases 'ab der Grenze' and 'nur bei bekanntem zuletzt online' restate rather than extend that, so the baseline of 3 applies.

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 concrete artifact (a read-only cleanup report) and enumerates exactly what it returns: deletion candidates by category (random MACs, long offline, no MAC, name duplicates, orphaned static IPs) plus rename suggestions with reasons. An agent can distinguish this from list/detail siblings like avm_device_detail or devices_change_counter without opening the schema.

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 by 'Aufräum-Assistent (nur lesend)' – it is the tool for deciding what to delete or rename – but there is no explicit 'use this when…, use X instead' routing against any sibling. The exclusions listed ('Nie vorgeschlagen: Box, geschützte und aktive Geräte…') constrain the output rather than tell the agent when to pick this tool over alternatives.

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