Skip to main content
Glama

apig__ListInstanceFeatures

Retrieves the list of features supported by a specified API Gateway instance, with pagination, to verify available capabilities.

Instructions

[APIG] 查询实例支持的特性列表。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "apig__ListInstanceFeatures"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
offsetNo偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
instance_idYes实例ID,在API网关控制台的“实例信息”中获取。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/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 and mostly fails it. '查询' implies a read-only list, but nothing states permission requirements, whether results are paginated in the response (the schema only defines request-side limit/offset), or what happens with an invalid instance_id.

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 front-loaded sentence with no filler or redundant restatement of the title. It is efficient, though its brevity contributes to the gaps noted in other dimensions rather than reflecting deliberate trimming.

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

Completeness3/5

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

The tool is simple (a paginated read with four well-documented parameters), and the schema covers inputs thoroughly, so the description is not grossly inadequate. Still, with no annotations and no output schema, the agent gets no sense of what a 'feature' record contains or how paging behaves.

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%, with limit, offset, project_id, and instance_id all documented including defaults, ranges, and where to obtain the IDs. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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 gives a clear verb+resource: query (查询) the list of features supported by an instance. An agent knows exactly what it retrieves. However, it does nothing to differentiate this from the sibling apig__ListFeaturesV2, which by name alone appears to cover a similar resource.

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 when-to-use guidance, no mention of prerequisites (instance must exist/be reachable), and no pointer to the sibling apig__ListFeaturesV2 as an alternative. The agent must infer the selection criteria entirely from the tool name.

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