Skip to main content
Glama

pt_read_nat

Reads a router's real NAT state, including translations, counters, and inside/outside interfaces, and flags NAT configurations missing either interface. Use it to verify applied NAT settings.

Instructions

Reads a router's REAL NAT state: the translation table, NAT counters (inside source lists, statics, pools) and inside/outside interfaces.

Flags a router with NAT but without both an inside and an outside interface. Use it to check a pt_apply_nat.

Parameters:

  • device: router name; empty = every router with NAT.

Example: pt_read_nat(device="R1")

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

Input Schema

NameRequiredDescriptionDefault
deviceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses what state is read and the misconfiguration it flags, but does not explicitly state that the tool is read-only, has no side effects, or requires any prerequisites. The read nature is implied by 'Reads' but not fully specified.

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 description is front-loaded and well structured: scope, flagging behavior, usage, parameter, and example. There is little wasted text, though the parameter section and example could be slightly tighter.

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 low-complexity read tool with one optional parameter and an output schema, the definition covers purpose, usage context, and parameter meaning adequately. Only explicit read-only/safety framing is missing.

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 description coverage is 0%, so the description must compensate. It explains the sole parameter as a router name and clarifies that an empty value means every router with NAT, which adds meaningful behavior beyond the schema's bare default.

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 uses a specific verb and resource: reads a router's real NAT state. It explicitly lists the data returned (translation table, counters, interfaces) and distinguishes this tool from pt_apply_nat by naming the verification use case.

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 gives a clear when-to-use case: check a pt_apply_nat. It also says the tool flags a router with NAT but missing inside/outside interfaces, which is a useful selection cue. It does not explicitly name when to choose this over other read siblings, but the context is clear.

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

Deploy Server

Other Tools