Skip to main content
Glama

apig__ListApis

List and filter APIs in Huawei Cloud API Gateway to retrieve API details and publishing information for inventory or auditing, without returning backend service configuration.

Instructions

[APIG] 查看API列表,返回API详细信息、发布信息等,但不能查看到后端服务信息。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "apig__ListApis"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoAPI编号
nameNoAPI名称
typeNoAPI类型
limitNo每页显示的条数,默认值:20
env_idNo发布的环境编号
offsetNo页码,默认值:1
req_uriNo请求路径
group_idNoAPI分组编号
auth_typeNo授权类型
req_methodNo请求方法
req_protocolNo请求协议
precise_searchNo指定需要精确匹配查找的参数名称,目前仅支持name、req_uri

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does add one genuinely useful scope limit: backend service information is not visible in the results. However, it says nothing about pagination behavior, ordering, permissions, or result volume, leaving significant behavioral gaps for a 12-parameter 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single compact sentence with the resource and the result scope front-loaded, and no filler. Slightly dense because three clauses are packed into one line, but nothing is wasted.

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 read-only list tool with a fully documented 12-parameter schema and no output schema, the description covers purpose and the main result-scope limitation. The missing pieces (pagination semantics, filter interaction, when to prefer a scoped sibling) are real but modest given the rich schema.

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 description coverage is 100% and all 12 parameters carry Chinese descriptions with examples, so the schema does the heavy lifting. The description adds no additional meaning about how filters like env_id, precise_search, or group_id interact or which are commonly combined, which is the baseline 3 case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("查看API列表" / list APIs) and states what the results contain (API details, publish info), which is more than a restatement of the name. It does not distinguish this general listing from siblings such as apig__ListAPIsOfAPIGroup or apig__ListApisV2, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no mention of alternatives, despite a crowded sibling set of group-scoped, app-bound, and policy-bound list tools. The only implicit guidance is that this is the unfiltered list endpoint, which the agent must infer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools