Skip to main content
Glama

freebox_update_port_forwarding

Modify an existing Freebox port forwarding rule by ID to change its LAN IP, ports, protocol, enabled state, or comment.

Instructions

Modifie une règle de redirection de port existante.

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": {
      "id": "<id>"
    },
    "name": "freebox_update_port_forwarding"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifiant de la règle
lan_ipNoAdresse IP locale de destination (optionnel)
commentNoCommentaire descriptif (optionnel)
enabledNoActiver/désactiver la règle (optionnel)
ip_protoNoProtocole (optionnel)
lan_portNoPort local de destination (optionnel)
wan_port_endNoPort WAN de fin (optionnel)
wan_port_startNoPort WAN de début (optionnel)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it only says the rule is modified. It does not state whether omitted optional fields are left unchanged or reset (partial patch vs full replace), whether authorization is required, or whether the change takes effect immediately — critical for an 8-parameter mutation tool. 'Modifie' weakly hints at an in-place update but nothing is disambiguated.

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 short sentence with no filler, and the operation and target are front-loaded. It is not padded, though it is arguably over-terse given the tool's 8-parameter mutation surface.

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 mutation tool with 8 parameters, no annotations, and no output schema, the definition should explain update semantics (partial vs full replacement) and any preconditions. None of that is present, leaving the agent to guess behavior that structured fields do not cover.

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%, with every one of the 8 parameters documented in the schema (including the enum for ip_proto), so the baseline of 3 applies. The description adds no semantic detail beyond the schema, such as how wan_port_start/wan_port_end interact or what happens to unspecified optional fields.

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 (Modifie) and resource (règle de redirection de port existante), so the agent knows it targets an existing rule rather than creating one. It does not name siblings such as freebox_add_port_forwarding or freebox_delete_port_forwarding to reinforce the distinction, but the verb plus the word 'existante' carries the differentiation adequately.

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?

The word 'existante' implies the rule must already exist and that this is not the tool for new rules, which is useful implied guidance. There is no explicit when-to-use versus when-to-use-instead statement (e.g., pointing to the add or delete siblings), so the agent must infer the boundary from the tool name.

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