Skip to main content
Glama

roma__UpdateAclStrategyV2

Modify the name, type, and value of a specified ACL policy in ROMA to change access control rules; other attributes remain unchanged.

Instructions

[ROMA] 修改指定的ACL策略,其中可修改的属性为:acl_name、acl_type、acl_value,其它属性不可修改。

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": {
      "acl_id": "<acl_id>",
      "acl_name": "<acl_name>",
      "acl_type": "<acl_type>",
      "acl_value": "<acl_value>",
      "entity_type": "<entity_type>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__UpdateAclStrategyV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
acl_idYesACL策略的编号
acl_nameYesACL策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。
acl_typeYes类型
acl_valueYesACL策略值,支持一个或多个值,使用英文半角逗号分隔
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
entity_typeYes对象类型:
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses that only acl_name, acl_type and acl_value can change while the rest are immutable — meaningful context the agent cannot infer — but it does not say whether omitted/unchanged values are preserved, whether this is a full replace or a partial merge, what permissions are required, or whether the change is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that puts the mutability constraint immediately after the verb, with no filler. The "[ROMA]" service prefix and the redundant restatement that other attributes are unmodifiable cost little but are not free.

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 seven-parameter mutation tool with no annotations and no output schema, the definition covers the critical mutability question but not replace-vs-merge semantics, error conditions on attempting to change immutable fields, or what the response contains. Adequate to call correctly, but thin for a destructive operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3; the description adds genuine meaning by declaring which of the seven required parameters actually affect state versus which (acl_id, project_id, instance_id, entity_type) are identifying/locator values that cannot be modified. That distinction is not present in the schema, which marks all seven as equally required.

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 states a specific verb and resource ("修改指定的ACL策略" / modify the specified ACL policy) and enumerates exactly which attributes are mutable. It distinguishes itself from CreateAclStrategyV2 by verb alone, without explicitly naming a sibling or scope boundary, so it is clear but not fully differentiated.

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 use this tool versus alternatives (e.g. CreateAclStrategyV2, apig__UpdateAclStrategyV2, ShowDetailsOfAclPolicyV2), nor any prerequisites such as needing the ACL to already exist or a prior read. The only usage-adjacent information is the mutability constraint, which is a behavior note rather than when-to-use guidance.

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