Skip to main content
Glama

nat_set_dmz

Enable or disable DMZ forwarding to a specified LAN IP (192.168.1.x) on an SFR NB6VAC fibre box. Turns the DMZ host on for the given address or off entirely.

Instructions

Active/désactive la DMZ vers 192.168.1..

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
activeYes
ip_last_octetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and delivers little beyond the verb. It does not say whether enabling overwrites an existing DMZ target, what happens when ip_last_octet is omitted (default null), whether the change is reversible, or what confirmation is returned.

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 front-loaded sentence with no filler; the action and target appear immediately. It is arguably too terse for the risk profile, but there is no wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a network-mutating tool with zero annotations, 0% parameter coverage, and no output schema, the description is incomplete: the null/default case for ip_last_octet, the effect on existing DMZ configuration, and any precondition check via nat_get_dmz are all unaddressed.

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 0%, so the description must compensate, and it partially does: the '192.168.1.<ip_last_octet>' template explains what ip_last_octet means and implies the 192.168.1.0/24 subnet restriction. It says nothing about the required boolean 'active' semantics or the behavior when ip_last_octet is null.

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?

States a specific verb pair (active/désactive) and resource (DMZ) plus the target address pattern '192.168.1.<ip_last_octet>', so the agent knows this is a setter that points the DMZ at a LAN host. It does not explicitly contrast itself with the sibling nat_get_dmz, so it stops short of a 5.

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?

No indication of when to enable versus disable the DMZ, no prerequisites (e.g., checking current state with nat_get_dmz first), and no warning about the security exposure a DMZ creates. The agent must infer all usage context from the name alone.

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