Skip to main content
Glama
rstierli

FortiManager MCP Server

by rstierli

create_device_vap

Creates a wireless VAP (SSID) in a managed device DB with security and VLAN settings; assign it to a FortiAP profile to broadcast the SSID.

Instructions

Create a wireless VAP (SSID) in a device's device DB.

The VAP becomes broadcastable once added to a FortiAP profile (assign_vap_to_wtp_profile).

Args: device: Managed device name name: VAP object name ssid: SSID to broadcast security: Security mode, a FortiOS wireless-controller vap security enum value; default "wpa2-only-personal". Supported here: the personal modes ("wpa-personal", "wpa-only-personal", "wpa2-only-personal"), the SAE modes ("wpa3-sae", "wpa3-sae-transition"), "owe" and "open". Enterprise and WEP modes are refused, since neither a radius/user-group nor a WEP key is set by this tool. passphrase: Credential, 8-63 characters, required by the personal and SAE modes. It is sent as passphrase for the personal modes and as sae-password for SAE; transition mode carries both, since it runs a WPA2 leg alongside SAE. vlanid: VLAN id to map wireless clients into vdom: VDOM the VAP lives in (default "root")

Returns: Creation result with any echoed passphrase stripped

Input Schema

NameRequiredDescriptionDefault
nameYes
ssidYes
vdomNoroot
deviceYes
vlanidNo
securityNowpa2-only-personal
passphraseNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.0

TDQS

A4.7/5.0
Behavior5/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 enumerates the accepted security modes, explains that enterprise and WEP modes are refused because no radius/user-group or WEP key is set, and discloses that the echoed passphrase is stripped from the result — a security-relevant behavior.

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 core action, then organized into Args and Returns sections with no wasted sentences. The security sentence is long but each clause conveys a real constraint (accepted modes, refusals, rationale), so the length is justified.

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

Completeness5/5

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

Covers creation semantics, all parameter semantics, mode restrictions, and output behavior for a 7-parameter mutation tool with no annotations. Even though an output schema exists, it adds the passphrase-stripping detail that materially affects how an agent handles the response.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate and does: every one of the 7 parameters is explained, including the passphrase 8-63 length constraint, which modes require it, how it is mapped (passphrase vs sae-password, both for transition mode), the security default, and the vdom default.

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 and resource — create a wireless VAP (SSID) in a device's device DB — with an immediate parenthetical defining VAP. It is clearly distinguishable from siblings like create_device_wtp, list_device_vaps, and assign_vap_to_wtp_profile.

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?

Explains the workflow position: the VAP is not broadcastable until it is added to a FortiAP profile via assign_vap_to_wtp_profile, naming the sibling that follows. It gives clear context but does not state exclusions or alternatives for creating the VAP itself.

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