Skip to main content
Glama
FortiManager MCP Server

FortiManager MCP Server

by rstierli

list_cli_template_groups

List CLI template groups in a FortiManager ADOM to identify reusable CLI command sets for device provisioning and configuration, with a limit to control result size.

Instructions

List CLI template groups in an ADOM.

CLI template groups contain CLI commands to be executed on devices.

Args: adom: ADOM name (default: from DEFAULT_ADOM env var, or "root") limit: Maximum number to return (default: 100, minimum: 1)

Returns: List of CLI template groups. count is the number returned and total the number before limit: if total is larger the list was cut, raise limit for the rest.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_cli_template_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
adomNo
limitNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses the ADOM defaulting behavior and explains that 'total' can exceed 'count' when the limit cuts the list, which is valuable truncation context. However, it does not discuss permissions, ordering, or any other behavioral traits beyond the limit mechanism.

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 purpose, then cleanly separates Args and Returns. It is appropriately sized for a two-parameter list tool, with only minor verbosity in restating return semantics already covered by the output schema.

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 a simple two-parameter list operation with an output schema, the definition covers purpose, parameter defaults, and truncation behavior. The main remaining gap is the lack of explicit sibling routing, but the core information needed to call the tool correctly is 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 largely does: it explains that adom defaults to an environment variable or 'root' and that limit defaults to 100 with a minimum of 1. These details go beyond the bare schema defaults and clarify parameter behavior.

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: 'List CLI template groups in an ADOM.' It also explains what CLI template groups contain, which helps distinguish them conceptually. It does not explicitly differentiate this tool from the similar sibling list_template_groups, so it falls 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this is the listing operation for CLI template groups within an ADOM, but gives no explicit when-to-use guidance, exclusions, or comparison with alternatives such as list_template_groups or list_cli_templates. The agent must infer the usage context.

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