Skip to main content
Glama
rstierli

FortiManager MCP Server

by rstierli

remove_device_from_group

Removes a single device from a FortiManager device group by ADOM, group, and device name, with optional VDOM, to update group membership.

Instructions

Remove a single device from a device group.

Args: adom: ADOM name group: Device group name device: Device name to remove vdom: Device VDOM to remove (default: "root")

Returns: dict: Remove result with keys: - status: "success" or "error" - message: Status or error message

Example: >>> result = await remove_device_from_group("root", "Branch-Firewalls", "FGT-Branch1")

Input Schema

NameRequiredDescriptionDefault
adomYes
vdomNoroot
groupYes
deviceYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.0

TDQS

A4/5.0
Behavior3/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. It usefully clarifies that this removes one device from a group rather than deleting the device, and it documents the returned status/message, but it does not state permissions, prerequisites, side effects if the device is not a member, or whether the operation is reversible.

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?

The description is front-loaded with the purpose, then provides compact Args, Returns, and Example sections. It is appropriately sized and every section contributes useful information for invoking the tool.

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?

The tool is a focused membership mutation, and the description covers its parameters, default VDOM behavior, and return status. Because an output schema exists, it does not need to over-explain return values; the main missing context is validation behavior and any permission or lock requirements.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the Args section documents all four parameters meaningfully: adom, group, device, and vdom with its default of 'root.' It compensates well for the schema gap, though it does not add constraints such as whether the VDOM must match an existing group membership.

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?

The first sentence states a specific verb and resource: removing a single device from a device group. The word 'single' also helps distinguish it from bulk membership-removal siblings such as remove_devices_from_group_bulk.

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 description makes the intended operation clear by saying 'single device,' which implies a contrast with bulk removal. However, it does not explicitly name the bulk alternative or state when/when not to use this tool versus remove_devices_from_group_bulk or remove_group_from_group.

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