Skip to main content
Glama

idt__UpdateByConditionXdmAspect

Updates XDM aspect instances that match specified filter conditions in a Huawei Cloud application. Use it to modify aspect attribute values in bulk by query criteria instead of by individual entity ID.

Instructions

[IDT] updateByCondition

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

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 supplied, so the description carries the full behavioral burden for a mutation tool, and it discloses nothing: not what records are affected, whether the update is idempotent, whether it can affect multiple rows via the condition block, what permissions are required, or what happens to fields omitted from updateDTO.

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 short, but that shortness is under-specification rather than economy; the single bracketed tag plus a camelCase phrase conveys no actionable information and is not front-loaded with any purpose statement.

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?

Against a deeply nested three-parameter mutation schema with a condition subtree and a full update DTO, no annotations, and no output schema, a three-word description is wholly inadequate. An agent has no basis for deciding what to put in condition versus updateDTO or what side effects to expect.

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 description adds no meaning beyond the input schema, which itself is only 67% described and leaves the top-level appName and applicationId undocumented. The critical distinction between the 'condition' selector and the 'updateDTO' payload — the whole point of this tool — must be inferred entirely from the nested schema field names.

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] updateByCondition" merely restates the tool name in camelCase with a bracketed product tag; it names no resource (XdmAspect is only in the identifier, not the prose) and gives no indication of what an 'aspect' record is or what 'by condition' means operationally. An agent cannot distinguish this from PatchUpdateXdmAspect or UpdateXdmAspect on the basis of the description.

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 when-to-use guidance, no precondition, and no mention of the many siblings (UpdateXdmAspect, PatchUpdateXdmAspect, the DeleteByCondition family). The description does not even hint at when a condition-based bulk update is preferred over a patch or single-record update.

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