Skip to main content
Glama

roma__DeleteRule

Deletes a specified ROMA rule from a Huawei Cloud instance by rule ID and project ID. Use it to remove rule configurations that are no longer needed.

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "rule_id": "<rule_id>"
    },
    "name": "roma__DeleteRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYes规则ID
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
instance_idYes实例ID

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 full responsibility for explaining behavior, and it meets none of it. It implies a destructive mutation, but it does not say whether deletion is permanent, what happens to rule dependencies or bindings, what permissions are required, or whether the call is idempotent. A single word '删除' is all the behavioral signal the agent gets.

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 extremely short, so there is no wasted wording and the product tag comes first. However, that brevity is under-specification, not conciseness. It gives the agent no information about behavior, context, or alternatives.

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?

The tool has three required identifiers and no output schema, and it is an irreversible mutation with no annotations. For all that, the agent needs to know that the action is destructive, what prerequisites it requires, and what the result looks like; the description provides none of it. The parameter schema is complete, but the behavioral and contextual information the definition should add is absent.

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%. All three required parameters (instance_id, project_id, rule_id) are documented in the schema, including how to obtain project_id. The description adds no parameter meaning, which is acceptable here because the schema already covers all parameters, so the baseline score applies.

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 '[ROMA] 删除规则' just restates the tool name DeleteRule in Chinese. It names a verb and a resource, but adds nothing beyond the title except a product tag. It also never distinguishes this tool from the other rule tools in the roma family (CreateRule, UpdateRule, ShowRule, DebugRule), so an agent must infer that it deletes.

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?

The description gives no guidance on when to use this tool, when not to, or which related tool to use instead. Deletion is irreversible, which makes it important to say when not to call it, but nothing is said. Only the most obvious reading is possible: use this tool when you want a rule gone.

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