Skip to main content
Glama

idt__DeleteByConditionXdmUser

Deletes XDM user records matching specified conditions in Huawei Cloud IDT, with optional modifier and application context for targeted cleanup.

Instructions

[IDT] deleteByCondition

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

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?

With no annotations provided, the description carries the full behavioral burden and discloses nothing: not that this is a destructive hard delete, not whether it is reversible, not the permission requirements, and not how many records a broad condition may remove. Given the sibling set contains explicit logical-delete variants, omitting this distinction is a serious gap.

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?

It is one short fragment with no wasted words, but brevity here is under-specification rather than conciseness. There is no structure, no front-loaded statement of scope, and nothing for the reader to act on.

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 destructive delete tool with a deeply nested filter schema, no annotations, and no output schema, the definition says nothing about scope, safety, or return behavior. Nothing an agent needs in order to invoke this safely 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?

The schema is large and nested with roughly 67% description coverage, and the description adds no meaning beyond what the schema already says. In particular the required appName path parameter and the nested params.condition filter are undocumented in the description, leaving the agent to infer how the condition drives which rows get deleted.

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 "[IDT] deleteByCondition" only restates the tool name; the target entity (XdmUser) is never mentioned in the description text itself, so the agent must parse the tool name to learn what is being deleted. It does convey a delete-by-filter action, but that is the bare minimum and does not distinguish it from the many sibling delete tools.

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?

There is no guidance on when to use this tool, no prerequisites, and no mention of the critical alternative in the sibling set: the ExecuteLogicalDeleteByCondition* tools that perform soft deletes. An agent cannot tell from this definition whether to hard-delete here or logically delete elsewhere.

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