Skip to main content
Glama

FernTool Network Tools

find_router_ip

Which IP is my router (default gateway)? Give a device's private IPv4 address (and optionally its subnet mask) to get the most likely router address, other addresses to try, the network, and a plain-language answer on opening the router page. Explains CGNAT (100.64.x), public, link-local (169.254.x) and IPv6 inputs.

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": {
      "ip": "<ip>"
    },
    "name": "find_router_ip"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesThe device's private IP, e.g. 192.168.1.105
maskNoOptional subnet mask, e.g. 255.255.255.0 or /24 (default /24)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does reasonably well: it discloses the returned content (most likely router, other addresses to try, the network, a plain-language answer about opening the router page) and explains how unusual inputs are treated. It does not say whether the lookup is purely local computation, whether it makes network calls, or what the response shape is, but for a read-only derived-value tool the disclosure is solid.

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 core question is front-loaded in the first clause, and the remainder is one dense but well-ordered sentence listing inputs, outputs and edge cases. Nothing is filler, though the trailing 'Explains CGNAT ... IPv6 inputs' phrase is slightly compressed and reads more like a feature list than guidance.

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 two-parameter, read-only tool with no output schema and no annotations, the description covers what it takes, what it returns, and how exceptional inputs behave. The only material gap is the absence of tie-breaking guidance against sibling IP/subnet tools, which matters given the crowded catalog around it.

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 `ip` and `mask` are already documented with examples and the /24 default. The description only restates that the mask is optional and that a private IPv4 should be supplied, adding no format or behavior detail beyond the schema. 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?

The description opens with a concrete question ('Which IP is my router (default gateway)?') and then states the verb and resource plainly: give a private IPv4 address, get the most likely router address plus fallback candidates and the network. That is specific and unambiguous, but it never contrasts itself with adjacent siblings such as get_my_ip or subnet_calc, so the agent must infer the boundary.

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

Usage Guidelines4/5

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

It clearly states the input condition (the device's private IPv4, optionally the mask) and signals edge-case handling for CGNAT, public, link-local and IPv6 inputs, which tells the agent it is safe to pass those. It stops short of any explicit when-not-to-use or named-alternative guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources