Skip to main content
Glama

roma__CreateSpecialThrottlingConfigurationV2

Creates a special throttling configuration to limit API access for a specific app or tenant within a ROMA throttling policy, enabling per-object call caps.

Instructions

[ROMA] 流控策略可以限制一段时间内可以访问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": "roma__CreateSpecialThrottlingConfigurationV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
object_idYes特殊APP的编号或特殊租户的帐号ID
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
call_limitsYes流控时间内特殊对象能够访问API的最大次数限制
instance_idYes实例ID
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 supplied, so the description carries the full behavioral burden, yet it discloses nothing about this being a mutating write, permission/authorization requirements, whether re-creating for the same object fails or overwrites, or what happens to existing configurations. The only value added is a loose explanation of what a rate limit means, which indirectly contextualizes the call_limits parameter.

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 wasted clauses, but it is front-loaded with generic domain theory rather than the action the agent needs. Conciseness is fine; usefulness of the content is the weakness.

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 a six-required-parameter mutation tool with no annotations and no output schema, the description should state the effect of creation, prerequisites, and at least a hint about the created object's identity. Instead it only defines the throttling concept, leaving the agent without enough to invoke this confidently beyond reading the schema.

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 six parameters (including object_type's APP/USER enum) are already documented in the schema, making 3 the baseline. The description's rate-limit explanation loosely parallels call_limits but adds no format, constraint, or relationship detail (e.g., how throttle_id and object_id must correspond) beyond the schema.

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 does in general ('can limit the maximum number of times an API can be accessed within a period'), but never states that this tool CREATES a special throttling configuration, nor for whom (a specific APP or tenant). The verb must be inferred entirely from the tool name, and nothing distinguishes it 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 guidance on when to call this versus roma__UpdateSpecialThrottlingConfigurationV2 or roma__CreateRequestThrottlingPolicyV2, nor any stated prerequisite such as the throttle policy or target APP/tenant already existing. The description is purely conceptual, leaving the agent to infer usage conditions.

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