Skip to main content
Glama

idt__DeleteXDmPolicyRuleXdmPolicyRule

Deletes an XDM policy rule by ID within a specified application, allowing removal of obsolete or unwanted policy rules from Huawei Cloud IDT.

Instructions

[IDT] delete

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__DeleteXDmPolicyRuleXdmPolicyRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
appNameYesappName
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/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 for a destructive mutation, and it discloses nothing: no permission requirements, no cascade or dependency effects, no reversibility/soft-delete semantics, no error behavior. A single word ('delete') is far below the minimum for an unannotated destructive tool.

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?

The text is short, but shortness here reflects under-specification rather than conciseness; there is no structure, no front-loaded statement of effect, and no sentence that would orient an agent before invoking a destructive call.

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?

For a delete tool with a nested object parameter, one required path parameter, no annotations, and no output schema, the description is essentially empty. Everything an agent needs to call it safely and correctly is missing.

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?

The schema covers 67% of parameters but leaves the nested 'modifier' and the top-level 'applicationId' thinly documented, and the description adds no meaning to any of them. Nothing explains what the nested 'params.id' identifies or how appName/applicationId interact with the target rule.

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] delete" only restates the verb already present in the tool name; the tag adds no semantic content. A reader still cannot tell what resource is deleted, what a 'XdmPolicyRule' delete affects, or how this differs from the many sibling delete variants (DeleteByCondition, PatchDelete, ExecuteLogicalDelete, etc.).

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, when-not-to-use, or alternative-routing guidance anywhere in the description. Given the dense cluster of delete-style siblings in the namespace, some statement about physical vs. logical/by-condition deletion would be needed; nothing is offered.

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