Skip to main content
Glama
zscaler

zscaler-mcp-server

Official
by zscaler

zpa_list_application_segments

Read-only

Retrieve ZPA application segments with server-side name search and client-side JMESPath filtering. Supports pagination and microtenant scoping.

Instructions

List ZPA application segments with optional filtering (read-only) Supports JMESPath client-side filtering via the query parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchNoServer-side substring match on the application segment's `name` field. Returns the full set of matches in this tenant — no fuzzy matching, no synonym expansion. An empty list means no segment name contains this string; do not retry with split keywords or no filter.
pageNoPage number for pagination.
page_sizeNoNumber of items per page.
microtenant_idNoMicrotenant ID for scoping.
queryNoJMESPath expression for client-side filtering/projection of results.
serviceNoThe service to use.zpa

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, and the description confirms 'read-only'. It adds client-side filtering capability via JMESPath. However, it does not disclose behavioral details like pagination defaults, rate limits, or result limits beyond what annotations provide.

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 a single sentence with two clauses, efficiently conveying the core purpose and key feature. It is front-loaded and contains no redundant words.

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 an output schema present, the description need not detail return values. It covers the listing and filtering aspects. However, it omits default pagination behavior and does not clarify the distinction from the singular get tool, which would enhance completeness.

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?

The input schema has 100% coverage with detailed descriptions for all 6 parameters. The tool description only mentions the query parameter for JMESPath, adding little beyond the schema. Baseline is 3 given high coverage.

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 the verb 'List', the resource 'ZPA application segments', and that it supports optional filtering and is read-only. It distinguishes itself from sibling tools like get_zpa_application_segment (singular) and zpa_list_application_segments_ba/pra by being the generic listing tool.

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 mentions JMESPath filtering but does not provide explicit guidance on when to use this tool versus alternatives like get_zpa_application_segment for a single segment or the BA/PRA variants. No 'when not to use' or selection criteria are given.

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