Skip to main content
Glama
rstierli

FortiManager MCP Server

by rstierli

create_waf_profile

Creates a Web Application Firewall profile in FortiManager with default nested sections, enabling you to establish a baseline WAF profile for later tuning via GUI or CLI.

Instructions

Create a WAF (Web Application Firewall) profile.

The profile is created with FortiManager/FortiOS defaults for its nested signature/constraint/method/url-access sections. Fine-grained control of those sections is out of scope for this tool; adjust them via the FortiManager GUI/CLI or a follow-up tool once this profile exists.

Args: adom: ADOM name name: Profile name comment: Optional comment external: Enable/disable external HTTP inspection ("enable" or "disable") extended_log: Enable/disable extended logging ("enable" or "disable")

Returns: dict: Create result with keys: - status: "success" or "error" - name: Created profile name - message: Status or error message

Example: >>> result = await create_waf_profile( ... adom="root", ... name="Custom-WAF", ... extended_log="enable", ... comment="Baseline WAF profile", ... )

Input Schema

NameRequiredDescriptionDefault
adomYes
nameYes
commentNo
externalNo
extended_logNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.0

TDQS

A4.1/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 a solid job: it discloses that nested sections are created with FortiManager/FortiOS defaults, which is the key behavioral fact an agent needs to avoid assuming it can configure signatures here. It does not cover permission/locking requirements or idempotency on duplicate names, which is the remaining gap.

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 prose is front-loaded: purpose first, then the important scoping caveat, then args. The Args/Returns/Example blocks are conventional but partly redundant since the input schema and an output schema already exist; the example is still a cheap concrete usage anchor.

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?

An output schema exists, so the Returns block is not strictly needed, but the description still adds the one thing that matters most for this tool: the defaults caveat on nested sections. It is complete enough to call correctly, with the only real omission being whether the target ADOM must be locked before creating.

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%, and the description does document all five parameters plus value domains for external and extended_log ('enable'/'disable') that the schema lacks (they are untyped strings with no enum). However, adom, name, and comment get only tautological glosses ('ADOM name', 'Profile name', 'Optional comment'), so it only partially compensates for the coverage gap.

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 description leads with a specific verb+resource: 'Create a WAF (Web Application Firewall) profile.' Combined with the sibling set (get_waf_profile, update_waf_profile, list_waf_profiles, delete_waf_profile), the scope of this tool is unambiguous, and the follow-up paragraph clarifies exactly what the created object contains versus what it does not.

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?

It explicitly states when the tool is insufficient: fine-grained control of nested signature/constraint/method/url-access sections is 'out of scope' and must be done via GUI/CLI 'or a follow-up tool once this profile exists.' That is a clear when/when-not statement, though the follow-up tool (update_waf_profile) is never named and no prerequisites (e.g. ADOM locking) are given.

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