Skip to main content
Glama
mdemirn

FortiGate MCP Server

by mdemirn

test_device_connection

Verifies network connectivity to a specified FortiGate device and reports success, response time, or error details so you can confirm the MCP server can communicate with it.

Instructions

Test network connectivity to a specific FortiGate device.

This tool performs a connection test to verify that the MCP server can successfully communicate with the specified FortiGate device.

Parameters:

  • device_id: Identifier of the FortiGate device to test

Returns:

  • Connection status (success/failure)

  • Response time information

  • Error details if connection fails

Input Schema

NameRequiredDescriptionDefault
device_idYesFortiGate device identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.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 that the tool returns connection status, response time, and error details, and 'connection test' implies a non-mutating operation, but it does not explicitly state that it is read-only, what permissions are required, or whether the device must already be configured.

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 reasonably structured and front-loads the core purpose, followed by parameter and return details. There is slight redundancy between the opening sentence and the 'performs a connection test' sentence, but no major waste.

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?

The tool is simple with one required parameter and no output schema, and the description compensates by explaining the return content: connection status, response time, and error details. It is mostly complete for invocation, though it could mention whether the device must already be added.

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 single device_id parameter is already documented. The description repeats that device_id identifies the FortiGate device to test but adds no format, validation, or lookup semantics beyond the schema.

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 clearly states a specific verb and resource: test network connectivity to a FortiGate device. It distinguishes this from general device listing or status tools by focusing on MCP-server-to-device communication, but it does not explicitly contrast itself with siblings such as health_check or get_device_status.

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 use case is implied by 'verify that the MCP server can successfully communicate with the specified FortiGate device.' However, it does not explicitly state when to choose this over alternatives like get_device_status, health_check, or ping_from_device, nor does it provide exclusions or prerequisites.

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