Skip to main content
Glama
rstierli

FortiManager MCP Server

by rstierli

list_firmware_images

Lists firmware images stored on FortiManager's local disk, optionally filtered by product code, to show which images can be pushed without fetching from FortiGuard.

Instructions

List firmware image files stored on the FortiManager's local disk.

These are the files already imported by an administrator and/or downloaded from FortiGuard -- a subset of what list_available_firmware reports, scoped to what FortiManager could push without first fetching it from FortiGuard.

Args: system: Product code to filter by, e.g. "FMG", "FGT" (optional; FortiManager returns every stored image when omitted or when there's no match for the given code)

Returns: dict: Local image list with keys: - status: "success" or "error" - image_list: List of {platform, product, version, build, date, image_path, image_size} - message: Error message if failed

Input Schema

NameRequiredDescriptionDefault
systemNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations, so the description carries the burden, and it does well: it discloses the non-obvious filter fallback (returns every stored image when the code is omitted OR when there is no match) and names the error key. It does not state read-only characteristics explicitly or any permission requirements, which is the remaining gap for a zero-annotation tool.

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 purpose and the sibling comparison, then the arg and return details. The Returns section partly restates what the output schema already declares, which is mild redundancy, though the section's structure (status/image_list/message) stays tight.

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?

Covers purpose, the one parameter's semantics including its fallback, and the shape of the result, so an agent can call it correctly. What remains unstated — read-only/auth assumptions and whether results span ADOMs — is minor for a simple list operation with an output schema present.

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, and it does: the single `system` param is documented as a product code with concrete examples ("FMG", "FGT"), marked optional, and given its no-match fallback behavior, which is far beyond the bare `string|null` schema. Only format/case-sensitivity details are missing.

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 ("List firmware image files stored on the FortiManager's local disk") and immediately positions it against a named sibling by describing itself as "a subset of what list_available_firmware reports." An agent can distinguish local-cached images from FortiGuard-available images without opening either schema.

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 selection context clearly — this tool covers files already imported/downloaded and pushable without fetching, implying list_available_firmware is for the broader catalog. It lacks an explicit "use X instead when..." directive, but the comparative framing gives an agent enough to choose correctly.

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