Skip to main content
Glama
zscaler

zscaler-mcp-server

Official
by zscaler

zdx_list_departments

Read-only

List ZDX departments as id/name pairs. Use the returned id as a department_id scope filter for other ZDX tools. Optionally filter by hours.

Instructions

List ZDX departments as curated id/name rows.

Read-only. Use a returned id as the department_id scope filter on other ZDX tools. since is in HOURS (default 2h).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoOptional JMESPath expression applied to the results after the API call, for client-side filtering and projection. Field names are exactly what the Zscaler API returns. Examples: "[?enabled==`true`]", "[*].{name: name, id: id}", "length(@)". Omit to get the full records.
sinceNo
searchNo
Behavior3/5

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

Annotations already indicate readOnlyHint=true. Description adds that results are 'curated id/name rows' and explains the `since` parameter. No contradictions, but no additional behavioral details beyond what annotations already cover.

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?

Three concise sentences, each adding value: purpose, usage guidance, and parameter detail. No fluff or redundancy.

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?

Adequate for a simple list tool with annotations covering safety. However, there is no output schema and the 'search' parameter is unexplained. Missing details like result limits or pagination.

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 only 33% (only 'query' has description). The description adds meaning to 'since' (hours, default 2h) but leaves 'search' undocumented. This partially compensates for low schema coverage but not fully.

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?

Description clearly states 'List ZDX departments as curated id/name rows,' specifying the product (ZDX), resource (departments), and output format. It implicitly distinguishes from sibling get_zia_user_departments by mentioning ZDX.

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?

Explicitly states 'Read-only' and explains how to use the returned `id` as a scope filter on other ZDX tools. Also clarifies the `since` parameter meaning and default. However, it does not explicitly mention when to avoid using this tool.

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