Skip to main content
Glama

config__ShowResourceRelationsDetail

Query relationships for a specified Huawei Cloud resource by ID and direction (in/out) to inspect how it connects to other resources.

Instructions

[CONFIG] 指定资源ID,查询该资源与其他资源的关联关系,可以指定关系方向为“in”或者“out”,需要当帐号有rms:resources:getRelation权限。资源关系依赖开启资源记录器。

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": "config__ShowResourceRelationsDetail"
  }
}

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

A3.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden and does so for the two things that matter most operationally: the exact IAM permission required and the hard dependency on the resource recorder being enabled. It omits rate limits, failure modes, and what the returned relation records contain, keeping it short of a 5.

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?

One compact, front-loaded block: what it does, then the direction option, then permissions, then the prerequisite. No filler, though the run-on sentence style and bracketed [CONFIG] prefix add little for the agent.

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?

No annotations and no output schema exist, so the description must cover behavior and prerequisites, which it does for auth and the recorder dependency. The remaining gap is return-value shape (what a relation record looks like) and pagination guidance, which is partially covered by the schema's limit/marker fields.

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 the schema already defines limit, marker, direction enum, domain_id, and resource_id. The description only reinforces the direction parameter ("in" or "out") without adding format, default, or edge-case semantics beyond the schema, which is the expected baseline 3.

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 plus resource ("查询该资源与其他资源的关联关系") and scopes it to a given resource ID. It is clear what the tool does, but it never distinguishes itself from same-family lookups such as config__ShowResourceRelations or rms__ShowResourceRelationsDetail, leaving the agent to guess which one to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states preconditions rather than selection criteria: the account must hold rms:resources:getRelation and the resource recorder must be enabled. That is useful context, but there is no guidance about when to use this rather than a sibling relation or resource-detail tool.

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