Skip to main content
Glama

fritz_hosts

Read-only

List and filter hosts known to a FRITZ!Box router with IP, MAC, interface, internet access, reservation, active status, and last-seen time. Look up one device by MAC or IP for lease and mesh details.

Instructions

Lists the hosts the router knows: name, IP, MAC, interface, internet access, address source (DHCP or Static), whether the address is reserved permanently, whether active, and when it was last seen (UTC; null if the device forgot). Filters with active and search; pages with offset and limit, with total the number that match. With mac or ip, returns that one host with all details instead: lease, guest network and the mesh node it is connected to. To find out why a host cannot be reached use fritz_diagnose.

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

Input Schema

NameRequiredDescriptionDefault
ipNoThe host with this IPv4 address, with all details instead of a page. Combines only with `active`.
macNoThe host with this MAC address, like `AA:BB:CC:DD:EE:FF`, with all details instead of a page. Combines only with `active`.
limitNoHosts to return, at most 200. Default 50.
activeNoOnly hosts that are connected now.
offsetNoHosts to skip, for the next page. Default 0.
searchNoPart of the name, IP or MAC, ignoring case.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • changedInput schema / properties / offset / description
      Previous value: -"Hosts to skip."New value: +"Hosts to skip, for the next page. Default 0."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description does the heavy lifting: it discloses the returned field set, that `last seen` is UTC and null when the device is forgotten, and that `mac`/`ip` change the result shape to include lease, guest network and connected mesh node. It does not say what happens when a supplied `mac`/`ip` matches nothing (empty vs. error), which is the main remaining behavioral gap.

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?

Information is front-loaded: purpose and field inventory first, then filtering/paging, then the detail-mode switch, then the sibling pointer. Dense but nearly every clause carries new information; the long field enumeration is justified because no output schema exists, though a slightly tighter phrasing would improve scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by enumerating the returned fields and their semantics, including null handling and the richer detail payload for `mac`/`ip` lookups. Combined with full schema coverage on the six optional parameters and read-only annotations, an agent has everything needed to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning beyond the schema: it explains that `total` is the number of matching hosts (not returned hosts), that `offset`/`limit` paginate the same result set, and that supplying `mac` or `ip` switches from a page to a full-detail single record. That mode-switch semantics is not obvious from the property descriptions alone.

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?

Opens with a specific verb and resource ("Lists the hosts the router knows") and immediately enumerates the fields returned, so the agent knows exactly what it gets. It also distinguishes two distinct modes in the same tool (paged listing vs. single-host detail via `mac`/`ip`) and points to `fritz_diagnose` for a different concern, which clearly separates it from siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states the filtering options (`active`, `search`), the paging options (`offset`, `limit`, with `total` as the match count), and the condition that switches to single-host detail mode (`mac` or `ip`). It also names an alternative tool and the condition for using it: "To find out why a host cannot be reached use fritz_diagnose."

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