Skip to main content
Glama

list_port_forwards

Read-only

Lists IPv4 port forwarding rules on a FRITZ!Box, including protocol, external/internal ports, target IP/name, active state, and label; optionally returns raw web UI forward and IPv6 firewall lists.

Instructions

[Stufe: read] IPv4-Portfreigaben (TR-064 WAN-Portmapping): Protokoll, externer Port, Ziel-IP/-Name, interner Port, aktiv, Bezeichnung. Optional die Freigabe-/IPv6-Firewall-Listen der Web-UI (roh, unverifiziert).

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

Input Schema

NameRequiredDescriptionDefault
boxNoName der FRITZ!Box bei Mehrbox-Betrieb (Standard: erste Box, siehe server_status)
include_web_ui_listsNoZusätzlich /api/v0 forwardrules + ipv6firewall roh (geschwärzt, Struktur unverifiziert)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered; the description adds real context by flagging the optional Web-UI forward/IPv6 firewall lists as 'roh, unverifiziert' (raw, unverified), which warns the agent about output reliability beyond what annotations state.

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?

Two dense sentences: the first front-loads the read-level scope and returned fields, the second covers the optional raw add-on. No filler, though the bracketed tag and parenthetical abbreviations add minor density.

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 list tool with an output schema and fully described parameters, the description covers what is retrieved and the caveat about unverified raw lists; nothing critical for correct invocation is 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?

Schema coverage is 100%, so both parameters are already documented in the schema. The description reinforces the meaning of include_web_ui_lists (optional raw Web-UI lists) but adds no format or structural detail beyond the schema, 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?

States a specific action and resource ('IPv4-Portfreigaben (TR-064 WAN-Portmapping)') and enumerates the concrete fields returned (protocol, external port, destination IP/name, internal port, active, label), so an agent knows precisely what this tool yields and that it is distinct from the sibling list_* tools.

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 the '[Stufe: read]' tag and the note that Web-UI lists are only fetched 'optional', but there is no explicit when-to-use/when-not guidance or reference to an alternative tool for related data.

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