Skip to main content
Glama

roma__CreateAppQuota

Creates a client app quota on a ROMA instance to cap API call limits over a defined time interval. Use it to control request rates per client by setting call limits, time units, and optional reset times.

Instructions

[ROMA] 创建客户端配额

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": "roma__CreateAppQuota"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头
remarkNo参数说明和描述。
time_unitYes限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
reset_timeNo首次配额重置时间点,不配置默认为首次调用时间计算
call_limitsYes客户端配额的访问次数限制
instance_idYes实例ID
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 full burden. 'Create' implies a mutation, but nothing is said about permission requirements, whether the quota name must be unique, what happens on failure, or how the new quota interacts with app bindings — all behaviorally significant for a quota-management tool.

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 description is a single short phrase with no wasted words, but it is under-specified rather than concise. 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.

Completeness2/5

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

This is an 8-parameter, 6-required mutation tool with no annotations and no output schema. The description says nothing about what a client quota is in this API, the semantics of the call_limits/time_interval combination, or the optional reset_time, leaving the agent without the conceptual context needed to invoke it confidently.

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 every parameter (including name pattern, time_unit enum, and reset_time) is already documented in the schema. The description adds no meaning beyond that, which meets the baseline for high-coverage schemas but nothing more.

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 'Create a client quota' names a specific verb and resource, so the basic operation is identifiable. However, it gives no detail about what a client quota governs (rate limiting vs. app binding) and offers nothing to distinguish it from siblings like roma__UpdateAppQuota or roma__ShowAppQuota beyond the verb.

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 such as UpdateAppQuota for modifying an existing quota. The agent must infer everything from the name 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