Skip to main content
Glama
rstierli

FortiManager MCP Server

by rstierli

remove_devices_from_group_bulk

Removes multiple devices from a FortiManager device group in one bulk call, simplifying cleanup of group memberships.

Instructions

Remove multiple devices from a device group in one call.

Args: adom: ADOM name group: Device group name devices: List of device names to remove vdom: VDOM the devices were added on (default: "root")

Returns: dict: Remove result with keys: - status: "success" or "error" - requested_count: Number of devices in the request. NOT a count of memberships actually changed: FortiManager's DELETE on a non-member is a lenient no-op that still reports success, so a device that was never in the group is indistinguishable from one that was removed. - message: Status or error message

Example: >>> result = await remove_devices_from_group_bulk( ... "root", "Branch-Firewalls", ["FGT-Site1", "FGT-Site2"] ... )

Input Schema

NameRequiredDescriptionDefault
adomYes
vdomNoroot
groupYes
devicesYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the critical FortiManager gotcha that DELETE on a non-member is a lenient no-op reporting success, and clarifies that requested_count is not a count of actual membership changes. It documents return keys and status values. Missing only any note on permissions or reversibility, so not a 5.

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?

Front-loads the one-line purpose, then organizes Args/Returns/Example cleanly. The Returns section is slightly verbose but the extra words on requested_count semantics are load-bearing; a small amount of terseness in args is the only minor cost.

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 mutation tool with no annotations but an output schema, the description is largely complete: it explains params, return shape, and the no-op success caveat. It stops short of covering failure modes (nonexistent group) and permission requirements, leaving minor gaps for a bulk mutation.

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 0%, so the description must compensate. It lists all four args, but three are near-tautological restatements (adom='ADOM name', group='Device group name', devices='List of device names to remove'). Only vdom adds real meaning by noting the default ('root') and that it is the VDOM the devices were added on.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource+scope: remove multiple devices from a device group in one call. The 'multiple' and 'bulk' framing distinguishes it from the singular remove_device_from_group and the inverse add_devices_to_group_bulk siblings without ambiguity.

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?

'In one call' implies this is the batch path versus the singular remove_device_from_group, but the description never explicitly states when to use this versus that sibling, nor any preconditions (group must exist, devices must be in the ADOM/VDOM). Usage is implied rather than spelled out.

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