Skip to main content
Glama

idt__PatchQueryRelatedObjectsXdmOperationRelation

Batch-query related objects for a Huawei Cloud application by object IDs, role, and pagination, optionally returning only the latest linked target versions.

Instructions

[IDT] batchQueryRelatedObjects

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

Input Schema

NameRequiredDescriptionDefault
paramsNo
appNameYesappName
curPageNo当前页
endIndexNo结束索引
pageSizeNo每页大小
totalRowsNo总行数
startIndexNo起始索引
totalPagesNo总页数
maxPageSizeNo最大分页数
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior2/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 discloses almost nothing. 'batchQuery' weakly implies a read operation, but it does not state read-only semantics, required permissions, pagination behavior (though eight pagination parameters exist), or what the batch result contains. The 'Patch' prefix in the name actively muddies whether this mutates or only queries.

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 is under-specification rather than conciseness: two tokens that exist only to name the operation. Nothing is front-loaded because there is nothing to front-load.

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 tool with 10 parameters, a nested object, no annotations, and no output schema, the definition is wholly inadequate. An agent cannot determine the return shape, paging contract, or safety profile from the description alone.

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 90%, so the schema itself documents appName, the nested params object (role, objectIds, latestOnly), and the pagination fields. The description contributes nothing beyond that, so the baseline of 3 applies; notably it does not clarify the nested params.role/objectIds semantics or the latestOnly M-V behavior in English.

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 is essentially the tool name restated in camelCase ('batchQueryRelatedObjects' for 'PatchQueryRelatedObjectsXdmOperationRelation'), plus an '[IDT]' namespace tag. It conveys a batch read of related objects, but adds no scope, domain detail, or differentiation from the many sibling *RelatedObjects* tools (ListRelatedObjects…, PatchQueryRelatedObjectsXdmTeamAndFolderRelation, 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 guidance, no prerequisites, and no mention of alternatives, despite roughly 30 sibling tools covering overlapping related-object query and mutation operations. An agent has nothing in the description to route between this and the near-identically named variants.

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