Skip to main content
Glama
zscaler

zscaler-mcp-server

Official
by zscaler

zpa_list_application_segments

Read-only

List ZPA application segments with optional filtering by page, search, or JMESPath query, returning full segment records including IDs, domains, server groups, ports, and behavior toggles.

Instructions

List ZPA application segments.

Each row is the full segment record with normalized highlights on top (ids, member domains/server groups, ports, and behavior toggles).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
queryNoOptional JMESPath expression applied to the results after the API call, for client-side filtering and projection. Examples: "[?enabled==`true`]", "[*].{name: name, id: id}", "length(@)". Omit to get the full records. IMPORTANT: field names are the keys of the returned records, which are usually snake_case (`custom_category`) even where the Zscaler API documents camelCase (`customCategory`) — guessing the spelling yields an empty list that looks like a real answer. If you have not already seen a record from this tool, call it once without `query` and read the keys off the response.
searchNo
page_sizeNo
microtenant_idNo
Install Server

TDQS

B3.3/5.0
Behavior4/5

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

The description adds valuable behavioral context beyond the readOnlyHint annotation by describing the output format: 'Each row is the full segment record with normalized highlights on top (ids, member domains/server groups, ports, and behavior toggles).' This gives agents insight into what the response looks like, which is especially useful given there is no output schema. It does not contradict annotations.

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 extremely concise and well-structured: two sentences. The first sentence states the core purpose, and the second adds useful output format details. Every word earns its place, no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given there is no output schema, the description provides some output format context but omits important details like pagination behavior, how to use search, and differentiation from sibling list tools. The query parameter description in the schema adds rich context, but the tool description alone leaves gaps for a 5-parameter list tool with no schema descriptions on most params.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is only 20% (only 'query' is described, albeit in detail). The tool description itself does not explain any parameter semantics, such as what 'search' does, how pagination works via 'page'/'page_size', or what 'microtenant_id' filters. The description's mention of output highlights does not compensate for the lack of parameter explanations.

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 clearly states the action ('List ZPA application segments') with a specific resource. However, it does not explicitly differentiate from sibling tools like zpa_list_application_segments_ba or zpa_list_application_segments_pra, which are also list tools for application segments but for specific types. The name itself indicates generic listing, but no explicit distinction is made.

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 provides no guidance on when to use this tool vs. alternatives. It does not mention that this is the generic list for all application segments, nor does it direct users to the _ba or _pra variants for specific segment types. There is no context about pruning results with the query parameter or when to use search vs. page parameters.

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

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