Skip to main content
Glama

rms__ShowResourceRelations

Query a resource's relationships with other resources by resource ID and direction (in or out) to map dependencies and associations in Huawei Cloud RMS.

Instructions

[RMS] 指定资源ID,查询该资源与其他资源的关联关系,可以指定关系方向为"in" 或者"out"

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": {
      "direction": "<direction>",
      "domain_id": "<domain_id>",
      "resource_id": "<resource_id>"
    },
    "name": "rms__ShowResourceRelations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo最大的返回数量
markerNo分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
directionYes资源关系的指向
domain_idYes帐号ID
resource_idYes资源ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it says nothing about permissions/auth requirements, whether results are paginated (the schema hints at this via marker/limit but the description does not), or the shape of the response. Only the core 'query relationships with direction' behavior is conveyed.

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

Conciseness4/5

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

A single compact sentence with the resource-scoping constraint front-loaded and no filler. It is efficient, though its terseness is part of why guidance and behavior are underspecified.

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

Completeness4/5

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

For a read-only relation-query tool with fully documented parameters and no output schema obligation, the definition is nearly sufficient — an agent knows what it returns conceptually (relations of a resource).

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 100%, so all five parameters are already documented, and the description only reiterates the direction and resource ID concepts. Baseline 3 applies since the schema does the heavy lifting and the description adds no new meaning such as pagination semantics or domain_id scope.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource — query relationships of a given resource by resource ID — plus the direction qualifier. It is clearly not a generic 'show' call, though it does not distinguish itself from the sibling rms__ShowResourceRelationsDetail, which an agent would have to disambiguate on its own.

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 statement of when to use this tool versus rms__ShowResourceRelationsDetail or any other sibling, and no prerequisites or exclusions are given. The mention of in/out direction is a parameter restatement rather than scenario guidance.

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