Skip to main content
Glama

apig__CreateSpecialThrottlingConfigurationV2

Create a special throttling configuration to limit API call frequency for a specific app or tenant within a throttle policy, setting the maximum allowed calls per object.

Instructions

[APIG] 流控策略可以限制一段时间内可以访问API的最大次数,也可以限制一段时间内单个租户和单个APP可以访问API的最大次数。

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>",
      "object_id": "<object_id>",
      "object_type": "<object_type>",
      "project_id": "<project_id>",
      "throttle_id": "<throttle_id>"
    },
    "name": "apig__CreateSpecialThrottlingConfigurationV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
object_idYes特殊APP的编号或特殊租户的账号ID
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
call_limitsYes流控时间内特殊对象能够访问API的最大次数限制
instance_idYes实例ID,在API网关控制台的“实例信息”中获取。
object_typeYes特殊对象类型
throttle_idYes流控策略的编号

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 disclosure burden, yet it never states that this is a mutating create operation, what happens on duplicate object_id/throttle_id, whether permissions or a pre-existing throttle policy are required, or what is returned. The one behavioral fact present (that limits apply within a time window to a single APP or tenant) is background context, not tool behavior.

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?

It is a single, compact sentence with no filler, but the content is misallocated: it leads with a generic definition of throttling rather than the action the tool performs, so the brevity does not translate into usefulness.

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 six-required-parameter mutating tool with no annotations and no output schema, so the description must supply the action, prerequisites, and effects. It supplies none of these, leaving an agent unable to confirm what is created or under what conditions from the description alone.

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% and all six parameters have descriptions and examples, so the schema does the documentation work. The description adds no parameter-level meaning beyond that (e.g., it does not clarify how call_limits interacts with the parent throttle_id), so the baseline 3 applies.

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 explains what a throttling policy is in general terms (limits on API access over a time window, per tenant/APP), but never states that this tool CREATES a special throttling configuration. It restates the domain concept from the title rather than giving a verb+resource for this specific operation, and it does nothing to distinguish itself from the Update/Delete/List siblings.

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 and no reference to any alternative. An agent cannot infer from the text whether to call this versus apig__UpdateSpecialThrottlingConfigurationV2, apig__CreateSpecialThrottlingConfiguration (non-V2), or the List variant; the description only describes the concept of throttling.

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