Skip to main content
Glama

cls_describe_search_syntax

Get complete CQL search syntax documentation for Tencent Cloud Log Service. Use when search queries fail or you need guidance on writing retrieval and analysis statements.

Instructions

CQL 检索分析语法完整参考文档。当 cls_search_log 执行报错或不确定如何编写查询语句时使用。

返回 CLS CQL 完整语法参考文档,包含:

  • CQL 检索语法(键值检索、短语检索、逻辑操作符、数值比较、模糊匹配、字段存在性等)

  • CQL 与 Lucene 语法的核心区别

  • SQL 分析语法(管道符、FROM 省略、引号规则等)

  • histogram(时间分桶)、time_series(时序补全)、compare(同环比)等 CLS 扩展函数

  • IP 地理函数、百分位数函数等特殊函数

  • 时区处理规则、脏数据处理、类型转换等关键注意事项

调用此工具不需要任何参数。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses key behavioral traits: it returns a complete syntax reference document, lists specific content included (e.g., CQL retrieval syntax, SQL analysis syntax, CLS extension functions), and states '调用此工具不需要任何参数' (no parameters needed for calling this tool). However, it doesn't mention response format, size, or potential rate limits, leaving some behavioral aspects unspecified.

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 well-structured and appropriately sized. It starts with a clear purpose and usage guideline, followed by a bulleted list of content included, and ends with the parameter note. Every sentence earns its place by providing essential information without redundancy, making it easy to scan and understand.

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?

Given the tool's complexity (providing syntax documentation), the description is complete. It details what the tool returns (a comprehensive reference with specific sections), when to use it, and that no parameters are needed. With an output schema present (as indicated by context signals), the description doesn't need to explain return values, and it adequately covers all necessary contextual aspects for a zero-parameter documentation tool.

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 tool has 0 parameters, with schema description coverage at 100%. The description explicitly states '调用此工具不需要任何参数' (no parameters needed), which adds clarity beyond the empty schema. Since there are no parameters, the baseline is 4, and the description confirms this effectively.

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 explicitly states the tool's purpose: '返回 CLS CQL 完整语法参考文档' (returns the complete CLS CQL syntax reference documentation). It distinguishes itself from sibling tools by specifying it's for CQL search syntax documentation, unlike cls_search_log (which executes queries) or other describe tools focused on alarms, dashboards, etc. The verb '返回' (return) and resource '参考文档' (reference documentation) are specific and clear.

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 provides explicit guidance on when to use this tool: '当 cls_search_log 执行报错或不确定如何编写查询语句时使用' (use when cls_search_log execution errors or unsure how to write query statements). It names the alternative tool (cls_search_log) and specifies the context (error or uncertainty in query writing), offering clear when-to-use criteria that differentiate it from siblings.

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/Tinker-LGD2026/cls-mcp-server'

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