Skip to main content
Glama
zscaler

zscaler-mcp-server

Official
by zscaler

zms_list_policy_rules

Read-only

List microsegmentation policy rules with pagination, filters by name/action, and JMESPath query. Returns rule name, action, priority, targets, and port/protocol.

Instructions

List ZMS microsegmentation policy rules with pagination and filtering. Filter by name or action (ALLOW/BLOCK). Returns rule name, action, priority, source/destination targets, and port/protocol specs. Supports JMESPath client-side filtering via the query parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_numNoPage number (default 1).
page_sizeNoNumber of items per page (default 20, max 100).
fetch_allNoWhether to fetch all rules ignoring pagination (default false).
nameNoFilter by policy rule name (substring match).
actionNoFilter by policy action: 'ALLOW' or 'BLOCK' (exact match).
queryNoJMESPath expression for client-side filtering/projection on the result. Example: "nodes[?action=='ALLOW'].{name: name, priority: priority}".
serviceNoThe service to use.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the tool's read-only nature is known. The description adds that it returns specific fields and supports JMESPath, but it does not disclose behaviors like pagination limits, rate limits, or error conditions. With annotations covering the safety profile, the description adds moderate value.

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

Conciseness5/5

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

The description is three sentences, quickly conveying purpose, filtering options, return fields, and a special feature (JMESPath). It is concise with no fluff.

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?

Given that an output schema exists, the description adequately covers core functionality, filtering, and return fields. However, it does not mention the 'service' or 'fetch_all' parameters (though documented in schema), which could be useful context. Overall, it is sufficiently complete for a list tool.

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 100% with descriptions for all parameters. The description adds value by specifying the return fields (rule name, action, priority, targets, port/protocol) and highlighting JMESPath filtering, which goes beyond the schema's parameter descriptions.

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?

The description clearly states that the tool lists ZMS microsegmentation policy rules with pagination and filtering. It specifies the return fields (rule name, action, priority, source/destination targets, port/protocol specs), which clarifies the resource and verb. The purpose is distinct from sibling tools like zms_list_default_policy_rules.

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 description explains filtering by name or action and mentiones pagination and JMESPath filtering, but it does not provide guidance on when to use this tool versus other list tools (e.g., zms_list_default_policy_rules). For a sibling set with many similar tools, explicit usage context is missing.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zscaler/zscaler-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server