Skip to main content
Glama
zscaler

zscaler-mcp-server

Official
by zscaler

zia_list_cloud_app_control_actions

Read-only

List the available CAC actions for a category (and optional cloud apps).

Instructions

List the available CAC actions for a category (and optional cloud apps).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.
rule_typeYes
cloud_appsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.15.3
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / cloud_apps / title
      Added value: +"Cloud Apps"
    • changedInput schema / properties / query / description
      Previous value: -"Optional 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."New value: +"Optional 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."
    • addedInput schema / properties / query / title
      Added value: +"Query"
    • addedInput schema / properties / rule_type / title
      Added value: +"Rule Type"
    • addedInput schema / title
      Added value: +"zia_list_cloud_app_control_actionsArguments"
  2. Changed13 schema fields changedv0.14.0
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / cloud_app
      Removed value: -{
      -  "description": "The cloud application the user is asking about. Accepts the canonical ZIA enum (``AZURE_DEVOPS``, ``DROPBOX``, ``CHATGPT_AI``) **or** a friendly display name (``'Azure DevOps'``, ``'dropbox'``, ``'chatgpt'``). The tool resolves the input to its canonical form, looks up the app's category (= rule type), and returns the granular action vocabulary the API supports for Cloud App Control rules in that category. The action vocabulary is *surfaced* at the category level — every app in a category resolves to the same returned list — but the create endpoint validates per (rule_type, application, action) tuple and can still reject a category-level action when paired with a specific app. Treat the returned list as a superset; the create call is the only authoritative validator.",
      -  "title": "Cloud App",
      -  "type": "string"
      -}
    • addedInput schema / properties / cloud_apps
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • changedInput schema / properties / query / description
      Previous value: -"Optional JMESPath expression applied to the response. Useful for projecting just the actions list (``actions``) or filtering them (``actions[?contains(@, 'BLOCK')]``)."New value: +"Optional 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."
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / properties / rule_type / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / rule_type / default
      Removed value: -null
    • removedInput schema / properties / rule_type / description
      Removed value: -"Optional override for the rule-type category. By default the tool infers the rule type from ``cloud_app``'s ``parent`` field in the policy catalog. Only set this when you want to force a specific category (e.g. when ZIA classifies an app under one category but you want actions for a different one). Must be one of the canonical category enums (``AI_ML``, ``WEBMAIL``, ``FILE_SHARE``, ``SYSTEM_AND_DEVELOPMENT``, ``STREAMING_MEDIA``, ``SOCIAL_NETWORKING``, ``INSTANT_MESSAGING``, ``BUSINESS_PRODUCTIVITY``, ``ENTERPRISE_COLLABORATION``, ``SALES_AND_MARKETING``, ``CONSUMER``, ``HOSTING_PROVIDER``, ``IT_SERVICES``, ``HUMAN_RESOURCES``, ``LEGAL``, ``HEALTH_CARE``, ``FINANCE``, ``DNS_OVER_HTTPS``, ``CUSTOM_CAPP``)."
    • removedInput schema / properties / rule_type / title
      Removed value: -"Rule Type"
    • addedInput schema / properties / rule_type / type
      Added value: +"string"
    • removedInput schema / properties / service
      Removed value: -{
      -  "default": "zia",
      -  "description": "The service to use.",
      -  "title": "Service",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "cloud_app"
      -]New value: +[
      +  "rule_type"
      +]
    • removedInput schema / title
      Removed value: -"zia_list_cloud_app_control_actionsArguments"
  3. First observedv0.12.7

TDQS

C2.4/5.0
Behavior2/5

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

The annotations (readOnlyHint: true) already convey this is a safe read, and the description's "List" is consistent with that (no contradiction). However, it adds no behavioral color beyond the annotations — nothing about what a CAC action contains, whether the category is required/where it comes from, pagination behavior, or realistic example usage.

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?

A single, tightly-scoped sentence that front-loads the verb and omits filler. It earns its place with no wasted words, though the brevity does cross slightly into under-specification.

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

Completeness2/5

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

There is no output schema, so the description must explain what the returned records look like or how the response is structured — it does neither. The description fails to clarify what a "category" is, how it relates to rule_type, or how cloud_apps filters results, leaving a sophisticated list tool (per the query warning) under-documented.

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's `query` parameter is superbly documented, but that is schema credit, not description credit. With only 33% schema-description coverage and orphaned parameters rule_type and cloud_apps (both undocumented), the description was expected to compensate and instead never mentions either parameter, missing that "category" likely refers to rule_type.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb+resource ("List...available CAC actions") and scopes it "for a category," which is reasonably clear on its face. However, "CAC" is unexplained jargon (decipherable only from the tool name), and the description reads nearly identically to siblings like zia_list_cloud_app_control_rules/zia_get_cloud_app_control_rule, providing no differentiation. What "category" maps to (rule_type) is left implicit.

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?

No guidance is given on when to use this tool versus alternatives such as zia_list_cloud_app_control_rules, nor any exclusions or prerequisites. The parenthetical "(and optional cloud apps)" weakly implies that cloud_apps is an optional filter, but there is no explicit when/when-not direction.

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

Deploy Server

Other Tools