Skip to main content
Glama

apig__UpdateAnApp

Update an existing APIG app's name and remark, and optionally modify its key and secret when custom credentials are enabled.

Instructions

[APIG] 修改指定APP的信息。其中可修改的属性为:name、remark,当支持用户自定义key和secret的开关开启时,app_key和app_secret也支持修改,其它属性不可修改。

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

Input Schema

NameRequiredDescriptionDefault
nameYesAPP的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64个字符。
app_idYesAPP的编号
remarkNoAPP描述。字符长度不能大于255。
app_keyNoAPP的key。支持英文,数字,“_”,“-”,且只能以英文或数字开头,8 ~ 64个字符。
app_secretNo密钥。支持英文,数字,“_”,“-”,“_”,“!”,“@”,“#”,“$”,“%”且只能以英文或数字开头,8 ~ 64个字符。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the disclosure burden; it does add useful behavioral constraints, notably the immutability of all fields besides name/remark and the conditional gate on key/secret edits. It still omits permission/auth requirements, what happens to omitted optional fields, and whether the change is idempotent or reversible.

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 dense sentence that front-loads the action and then the modifiable-field list; nothing is redundant. It is slightly run-on with nested qualifying clauses, but every clause carries constraint information.

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 mutation tool with no annotations and no output schema, the description covers which fields are writable but not the response shape, required permissions, or error conditions. Adequate to attempt the call, but not fully self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description adds meaning the schema does not: app_key and app_secret are only editable under a specific switch, and every other field is read-only. That conditional rule materially changes how an agent should populate the payload.

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 and resource (修改指定APP的信息) and enumerates exactly which attributes are mutable (name, remark, and conditionally app_key/app_secret). It does not distinguish itself from the many sibling update tools such as apig__UpdateAppV2, apig__UpdateAppAcl, or apig__UpdateAppQuota, so an agent cannot route among them from this text alone.

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

Usage Guidelines3/5

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

It gives a real usage condition — app_key/app_secret can only be changed when the user-defined key/secret switch is enabled — and states other attributes are not modifiable. However, it offers no guidance on when to pick this tool over the V2 variant or the ACL/quota update tools, leaving alternative selection to inference.

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