Skip to main content
Glama
zscaler

zscaler-mcp-server

Official
by zscaler

zins_get_threat_class

Read-only

Get threat-class distribution (Virus/Spyware, Advanced, Behavioral). Read-only analytics.

Instructions

Get threat-class distribution (Virus/Spyware, Advanced, Behavioral). Read-only analytics.

One row per threat class with its aggregated total. An empty result means no threats of these classes were detected. 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
traffic_unitNoTRANSACTIONS
start_days_agoNo
Install Server

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description also says 'Read-only analytics,' but it adds valuable behavior beyond annotations: one row per threat class with an aggregated total, and empty result semantics meaning no threats were detected. No contradiction with annotations is present.

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 compact and front-loaded: it states the core purpose in the first sentence, then adds only high-value behavioral details in three short sentences. There is no redundancy or filler beyond the acceptable 'Read-only analytics' marker.

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?

For a read-only analytics tool with no output schema and seven parameters, the description gives a reasonable overall picture: it specifies output granularity, empty-result semantics, and the supported window length. However, it does not fully describe the input parameters or return field names, and the lack of output schema makes the description carry more responsibility than it fully satisfies.

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?

Schema description coverage is only 14%, so the description must compensate for the seven parameters. It adds the key semantic that the window must be 7 or 14 days, but it does not clarify the meaning of limit, traffic_unit, start_time/end_time units, or how they interact with start_days_ago/end_days_ago. Most parameter semantics remain underspecified.

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?

The description names a specific resource ('threat-class distribution'), enumerates the relevant classes (Virus/Spyware, Advanced, Behavioral), and states that the result is read-only analytics. It clearly distinguishes this from other 'get threat' siblings such as zins_get_threat_super_categories by focusing on per-class aggregated totals.

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?

The description provides clear usage context: it is a read-only analytics tool returning one row per threat class, and it imposes an explicit time-window constraint ('must be a 7- or 14-day historical interval'). It does not list alternatives or when-not-to-use conditions, so it stops one step short of full guidance.

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