Skip to main content
Glama
zscaler

zscaler-mcp-server

Official
by zscaler

zdx_list_device_deep_traces

Read-only

Retrieve a list of deep-trace sessions for a ZDX device, returning full records with trace ID, status, session name, app, and timestamps. Use the trace ID for further deep-trace analysis.

Instructions

List deep-trace sessions for a ZDX device (full records).

Read-only. Returns one row per trace (id, status, session name, app, ISO timestamps). Use a returned trace_id with the deep-trace metric/event tools or zdx_get_device_deep_trace.

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.
device_idYes
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds that it returns 'one row per trace (id, status, session name, app, ISO timestamps)' and describes the return format. This adds some value beyond annotations but does not disclose potential pagination, rate limits, or other behavioral traits, which is acceptable for a read-only list operation.

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 concise and structured: three short sentences with the purpose front-loaded. No redundant words or unnecessary details. Every sentence serves a clear purpose: state the action, declare read-only, list return fields, and guide next steps.

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?

Given that there is no output schema, the description compensates by listing the returned fields (id, status, session name, app, ISO timestamps). It also connects to sibling tools for further actions. For a read-only list tool with good annotations, this is sufficiently complete.

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 50% (device_id has no description, query has a detailed description). The description mentions 'for a ZDX device,' implying device_id, but does not add new meaning beyond the schema. The query parameter is already well-documented in the schema. Thus, the description adds marginal value, and the baseline of 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?

The description clearly states 'List deep-trace sessions for a ZDX device (full records).' It specifies the verb 'list,' the resource 'deep-trace sessions,' and the scope 'for a ZDX device.' This distinguishes it from sibling tools like zdx_get_device_deep_trace, which retrieves a single trace, and other zdx_list_* tools that list different entities.

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 guidance on how to use the output: 'Use a returned `trace_id` with the deep-trace metric/event tools or `zdx_get_device_deep_trace`.' It also labels the tool as 'Read-only,' indicating safety. However, it does not explicitly state when not to use it or alternative tools for different scenarios, missing full usage clarity.

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