Skip to main content
Glama

rms__ShowResourceRelationsDetail

Retrieves inbound or outbound relationships for a specified resource ID, helping you inspect how cloud resources connect and depend on each other.

Instructions

[RMS] 指定资源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": "rms__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.5/5.0
Behavior3/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. It usefully discloses the required permission (rms:resources:getRelation) and that direction is caller-selectable, but it says nothing about pagination behavior, default page size, or what the returned relation records contain.

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 that leads with the resource scope, then the direction option, then the permission prerequisite. Nothing is redundant, though the trailing permission clause would read better as a separate prerequisite line.

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 five-parameter read tool with no output schema, the description covers purpose, direction semantics, and the authorization prerequisite. The one real gap is that, with no output schema present, it never describes the shape of returned relations or how marker-based paging surfaces in the response.

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, including the direction enum and the limit/marker pagination pair. The description adds the semantic meaning of 'in' versus 'out' at a high level but no format or constraint detail beyond the schema, so the baseline applies.

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?

States a specific verb and resource: query the relation set of one resource, identified by resource_id, with a selectable direction. It is clear what the tool returns conceptually, but the 'Detail' suffix versus the sibling rms__ShowResourceRelations is never explained, so an agent cannot tell the two apart from the description alone.

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?

Usage is implied rather than stated: you use it when you have a resource ID and want its in/out relations. There is no explicit when-not, no mention of the sibling ShowResourceRelations, and no guidance on choosing between the rms__ and config__ counterparts.

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