Skip to main content
Glama

forticloud_list_devices

Read-onlyIdempotent

Lists FortiGate Cloud devices with model, serial, firmware, sub-account, and online/offline connection status, ordered offline first. Filter by account, connection, model, firmware, or name/serial.

Instructions

FortiGates in FortiGate Cloud with model, serial, firmware, sub-account (client) and whether the management tunnel to FortiGate Cloud is up (connection: online/offline), offline first. Filter by account, connection, model, firmware or name/serial. Each page has total and nextOffset.

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": "forticloud_list_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOnly devices whose name or serial contains this text.
limitNoRows to return (1-200).
modelNoOnly this model (contains), e.g. 60F.
offsetNoRows to skip, for the next page (use nextOffset from the previous result).
accountNoOnly devices of this FortiGate Cloud sub-account (a client, for an MSSP account): its name (contains, any case) or its numeric ID from forticloud_list_accounts.
firmwareNoOnly this firmware (contains), e.g. 7.2.
connectionNoOnly devices whose FortiGate Cloud connection is online or offline.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavioral facts: results are sorted with offline devices first, and responses are paginated with 'total' and 'nextOffset' per page. It does not mention rate limits or auth scope, but that is a minor gap for a read-only list.

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?

Three dense sentences: what is returned, how to filter, and pagination shape — no filler and front-loaded with the payload fields. The opening sentence is a long comma-laden enumeration that takes effort to parse, which is the only structural weakness.

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?

With no output schema, the description carries the return-value burden and does it reasonably well by naming the returned fields and the pagination envelope (total, nextOffset). Combined with 100% schema coverage on all seven optional parameters, an agent has enough to call this correctly; only the offline-first ordering rationale and account-scoping nuance are left thin.

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 coverage is 100% and every parameter already has a careful description, so the schema does the heavy lifting. The description summarizes the filterable dimensions and notes the account maps to an MSSP client sub-account, but adds no syntax or matching rules beyond what the schema states. Baseline 3 is appropriate.

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 the precise resource (FortiGates in FortiGate Cloud) and enumerates the returned fields — model, serial, firmware, sub-account, connection state — so an agent knows exactly what it gets back. The listing verb is only implied by the tool name, and nothing distinguishes it from siblings such as forticloud_list_assets or forticloud_get_device, which keeps it 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 rather than stated: the filter list ('Filter by account, connection, model, firmware or name/serial') suggests this is the browsing/search endpoint for devices, and 'offline first' hints at the intended triage workflow. There is no explicit when-to-use, when-not-to-use, or named alternative, so an agent must infer that device-level detail belongs to forticloud_get_device.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.