Skip to main content
Glama

lan_ports

Read-only

Retrieve LAN port details from a FRITZ!Box, including label, function, link status, negotiated speed versus maximum rate, power mode and EEE state, to diagnose wired connections.

Instructions

[Stufe: read] LAN-Ports der Box (/api/v0/generic/eth_ports): Bezeichnung, Funktion (lan/guest/wan), verbunden, Geschwindigkeit vs. Maximalrate, Power-/Green-Mode, EEE-Modus (auto/off) und ob EEE gerade ausgehandelt ist. Hinweis: EEE wirkt auf manchen Modellen box-weit.

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

Input Schema

NameRequiredDescriptionDefault
boxNoName der FRITZ!Box bei Mehrbox-Betrieb (Standard: erste Box, siehe server_status)

Output Schema

NameRequiredDescriptionDefault
countYes
notesNo
portsYes
sourceNo
eee_uniformNo
value_mappingNo
eee_enabled_portsNo

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=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description still adds genuine behavioral context beyond that: the caveat that EEE may act box-wide on some models (a surprising side effect of reading/applying EEE state) and the underlying API path. It does not discuss permissions, rate limits, or multi-box resolution behavior.

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 stage tag and resource are front-loaded, followed by a compact enumeration of returned fields and a short caveat, with no filler sentences. The enumerated field list is dense but each item carries information; only the heavy comma-chaining slightly hurts readability.

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, the description need not explain return values, and it nonetheless names the key fields and the EEE caveat, which is the main behavioral gotcha. What is missing is any routing guidance versus other read tools and any note on multi-box semantics for the 'box' parameter, which the agent must get from the schema and server_status reference.

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 description coverage is 100% and the single optional 'box' parameter is fully documented in the schema (name of the FRITZ!Box in multi-box setups, default first box, see server_status). The description adds nothing about this parameter, so the baseline 3 applies rather than a higher score.

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?

The description names the exact resource (LAN-Ports der Box), the underlying endpoint (/api/v0/generic/eth_ports), the operation stage ([Stufe: read]), and enumerates the returned attributes (Bezeichnung, Funktion lan/guest/wan, verbunden, Geschwindigkeit vs. Maximalrate, Power-/Green-Mode, EEE). This is far more specific than a tautology, but it never distinguishes itself from sibling read tools such as get_lan_dns or boxes_overview, 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 content list implies the use case (inspecting physical LAN port link state, negotiated speed, and EEE), and the EEE note hints when the result can be surprising. However, there is no explicit when-to-use statement, no excluded scenarios, and no pointer to an alternative tool, leaving the agent to infer fitness from the field list alone.

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