Skip to main content
Glama

apig__CreateSpecialThrottlingConfiguration

Adds a special throttling rule to an API gateway strategy, setting a custom maximum call limit for a specific app or tenant while retaining the strategy's general limits.

Instructions

[APIG] 流控策略可以限制一段时间内可以访问API的最大次数,也可以限制一段时间内单个租户和单个APP可以访问API的最大次数。 如果想要对某个特定的APP进行特殊设置,例如设置所有APP每分钟的访问次数为500次,但想设置APP1每分钟的访问次数为800次,可以通过在流控策略中设置特殊APP来实现该功能。 为流控策略添加一个特殊设置的对象,可以是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": {
      "call_limits": "<call_limits>",
      "object_id": "<object_id>",
      "object_type": "<object_type>",
      "strategy_id": "<strategy_id>"
    },
    "name": "apig__CreateSpecialThrottlingConfiguration"
  }
}

Input Schema

NameRequiredDescriptionDefault
object_idYes特殊APP的编号或特殊租户的账号ID
call_limitsYes流控时间内特殊对象能够访问API的最大次数限制
object_typeYes对象类型:APP/USER
strategy_idYes流控策略编号

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/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 full behavioral burden. It explains the configuration concept well but says nothing about whether creating a duplicate special setting fails or overwrites, required permissions, or what the operation returns.

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 example is genuinely clarifying, but the opening sentence is background on what throttling policies do in general rather than about this call, which delays the actual action being described. Size is acceptable but not tightly front-loaded.

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 four-required-parameter mutation with no annotations and no output schema, the description explains the domain concept but omits failure modes, idempotency, permission needs, and return shape. It is adequate to understand what will be created, less so to predict what happens when the call is made.

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 coverage is 100%, so all four parameters are already documented in the input schema, which justifies the baseline. The description adds only the notion that the special object may be an APP or a tenant, which maps loosely onto object_type but adds no new constraint or format detail.

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 the specific action (add a special setting object to a throttling policy) and the resource scope (APP or tenant exception within a policy), which lets an agent distinguish it from the list/delete/update siblings. It never cites a sibling by name, so the differentiation is inferred rather than stated.

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

Usage Guidelines4/5

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

It gives a concrete when-to-use scenario: when a specific APP (or tenant) needs a different limit than the policy-wide default, e.g. 500/min for all APPs but 800/min for APP1. There are no when-not conditions or explicit pointers to Update/Delete counterparts.

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