Skip to main content
Glama

apig__UpdateSignatureKeyV2

Update a specified API Gateway signature key's details—such as name, key, type, secret, or algorithm—using the instance, project, and signature key IDs.

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

Input Schema

NameRequiredDescriptionDefault
nameYes签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。
sign_idYes签名密钥编号
sign_keyNo签名密钥的key。
sign_typeNo签名密钥类型:
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
instance_idYes实例ID,在API网关控制台的“实例信息”中获取。
sign_secretNo签名密钥的密钥。
sign_algorithmNo签名算法。默认值为空,仅aes类型签名密钥支持选择签名算法,其他类型签名密钥不支持签名算法。

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 behavioral burden, yet it only says 'modify the detailed information'. It does not state which fields are mutable, whether omitted optional fields (sign_key, sign_secret, sign_type, sign_algorithm) are left unchanged or cleared, whether the change is reversible, or what permissions are required.

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. It is terse almost to a fault, but every word contributes and nothing is wasted.

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

Completeness2/5

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

This is an 8-parameter mutation tool with no annotations and no output schema, and the description does not explain the update semantics that such a tool needs. In particular, it leaves unclear whether name is always required (it appears in the required list) and what happens to fields the caller omits.

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%, including enum values and the note that sign_algorithm applies only to aes keys, so the schema already handles parameter meaning. The description adds nothing beyond that baseline, hence 3.

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 states a specific verb (修改 / modify) and resource (指定签名密钥 / the specified signature key), so the operation is identifiable at a glance. It does not distinguish this V2 variant from sibling update tools such as apig__UpdateSignatureKey or roma__UpdateSignatureKeyV2, so an agent gets no help choosing among near-identical names.

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 guidance on when to use this tool versus the Create/Delete/Associate siblings, and no statement of prerequisites such as needing an existing sign_id or the correct instance/project scope. Usage must be inferred entirely from the 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