Skip to main content
Glama
rstierli

FortiManager MCP Server

by rstierli

add_group_to_group

Nest one device group inside another in a specified FortiManager ADOM to organize firewall groups hierarchically and manage parent-child group membership.

Instructions

Nest a device group inside another device group.

A group member has no VDOM (unlike a device member), which is what distinguishes a nested-group entry from a device entry in the dvmdb group membership list.

Args: adom: ADOM name parent_group: Group that will contain child_group child_group: Group to nest inside parent_group

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

Example: >>> result = await add_group_to_group("root", "All-Branches", "Branch-Firewalls")

Input Schema

NameRequiredDescriptionDefault
adomYes
child_groupYes
parent_groupYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.0

TDQS

A3.6/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 does disclose the resulting entry's shape (no VDOM) and the success/error status contract, but it omits prerequisites such as whether the parent and child groups must already exist, whether the call is idempotent, what happens on duplicate nesting, and required permissions.

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-loaded with the one-line purpose, then the useful VDOM distinction, then args and a concrete example. The Returns block largely restates the output schema, so a small amount of content is redundant, but nothing is bloated.

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 simple three-string, all-required mutation with an output schema present, the description covers purpose, arg meaning, and example. The remaining gap is failure semantics (already nested, missing group, locked ADOM), which an agent would want before calling.

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 coverage is 0% and the schema only carries bare titles, so the Args block is doing real work: it clarifies ADOM scoping and, importantly, the parent/child directionality ('group that will contain' vs 'group to nest inside'). It stops short of adding naming format or cross-ADOM constraints.

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+resource pair: nest a device group inside another device group. The VDOM note distinguishes a nested-group membership entry from a device entry, which implicitly separates this from add_device_to_group, but it never names the sibling tools (add_device_to_group, remove_group_from_group) directly.

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 context is implied by the operation (creating a nested-group membership) but there is no explicit when-to-use / when-not-to-use guidance and no pointer to the obvious complements, add_device_to_group or remove_group_from_group, which an agent could easily confuse with this call.

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