Skip to main content
Glama
zscaler

zscaler-mcp-server

Official
by zscaler

zins_get_firewall_network_services

Read-only

Get Zero Trust Firewall traffic grouped by network service. Read-only analytics.

Instructions

Get Zero Trust Firewall traffic grouped by network service. Read-only analytics.

One row per network service (protocol/port) with its aggregated total. Window must be a 7- or 14-day historical interval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
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.
end_timeNo
start_timeNo
end_days_agoNo
start_days_agoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.15.3
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / end_days_ago / title
      Added value: +"End Days Ago"
    • addedInput schema / properties / end_time / title
      Added value: +"End Time"
    • addedInput schema / properties / limit / title
      Added value: +"Limit"
    • 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 / start_days_ago / title
      Added value: +"Start Days Ago"
    • addedInput schema / properties / start_time / title
      Added value: +"Start Time"
    • addedInput schema / title
      Added value: +"zins_get_firewall_network_servicesArguments"
  2. Changed14 schema fields changedv0.14.0
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / end_days_ago / description
      Removed value: -"Days ago for end. Default: 2. Interval = start - end must be 7 or 14."
    • removedInput schema / properties / end_days_ago / title
      Removed value: -"End Days Ago"
    • removedInput schema / properties / end_time / description
      Removed value: -"ALTERNATIVE: End time as Unix epoch in MILLISECONDS."
    • removedInput schema / properties / end_time / title
      Removed value: -"End Time"
    • removedInput schema / properties / limit / description
      Removed value: -"Maximum number of service entries to return (1-1000)."
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • addedInput schema / properties / query
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "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 / start_days_ago / description
      Removed value: -"Days ago for start. Default: 9 (7-day interval). API needs 7 or 14 day intervals."
    • removedInput schema / properties / start_days_ago / title
      Removed value: -"Start Days Ago"
    • removedInput schema / properties / start_time / description
      Removed value: -"ALTERNATIVE: Start time as Unix epoch in MILLISECONDS."
    • removedInput schema / properties / start_time / title
      Removed value: -"Start Time"
    • removedInput schema / title
      Removed value: -"zins_get_firewall_network_servicesArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "items": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "title": "Result",
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "zins_get_firewall_network_servicesOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.12.7

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already include readOnlyHint=true, and the description reinforces with 'Read-only analytics.' It adds value by describing the output shape and the window constraint, which are not in the schema. Does not specify behavior on invalid windows, but sufficient given 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?

Three short lines, front-loaded with the main action, no fluff. Every sentence adds necessary context.

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?

For a read-only analytics tool with no output schema, it covers the essential behavior: grouping, row semantics, and window restriction. Missing explicit parameter mapping and pagination (via limit) but these are minor gaps given the tool's simplicity.

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 description coverage is only 17%, so the description must compensate. It adds the key window constraint and output meaning, but does not map this to start_time/end_time or start_days_ago/end_days_ago parameters. Limit and query are left to schema or defaults, which is adequate but not exceptional.

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?

Specific verb+noun: 'Get Zero Trust Firewall traffic grouped by network service' distinguishes it from sibling tools like zins_get_firewall_by_action and zins_get_firewall_by_location. The added detail 'One row per network service (protocol/port) with its aggregated total' clarifies the output granularity.

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?

Provides clear context: 'grouped by network service' and the constraint 'Window must be a 7- or 14-day historical interval' guide when to use. However, it does not explicitly mention alternatives or when not to use, though the grouping distinction is implied by sibling names.

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