Skip to main content
Glama

roma__UpdateAppAcl

Updates a ROMA application's client access control by setting the ACL type and IP, IP-range, or CIDR values for a specified instance and project.

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": {
      "app_acl_type": "<app_acl_type>",
      "app_acl_values": "<app_acl_values>",
      "app_id": "<app_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__UpdateAppAcl"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYes应用编号
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID
app_acl_typeYes类型
app_acl_valuesYesACL策略值,支持IP、IP范围和CIDR方式。IP范围以英文中划线分隔。

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. "设置" implies a write, but it does not say whether the supplied app_acl_values replace the existing ACL wholesale or merge with it, what permissions are needed, or whether the change is reversible. For a security-sensitive ACL mutation this is a significant omission.

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 front-loaded sentence with no filler, but the brevity is under-specification rather than economy given the tool performs a security-relevant mutation with five required parameters.

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?

With no annotations, no output schema, and five mandatory identifiers, the description should at least cover mutation semantics and permission requirements. It provides none of that, leaving the agent with only the schema to work from.

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%, including an example showing IP, IP-range and CIDR forms for app_acl_values, so the schema does the heavy lifting. The description adds nothing beyond it, which meets the baseline 3 for a fully documented schema.

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 states a verb ("设置"/set) and a resource ("客户端配置的访问控制"/client config access control), but it largely restates the tool name UpdateAppAcl. It gives no hint of which ACL model is being written (IP/CIDR allow-list, per the schema) or how it differs from siblings such as apig__UpdateAppAcl or roma__UpdateAclStrategyV2.

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 statement of prerequisites (project/instance/app IDs are all required), and no pointer to alternatives like DeleteAppAcl or ShowDetailsOfAppAcl. The agent must infer the call context entirely from the name and schema.

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