Skip to main content
Glama

apig__UpdateAppQuota

Modify an APIG credential quota by updating its name, access call limit, and time interval for a specified instance and project.

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": {
      "app_quota_id": "<app_quota_id>",
      "call_limits": "<call_limits>",
      "instance_id": "<instance_id>",
      "name": "<name>",
      "project_id": "<project_id>",
      "time_interval": "<time_interval>",
      "time_unit": "<time_unit>"
    },
    "name": "apig__UpdateAppQuota"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头
remarkNo参数说明和描述。
time_unitYes限定时间单位:SECOND:秒、MINUTE:分、HOUR:时、DAY:天
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
reset_timeNo首次配额重置时间点,不配置默认为首次调用时间计算
call_limitsYes凭据配额的访问次数限制
instance_idYes实例ID,在API网关控制台的“实例信息”中获取。
app_quota_idYes凭据配额编号
time_intervalYes流控的限定时间值

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/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 and provides none of it. It does not state that this is a destructive/overwriting mutation, what permissions are required, whether lowering call_limits affects in-flight traffic, or what happens to unspecified fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short phrase with no wasted words, but the brevity reflects under-specification rather than economy. There is no structure to front-load because there is essentially no content.

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

Completeness1/5

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

For a 9-parameter, 7-required mutation tool with no annotations and no output schema, the description is completely inadequate. An agent cannot determine safe usage, expected effects, or error conditions from this definition.

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 nine parameters (including name pattern, time_unit enum, call_limits, time_interval, reset_time) are already documented in the schema. The description adds no meaning beyond that, which is acceptable at the baseline for high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '修改凭据配额' (modify credential quota) merely restates the tool name UpdateAppQuota in Chinese. It conveys that this is a mutation of a quota resource, but adds no scope, no distinguishing detail versus siblings like roma__UpdateAppQuota, and no indication of what aspect of the quota is modified.

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

Usage Guidelines1/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 such as apig__CreateAppQuota or apig__ShowAppQuota. The agent must infer everything from the name and schema alone.

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