Skip to main content
Glama
zscaler

zscaler-mcp-server

Official
by zscaler

ztw_list_roles

Read-only

List all ZTW admin roles with filtering by role IDs, name search, and JMESPath queries for custom projections.

Instructions

List all existing admin roles in ZTW (read-only) Supports JMESPath client-side filtering via the query parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
include_auditor_roleNoInclude or exclude auditor user information in the list.
include_partner_roleNoInclude or exclude admin user information in the list. Default is True.
include_api_rolesNoInclude or exclude API role information in the list. Default is True.
role_idsNoInclude or exclude role ID information in the list.
searchNoSearch string to filter roles by name.
queryNoJMESPath expression for client-side filtering/projection of results.
serviceNoThe service to use.ztw

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already provide readOnlyHint=true. Description adds JMESPath filtering behavior but does not mention pagination, rate limits, or other constraints. Adequate but not rich.

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?

Single sentence, front-loaded with key information (verb, resource, read-only status, JMESPath support). No wasted 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?

Sufficient for a read-only list tool with output schema and annotations. Mentions filtering but could expand on return behavior or prerequisites. Still adequate.

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%, so the schema fully documents parameters. Description adds minimal extra meaning beyond mentioning JMESPath query parameter. Baseline 3 is appropriate.

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?

Clearly states the verb 'List', resource 'admin roles', scope 'all existing', and differentiates from siblings like ztw_list_admins with the specific resource. Mentions key feature (JMESPath filtering).

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

Usage Guidelines4/5

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

States it is for listing admin roles and read-only, implying when to use. However, lacks explicit guidance on when not to use or alternatives among sibling tools.

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