Skip to main content
Glama
ry-ops

fortigate-mcp-server

by ry-ops

set_syslog_target

Configure and enable a FortiGate syslog slot to forward logs to a collector; define server, port, transport (UDP, reliable TCP, or legacy-reliable), and TLS with dry-run validation.

Instructions

Send logs to a syslog server: sets server, port and transport on one of the four syslog slots and enables it. mode is udp (default), reliable (TCP) or legacy-reliable; with reliable, enc_algorithm (high, high-medium, low) adds TLS. Validated against the FortiGate's schema; dry_run (the default) shows the change without sending it.

Input Schema

NameRequiredDescriptionDefault
modeNoudp, reliable or legacy-reliable (default udp)
portNoPort (default 514; 6514 is usual for TLS)
slotNoSyslog slot 1-4 (default 1)
vdomNoVDOM (default: FORTIGATE_VDOM, usually root)
serverNoCollector IP or FQDN
disableNoTurn the slot off instead (server ignored)
dry_runNoOnly validate and show the change (default true)
enc_algorithmNoTLS for reliable mode: high, high-medium, low or disable

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.3

TDQS

A3.6/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 that dry_run is the default and that changes are validated against the FortiGate schema, and it indicates the slot is enabled. However, it does not state permission requirements, persistence, or the effect of disabling a slot.

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 core purpose and then adds only operationally relevant detail about modes, TLS, validation, and dry_run. Every clause earns its place, and there is no filler.

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 an eight-parameter configuration mutation with no annotations and no output schema, the description covers the important behavioral settings: slot, server, port, transport, TLS, and dry_run. It omits vdom and disable, but the schema documents those fully, so the description is close to complete.

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 100%, so the schema already documents all eight parameters. The description adds cross-parameter context such as reliable mode plus enc_algorithm adding TLS, but most of its parameter detail duplicates the schema. It does not mention vdom or disable.

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: 'sets server, port and transport on one of the four syslog slots and enables it.' It clearly identifies the tool as a syslog-target configuration operation. It does not explicitly differentiate from siblings such as get_log_targets, so it stops short of a 5.

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 is implied by the purpose: configure and enable a syslog target. The description mentions default behavior (dry_run, udp) and transport choices, but gives no explicit when-to-use guidance, prerequisites, or alternatives to consider.

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