Skip to main content
Glama
mdemirn

FortiGate MCP Server

by mdemirn

delete_dhcp_reservation

Delete a FortiGate DHCP reservation by reservation ID, IP address, or MAC address. Specify the device and optional DHCP server or VDOM to target the correct entry.

Instructions

Delete a DHCP reservation identified by reservation_id, ip or mac.

Parameters:

  • device_id: Identifier of the FortiGate device

  • dhcp_server_id: Optional DHCP server ID to narrow the search

  • reservation_id: Optional reservation entry ID (see list_dhcp_servers)

  • ip: Optional reserved IPv4 address

  • mac: Optional reserved MAC address

  • vdom: Virtual Domain name (optional)

Returns:

  • Deletion status (ambiguous matches are refused)

Input Schema

NameRequiredDescriptionDefault
ipNoReserved IPv4 address
macNoReserved MAC address
vdomNoVirtual Domain
device_idYesFortiGate device identifier
dhcp_server_idNoDHCP server ID
reservation_idNoReservation entry ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full load. It does disclose a genuinely useful safety trait — ambiguous matches are refused rather than guessed — and names the return value ('Deletion status'). It says nothing about irreversibility, required permissions, or what happens to the lease when a reservation is removed, which matters for an unannotated destructive tool.

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?

The purpose is front-loaded in one sentence, and the parameter/return blocks are scannable. Much of the parameter list duplicates schema text at 100% coverage, which is mildly wasteful but keeps the description self-contained.

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

Completeness3/5

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

For a 6-parameter destructive tool with no annotations and no output schema, the description covers the essentials (target identity, ambiguity refusal, return signal). It leaves gaps on selector precedence, vdom behavior, and permission/irreversibility, so an agent could still mis-invoke it by passing conflicting identifiers.

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 the baseline applies. The description adds only marginal value beyond the schema: it marks reservation_id as coming from list_dhcp_servers and explains dhcp_server_id as a search narrower. It does not explain selector interaction or the role of vdom.

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 first sentence gives a specific verb (Delete) and resource (DHCP reservation) plus the identifier set (reservation_id, ip, mac), which clearly separates it from create_dhcp_reservation and the list_* siblings. It stops short of naming an alternative tool to use when the target is uncertain, but the purpose itself 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 'identified by reservation_id, ip or mac' and by dhcp_server_id being described as narrowing the search, plus the parenthetical '(see list_dhcp_servers)' hinting at how to discover IDs. There is no explicit when-to-use / when-not-use statement and no guidance on whether selectors can be combined or which takes precedence.

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