Skip to main content
Glama

idt__PatchDeleteXdmPolicyRule

Deletes multiple XDM policy rules in one batch for a specified Huawei Cloud application by rule ID, with an optional modifier.

Instructions

[IDT] batchDelete

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": {
      "appName": "<appName>"
    },
    "name": "idt__PatchDeleteXdmPolicyRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
appNameYesappName
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden, and it discloses nothing: not whether the delete is hard or logical, whether it is reversible, what permissions are required, or what happens to the nested id list on partial failure. Two words cannot cover the behavior of a destructive batch operation.

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

Conciseness2/5

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

Technically brief, but this is under-specification rather than conciseness; there is no front-loaded statement of what is deleted or under what scope. Every useful sentence is missing rather than trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

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

A destructive tool with a nested params object, no annotations, and no output schema requires far more than a two-word tag. Nothing an agent needs in order to call it safely or correctly is present.

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

Parameters2/5

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

Schema coverage is moderate (67%) and the description adds zero meaning beyond it. It does not clarify that ids is a batch list of rule identifiers, that modifier is the acting user, or how appName/applicationId scope the deletion.

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?

"[IDT] batchDelete" restates the operation (batch delete) but never names the resource being deleted; the target (XdmPolicyRule) is only inferable from the tool name. Against siblings like DeleteXDmPolicyRuleXdmPolicyRule, ExecuteLogicalDeleteByConditionXdmPolicyRule, and DeleteByConditionXdmPolicyRule, the description gives no basis for distinguishing this call.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no prerequisites, and no mention of how this differs from the many other delete variants in the sibling set (conditional delete, logical delete, execute-logical-delete). The agent must guess which deletion semantics apply.

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