Skip to main content
Glama

apig__CreateAppQuota

Creates an API Gateway credential quota to limit access calls within a specified time interval and unit for a project and instance.

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

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网关控制台的“实例信息”中获取。
time_intervalYes流控的限定时间值

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire behavioral burden, and it discloses essentially nothing: no note that this is a mutation, no permission or scope requirements, no conflict/duplicate-name behavior, no statement about what a created quota affects. The only behavioral hint, that it creates something, is already implied by the tool name.

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

Conciseness3/5

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

The single short phrase is front-loaded and contains no filler, so it is not verbose in a structural sense. But it is terse to the point of under-specification, and the bracketed [APIG] prefix carries no meaning for an invoking agent.

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?

For an eight-parameter, six-required mutation tool with no annotations and no output schema, a six-word phrase is far short of what an agent needs to call it confidently. The rich schema partially compensates for missing parameter detail, but nothing covers permissions, side effects, or expected result.

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 eight parameters are already documented in the schema, and the baseline of 3 applies. The description adds no interpretation of the interplay between time_interval, time_unit, and reset_time, which is the one place extra prose would have real value.

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

Purpose3/5

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

The description gives a verb+resource (创建凭据配额 / create credential quota), so the basic action is identifiable. However, it does not clarify that this is an access-rate/quota throttling object tied to a credential, nor does it differentiate from siblings such as apig__UpdateAppQuota or apig__DeleteAppQuota. It is minimally specific rather than genuinely clear.

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. An agent cannot tell from the description whether to reach for CreateAppQuota versus UpdateAppQuota when a quota already exists, or how it relates to AssociateAppsForAppQuota.

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