Skip to main content
Glama

freebox_add_dhcp_static_lease

Reserves a fixed IP address for a device by mapping its MAC address, creating a DHCP static lease in Freebox OS.

Instructions

Ajoute une nouvelle adresse IP fixe (DHCP statique).

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": {
      "mac": "<mac>",
      "ip": "<ip>"
    },
    "name": "freebox_add_dhcp_static_lease"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesAdresse IP à réserver (ex: 192.168.1.50)
macYesAdresse MAC de l'appareil (ex: AA:BB:CC:DD:EE:FF)
commentNoCommentaire descriptif (optionnel)
hostnameNoNom d'hôte optionnel

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only implies a write operation. It says nothing about what happens if the MAC or IP already has a lease, whether the change applies immediately, whether authentication/authorization is required, or what errors 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.

Conciseness4/5

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

A single front-loaded sentence with zero waste, correctly leading with the action and the resource. It is efficient but borders on under-specification for a mutation tool.

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 create/mutation tool with no annotations and no output schema, the definition is too thin: conflict handling, side effects on dynamic leases, and expected result are all unstated. Only the schema compensates, so an agent can call it but cannot predict outcomes.

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%, so all four parameters already carry their own descriptions and examples; the function description adds no additional meaning such as MAC format normalization or IP subnet constraints. Baseline 3 applies when the schema does the heavy lifting.

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 — adding a new fixed IP / static DHCP lease — which is unambiguous against siblings like delete, update, and get. It does not explicitly name or differentiate itself from those siblings, keeping it 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?

There is no guidance on when to use this versus freebox_update_dhcp_static_lease or freebox_get_dhcp_dynamic_leases, and no mention of prerequisites such as the device already appearing in dynamic leases. The agent must infer all of this from the tool name alone.

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