Skip to main content
Glama

FernTool Network Tools

check_cgnat

Am I behind CGNAT? Give the router WAN/Internet IP (and optionally the public IP websites see). Returns behind_cgnat (yes / likely / no / unknown / not_applicable), the WAN address type and range, and a plain-language answer with next steps. 100.64.0.0/10 = CGNAT; a private WAN IP = CGNAT or a second router; WAN equal to public IP = no CGNAT.

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": {
      "wan_ip": "<wan_ip>"
    },
    "name": "check_cgnat"
  }
}

Input Schema

NameRequiredDescriptionDefault
wan_ipYesRouter WAN / Internet IPv4 address, e.g. 100.64.12.5
public_ipNoOptional: the public IP the user sees on a what-is-my-IP site. Do not use the agent's own IP.

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 present, the description carries the full burden and largely succeeds: it names the return fields, enumerates the possible verdicts (yes / likely / no / unknown / not_applicable), and discloses the classification rules that drive the result. It never states the operation is read-only or side-effect free, and gives no hint about latency or failures, which keeps 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the user-facing question, followed by the expected inputs, the returned fields, and the classification rules, with no filler sentences. Every clause either specifies an input or a decision rule.

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?

With no output schema and no annotations, the description does the necessary work by describing return values and verdict semantics. The remaining gap is minor: it does not explain when 'unknown' or 'not_applicable' is produced versus 'likely', which would help an agent interpret edge-case results.

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 already 100%, but the description adds real meaning by explaining how the two inputs interact (WAN equal to public IP means no CGNAT; private WAN means CGNAT or a second router). That relational logic is not derivable from the schema alone, which lifts it above the baseline 3.

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 specific diagnostic question ('Am I behind CGNAT?') and a concrete input requirement, so the tool's purpose and scope are unmistakable. It does not explicitly distinguish itself from nearby diagnostics like get_my_ip, lookup_ip or check_dns_propagation, so sibling differentiation is left implicit.

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?

It tells the agent exactly which IPs to supply (router WAN, optionally the public IP the user sees), which implies the correct usage context. However, it gives no explicit when-to-use/when-not guidance or points to an alternative tool, so an agent must infer the routing decision.

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