Skip to main content
Glama
zscaler

zscaler-mcp-server

Official
by zscaler

zia_url_lookup

Read-only

Which category does a URL belong to? Use THIS for that question — default.

Instructions

Which category does a URL belong to? Use THIS for that question — default.

Answers "what category is twilio.com?" directly: pass the URLs and get back Zscaler's classification for each, e.g. {"url": "notpurple.com", "urlClassifications": ["SPECIALIZED_SHOPPING"]}. The response is small and scales with the number of URLs you ask about, not with the size of the tenant's category inventory.

This returns Zscaler's PREDEFINED classification ONLY. It does not report the tenant's custom categories: a URL an admin placed in a custom category still shows its predefined category here. When the user explicitly asks about CUSTOM categories ("which custom category contains app.box.com?"), make ONE call to zia_list_url_categories(custom_only=True, contains_url="app.box.com") — the server does the matching and returns only the categories that contain the URL. Do not answer the custom question from this tool's output, and do not list all categories and scan them yourself.

Unless the user says "custom", this tool alone answers the question — stop after it. Up to 100 URLs per request; a URL in no predefined category comes back as MISCELLANEOUS_OR_UNKNOWN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlsYes
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.
Install Server

TDQS

A5/5.0
Behavior5/5

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

The description discloses critical behavioral traits beyond the readOnlyHint annotation: it returns only predefined categories (not custom), unknown URLs come back as 'MISCELLANEOUS_OR_UNKNOWN', and it supports up to 100 URLs per request. It also warns about the query parameter's field naming pitfalls. These details add significant context that annotations alone do not provide, and nothing contradicts the 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?

The description is long but every sentence earns its place. It opens with the core question and a direct statement of use, then gives an example, then explains limitations and alternatives, and finally the capacity and fallback behavior. The structure is front-loaded and logical, with no filler.

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

Completeness5/5

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

For a tool with 2 parameters and no output schema, the description is remarkably complete. It covers the tool's purpose, usage context, output format example, limitations, and alternative tool path. It also addresses the query parameter's potential pitfalls. There is essentially no gap left for the agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema only formally describes the 'query' parameter, the description thoroughly explains both parameters: 'urls' as the list to look up, and 'query' as an optional JMESPath expression with examples, warning about snake_case field names, and advising to call without query first if uncertain. This goes well beyond the schema and provides essential usage detail.

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 the tool's purpose: to return Zscaler's predefined category classification for given URLs. It uses specific verbs ('look up', 'returns') and explicitly distinguishes itself from the sibling tool zia_list_url_categories by clarifying it handles predefined categories only, not custom ones. The example output further cements the purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use and when-not-to-use guidance. It says to use this tool for predefined category questions, and for custom category questions to call zia_list_url_categories(custom_only=True, contains_url=...). It also instructs to stop after this tool unless the user says 'custom', and warns against answering custom category questions from this tool's output. This is exemplary usage 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