Skip to main content
Glama

list_hosts

Read-only

Retrieve known FRITZ!Box devices via TR-064 with name, IP, MAC address, active status and connection type; optionally filter to active hosts only.

Instructions

[Stufe: read] Bekannte Hosts laut TR-064 (Hosts): Name, IP, MAC, aktiv, Anschlussart.

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_hosts"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxNoName der FRITZ!Box bei Mehrbox-Betrieb (Standard: erste Box, siehe server_status)
only_activeNoNur aktive Geräte

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.2/5.0
Behavior3/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 "[Stufe: read]" merely repeats structured data. The description does add the provenance (TR-064 Hosts call rather than DHCP leases or mesh data) and the returned fields, which is modest value beyond annotations and partially already covered by the existing output schema.

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?

A single compact sentence, front-loaded with the read marker and the data source. Only the bracket tag is arguably wasted, since it duplicates the readOnly annotation.

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 simple two-parameter, zero-required read tool with full schema coverage, an output schema and complete annotations, the description supplies the essential missing context: which backend it queries and what the records contain. Only the sibling differentiation is absent.

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%; both parameters (box, only_active) are documented in the schema with defaults and semantics. The description says nothing about either parameter, so the 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?

"Bekannte Hosts laut TR-064 (Hosts)" names a specific resource and data source, and the field list (Name, IP, MAC, aktiv, Anschlussart) tells the agent what a result row looks like. It does not explicitly distinguish itself from the nearby list_landevices, which is the most plausible source of confusion.

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

Usage Guidelines2/5

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

The "[Stufe: read]" tag and the TR-064 Hosts qualifier imply a read-only lookup of known hosts, but there is no statement of when to prefer this over list_landevices or other listing siblings. The agent must infer the boundary itself.

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