Skip to main content
Glama

apisix_list_global_rules

Read-onlyIdempotent

List global rules from Apache APISIX to retrieve plugin configurations applied globally. Supports pagination, field filtering, and detail mode.

Instructions

查询全局规则列表。有意不提供 get 工具(资源数量少,list 即可获得全部)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo页码,从 1 开始
detailNo返回完整配置(跳过投影)
fieldsNo指定字段(JSON 数组)
page_sizeNo每页条数,有效区间 [10, 500]
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and non-destructive behavior. The description adds the context that the resource count is small, which is a mild behavioral insight, but it does not disclose return format or pagination behavior. No contradiction.

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 two short sentences, front-loaded with the main action. Every word contributes to the purpose or design rationale, with no redundancy.

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?

For a simple list tool with rich annotations and fully described schema, the description covers the essential purpose and design rationale. It lacks explicit comparison to other list tools, but that is not critical given the clarity of the resource name.

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 has 100% coverage with descriptions for all four parameters (page, detail, fields, page_size). The description adds no parameter-specific semantics, so the baseline score of 3 applies.

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 directly states '查询全局规则列表' (query global rules list), a specific verb+resource. It also explicitly notes the deliberate absence of a get tool, distinguishing this tool from sibling resources that do have get tools.

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 explains that no get tool is provided because resource count is small and list suffices, implicitly guiding the agent to use this list tool rather than searching for a get tool. However, it does not explicitly compare with other list tools for different resources.

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/zhouweico/mcp-apisix'

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