Skip to main content
Glama
rstierli

FortiManager MCP Server

by rstierli

update_waf_profile

Modify top-level settings of a WAF profile in an ADOM, updating only the fields you specify such as comment, external HTTP inspection, or extended logging.

Instructions

Update a WAF profile's top-level settings.

Only specified fields will be updated.

Args: adom: ADOM name name: Profile name comment: New comment external: Enable/disable external HTTP inspection extended_log: Enable/disable extended logging

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

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

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the partial-update behavior and return status keys, but it omits important mutation context such as whether an ADOM lock or commit is required, whether changes are immediately applied, and what permissions are needed.

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 description is front-loaded with the core action and partial-update behavior, then lists parameters and return values cleanly. The Returns section is somewhat redundant because an output schema exists, but the overall structure is efficient.

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

Completeness3/5

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

The description covers purpose, partial-update semantics, parameters, and return values. However, for a mutation tool with no annotations in a FortiManager context, it should ideally mention prerequisites, ADOM lock/commit implications, and whether changes are staged or applied immediately.

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%, so the description must compensate. It documents all five parameters, including adom, name, comment, external, and extended_log, and clarifies that external and extended_log are enable/disable toggles, though it does not specify exact allowed string values.

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?

The description states a specific verb and resource: 'Update a WAF profile's top-level settings.' This clearly distinguishes it from sibling operations like create_waf_profile, get_waf_profile, delete_waf_profile, and list_waf_profiles, though it does not explicitly name those alternatives.

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 statement 'Only specified fields will be updated' gives implied usage guidance for partial updates, but the description does not explicitly say when to use this tool versus create_waf_profile or get_waf_profile, nor does it state prerequisites such as the profile needing to already exist.

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