Skip to main content
Glama

remove_static_ip

Destructive

Removes a device's fixed IP reservation from a TP-Link router or modem, showing a preview first unless confirm is enabled.

Instructions

Remove a device's fixed IP reservation. Without confirm=true it only shows the plan.

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>"
    },
    "name": "remove_static_ip"
  }
}

Input Schema

NameRequiredDescriptionDefault
macYes
deviceNoName of a device from devices.toml (see the 'devices' command); omit for the default device.
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • addedInput schema / properties / device
      Added value: +{
      +  "default": "",
      +  "description": "Name of a device from devices.toml (see the 'devices' command); omit for the default device.",
      +  "title": "Device",
      +  "type": "string"
      +}
  2. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds genuinely new behavioral context beyond that: the default is a non-mutating preview unless confirm=true is passed. It doesn't say whether the change is reversible or what happens if no reservation exists, but the destructive gate is the critical disclosure.

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

Conciseness5/5

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

Two short sentences, zero filler, with the core action stated first and the confirm/dry-run caveat immediately after. Nothing to trim.

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 destructive, 3-parameter tool with no output schema, the definition covers the two things an agent most needs: what it destroys and how to preview it. Minor gaps remain around post-removal state and behavior when the reservation is absent, but the essential calling information is present.

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 coverage is only 33%, so the description has to carry weight. It explains the confirm flag's semantics well (plan vs. execution), and the schema itself documents the device parameter, but the required mac parameter is undocumented in both places. Baseline 3 fits given the partial compensation.

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 and resource: 'Remove a device's fixed IP reservation.' The mutation is unambiguous and the counterpart to set_static_ip is obvious from the verb alone. It does not, however, explicitly name a sibling or delimit scope (e.g., static reservations vs. DHCP reservations handled by dhcp_reservations).

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?

Gives concrete invocation guidance: 'Without confirm=true it only shows the plan,' which tells the agent to call it in dry-run mode first. It lacks explicit when-to-use/when-not criteria relative to siblings such as set_static_ip or dhcp_reservations, so it stops short of a 5.

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