Skip to main content
Glama

apig__DeleteSignatureKeyV2

Deletes a specified API Gateway signature key, removing all associated bindings and invalidating the key. Use it to revoke access tied to that signing key.

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>",
      "sign_id": "<sign_id>"
    },
    "name": "apig__DeleteSignatureKeyV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
sign_idYes签名密钥编号
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

B3.2/5.0
Behavior3/5

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

Because no annotations are provided, the description must carry the full burden of behavioral disclosure. It does explain the important cascade that bindings are removed and the key is invalidated, but it omits irreversibility, required permissions, and error behavior for a destructive call.

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 one compact sentence that front-loads the delete action and adds the cascade consequence. Nothing is wasteful, though there is no structure beyond a single clause.

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?

For a destructive 3-parameter tool with no annotations or output schema, the description covers the core effect and cascade but leaves gaps around irreversibility and permissions. Adequate for calling the tool, but not fully complete.

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?

The input schema has 100% description coverage, so the 3 path parameters (sign_id, project_id, instance_id) are already documented. The description adds no parameter-specific meaning beyond this, 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 names a specific verb and resource ('删除指定的签名密钥'), making clear that this is a delete operation on a signature key. It distinguishes the tool's scope from sibling helpers such as 'AssociateSignatureKeyV2' by naming the target key, although it does not explicitly contrast it with 'DisassociateSignatureKeyV2'.

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?

The description offers no explicit guidance on when to use this tool rather than an alternative. It implies use through the delete action and warns about cascading side effects, but never states prerequisites, confirmations, or which sibling is the right choice.

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