Skip to main content
Glama

freebox_add_port_forwarding

Add a Freebox port forwarding rule to map WAN ports to a local IP and port over TCP or UDP, enabling external access to LAN services.

Instructions

Ajoute une règle de redirection de port.

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": {
      "lan_ip": "<lan_ip>",
      "lan_port": "<lan_port>",
      "wan_port_start": "<wan_port_start>",
      "wan_port_end": "<wan_port_end>",
      "ip_proto": "<ip_proto>",
      "comment": "<comment>"
    },
    "name": "freebox_add_port_forwarding"
  }
}

Input Schema

NameRequiredDescriptionDefault
lan_ipYesAdresse IP locale de destination
commentYesCommentaire descriptif
enabledNoActiver la règle immédiatement
ip_protoYesProtocole
lan_portYesPort local de destination
wan_port_endYesPort WAN de fin
wan_port_startYesPort WAN de début

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

C2.8/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 discloses almost nothing. It does not say whether the rule is active immediately (despite an 'enabled' parameter), what happens on conflicting port ranges, whether the call is irreversible, or what failures look like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

A single short sentence with zero waste, but it is terse to the point of under-specification rather than efficient. There is no structure, front-loaded detail, or secondary information to orient the agent.

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 seven-parameter mutation tool with no annotations and no output schema, one sentence is not enough. Missing authorization requirements, immediate-apply behavior, and conflict handling leave an agent unable to predict the consequences of calling 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 description coverage is 100% and every parameter has a French description, so the schema already documents all seven fields. The description adds no extra semantics about port-range rules (wan_port_start/wan_port_end) or protocol choice, so 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 states a specific verb and resource ('Ajoute une règle de redirection de port'), so an agent can tell it creates a NAT port-forwarding rule. It does not distinguish itself from siblings such as freebox_update_port_forwarding or freebox_get_port_forwarding, but the name plus this sentence is unambiguous.

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 when-to-use guidance, no prerequisites, and no mention of alternatives. Nothing tells an agent whether to call this versus updating an existing rule, nor that the Freebox API typically requires prior authorization before mutating calls succeed.

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