Skip to main content
Glama

fritz_diagnose

Read-only

Diagnose why a host can or cannot be reached: check recognition, activity, address, mesh link and signal, name resolution, and TCP port states, or verify router address, TR-064, web UI, and cert.

Instructions

Diagnoses why a host can or cannot be reached: whether the device knows it, whether it is active, its address, its link with mesh node and signal, whether its name resolves to that address, and whether the given TCP ports are open, closed or filtered. Returns checks that each pass, fail with a hint, or are skipped. Probes the ports from this machine, and only on private addresses. With host router, checks the device itself: private address, TR-064 over HTTPS and HTTP, web interface and certificate. For name resolution alone use fritz_dns; for the setup of fritz, fritz_doctor.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "host": "<host>"
    },
    "name": "fritz_diagnose"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesA host the device knows, by name, MAC or IPv4 address, or `router` for the device itself.
portsNoTCP ports to probe on the host, at most 8. Only on private addresses, not with `router`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 already declare readOnlyHint=true and openWorldHint=false, so the safety profile is known. The description adds real behavioral detail beyond them: ports are probed from this machine, only on private addresses, never with `router`, and results come back as checks that pass, fail with a hint, or are skipped. It does not discuss timeouts or how long probing takes, keeping it short of a 5.

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?

Purpose, checks, return shape, constraints, and alternatives arrive in a logical order with no filler sentences. The opening sentence is somewhat long with multiple clauses, but every clause carries information an agent needs.

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?

With only two parameters, full schema coverage, and no output schema, the definition supplies everything else an agent needs: what is checked, what a result looks like, where probing happens, and which siblings to prefer for narrower tasks.

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. The description still adds meaning: it clarifies the accepted host forms in context (name, MAC, IPv4, or `router` for the device itself) and gives outcome semantics for `ports` (open, closed, or filtered) that the schema's integer array does not convey.

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 opens with a specific verb and outcome ("Diagnoses why a host can or cannot be reached") and then enumerates exactly which checks it runs: device knowledge, activity, address, mesh link and signal, name resolution, and TCP port state. That level of specificity separates it cleanly from siblings like fritz_dns and fritz_ports without needing their schemas.

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?

It gives explicit routing guidance: "For name resolution alone use fritz_dns; for the setup of fritz, fritz_doctor," naming the alternative and the condition that selects it. It also states the scoping constraints (probes only from this machine and only on private addresses) and the `router` special case, which bounds when the tool applies.

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