Skip to main content
Glama

aom__DeleteserviceDiscoveryRules

Deletes one or more service discovery rules by rule ID within a specified project, helping clean up obsolete AOM discovery configurations.

Instructions

[AOM] 该接口用于删除服务发现规则。

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": {
      "appRulesIds": "<appRulesIds>",
      "project_id": "<project_id>"
    },
    "name": "aom__DeleteserviceDiscoveryRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户从IAM申请到的projectid,一般为32位字符串。
appRulesIdsYes发现规则ID,传多个时以逗号分隔。不允许为空。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 only says the interface deletes rules. It does not state whether deletion is permanent or reversible, whether multiple IDs are deleted atomically, what permissions are required, or what the response contains. For a destructive mutation this is a meaningful gap.

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?

A single short sentence with no wasted words, but it is under-specified rather than genuinely concise for a destructive tool. The intent is front-loaded and unambiguous, at least.

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 destructive deletion tool with no annotations and no output schema, the description leaves out reversibility, batch semantics, failure behavior, and permissions. The schema documents the inputs, but an agent would need outside knowledge to invoke this safely.

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 both project_id and appRulesIds are already documented in the schema, including the comma-separated multi-ID convention. The description adds no format or behavioral detail beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('删除服务发现规则' / delete service discovery rules), so the agent knows exactly what operation is performed. However, it does nothing to distinguish this from sibling delete tools such as aom__DeleteAlarmRules and aom__DeleteMuteRules, or to relate it to aom__AddOrUpdateServiceDiscoveryRules.

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, no mention of prerequisites (e.g., rules must exist or be unattached), and no pointer to alternatives like ListServiceDiscoveryRules for identifying IDs. The only implied usage is 'you have rule IDs and want them 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