Skip to main content
Glama

apig__ResettingAppSecretV2

Resets the secret for a specified API Gateway app, enabling credential rotation after exposure or scheduled security updates.

Instructions

[APIG] 重置指定APP的密钥。

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": {
      "app_id": "<app_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "apig__ResettingAppSecretV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYes应用编号
app_secretNo密钥。支持英文,数字,“_”,“-”,“!”,“@”,“#”,“$”,“%”,且只能以英文或数字开头,8 ~ 128个字符。用户自定义APP的密钥需要开启配额开关。
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?

With no annotations supplied, the description carries the full behavioral burden, and it does not meet it. A secret reset is a destructive, client-breaking mutation, yet the description says nothing about irreversibility, required permissions or quota switches, or what happens to consumers using the old secret. The schema also shows app_secret as optional, implying a server-generated value when omitted, which the description never clarifies.

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 zero filler and no redundancy. Its brevity is efficient rather than padded, though the terseness borders on under-specification for a mutation operation.

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 a destructive mutation tool with no annotations, no output schema, and no explanation of the return value or the effect on existing clients. Given that complexity, one sentence naming only the resource is insufficient for an agent to invoke it safely.

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%, so all four parameters (app_id, app_secret, project_id, instance_id) are already documented in the schema with constraints and examples. The description adds no additional meaning about parameter interaction, such as what omitting app_secret does. Baseline 3 applies when the schema does the heavy lifting.

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 ('重置指定APP的密钥' – reset the secret of the specified APP), so the operation is unambiguous. However, it gives no hint of how this differs from the near-identically named sibling apig__ResettingTheAppSecret or roma__ResetRomaAppSecret, leaving the agent to guess which one applies to a given APP type.

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 prerequisites, and no mention of alternatives. The description never says whether the existing secret is invalidated, whether this is used for rotation versus recovery, or when the sibling reset tool should be preferred instead.

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