Skip to main content
Glama
FortiManager MCP Server

FortiManager MCP Server

by rstierli

search_objects

Search FortiManager firewall objects by name, including addresses, address groups, services, and service groups, to locate matching policy components in an ADOM.

Instructions

Search across all firewall objects by name.

Searches addresses, address groups, services, and service groups for objects matching the search term.

Args: adom: ADOM name search_term: Search term (partial match). Must not be empty; to list every object of a type, use list_addresses, list_address_groups, list_services or list_service_groups.

Returns: dict: Search results with keys: - status: "success" or "error" - addresses: Matching address objects - address_groups: Matching address groups - services: Matching service objects - service_groups: Matching service groups - total_count: Total matches - message: Error message if failed

Example: >>> result = await search_objects("root", "web")

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "adom": "<adom>",
      "search_term": "<search_term>"
    },
    "name": "search_objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
adomYes
search_termYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses partial-match semantics, the non-empty constraint, and the result envelope (status/message/total_count), but says nothing about case sensitivity, result caps, or pagination for large ADOMs, which matters for a cross-type search.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and the usage note is well placed, but the Returns block duplicates the existing output schema key-by-key, and the single-line example adds nothing beyond parameter order. Roughly a third of the text does not earn its place.

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 two-parameter read-only search the description covers purpose, routing to alternatives, and the shape of results. Missing details are secondary (ordering, matching rules), and the output schema already documents return values, making the restated Returns section redundant rather than necessary.

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 coverage is 0%, and the description compensates well for search_term (partial match, must be non-empty, redirect to list_* for exhaustive listing). The adom parameter is only glossed as "ADOM name", which is close to tautological, but the second parameter is fully specified.

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 ("Search across all firewall objects by name") and immediately enumerates the four object types covered, so an agent can distinguish it from the list_* siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly names the when-not case and the alternatives: to enumerate every object of a type, use list_addresses, list_address_groups, list_services, or list_service_groups. It also states the search_term must not be empty, which prevents the most likely misuse.

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