Skip to main content
Glama
CoveoSec
by CoveoSec

xql_get_quota

Retrieve available and used XQL query quota to monitor usage and prevent exceeding limits.

Instructions

Get XQL query Quota

Retrieve the amount of query quota available and used.

Note: This endpoint only works on XQL queries initiated by /public_api/v1/xql/start_xql_query/.

For more information on how to run XQL queries, see Running XQL query APIs.

Note

To ensure you don't surpass your quota, Cortex XSIAM allows you to run up to four API queries in parallel.

Required license: Cortex XSIAM Premium or Cortex XSIAM Enterprise or Cortex XSIAM Enterprise Plus

[POST /public_api/v1/xql/get_quota] · XQL query

Example request body:

{
  "request_data": {}
}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses behavior by noting the dependency on a specific query initiation endpoint, the parallel query limit, and required licenses. It does not detail the response format, but the purpose is a simple quota check and the description provides adequate context.

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?

The description is well-structured with a clear title, definition, notes, and an example. It is slightly longer than the minimum but every section contributes meaningful information, and the formatting enhances readability.

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 simple no-parameter, no-output-schema tool, the description is complete. It explains what the tool does, the specific condition for usage, a relevant quota limit, required licenses, and provides an example request. No critical information seems missing.

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

Parameters4/5

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

The schema defines zero parameters, and the baseline is 4. The description adds value by showing an example request body with 'request_data': {}, clarifying the expected input shape despite the schema being empty. This is helpful for invocation.

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 'Get XQL query Quota' and 'Retrieve the amount of query quota available and used,' providing a specific verb and resource. It is easily distinguished from sibling tools like xql_start_xql_query or xql_get_query_results, which focus on running or fetching query results.

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 gives explicit usage context, including the note that the endpoint only works on queries initiated by /public_api/v1/xql/start_xql_query/ and mentions the parallel query limit. It does not explicitly name alternative tools for different scenarios, but the context is clear enough for correct selection.

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/CoveoSec/xsiam-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server