Skip to main content
Glama

rms__ShowResourceById

Retrieve detailed information for a specific Huawei Cloud resource using its domain ID, provider, type, and resource ID; requires RMS get permission.

Instructions

[RMS] 指定资源ID,返回该资源的详细信息,需要当前用户有rms:resources:get权限。比如查询云服务器,对应的RMS资源类型是ecs.cloudservers,其中provider为ecs,type为cloudservers。RMS支持的服务和资源类型参见支持的服务和区域。

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": {
      "domain_id": "<domain_id>",
      "provider": "<provider>",
      "resource_id": "<resource_id>",
      "type": "<type>"
    },
    "name": "rms__ShowResourceById"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes资源类型名称
providerYes云服务名称
domain_idYes帐号ID
resource_idYes资源ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the required permission (rms:resources:get) and the provider/type addressing convention, but says nothing about behavior on a missing resource, cross-account access via domain_id, or what the returned detail contains.

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?

The description is short and front-loaded: purpose first, then the permission requirement, then a concrete example, then a documentation pointer. Every sentence carries information; the only mild cost is the external link, which is still actionable.

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?

All four required parameters are fully documented in the schema, and the description supplies the permission model and the provider/type mapping an agent needs to construct a correct call. The remaining gap is the absence of any return-value characterization, though the tool is a simple lookup with no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, and the description genuinely adds meaning: it explains that provider is the cloud service name (ecs) and type is the resource type (cloudservers), and shows how they compose into an RMS resource type. It does not elaborate on domain_id semantics beyond the schema's 'account ID'.

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 states a specific verb and resource: return the detailed information of a resource identified by resource ID. It is clearly a single-resource lookup, distinguishable in spirit from list/relations siblings, though it never explicitly names how it differs from rms__ShowResourceDetail or rms__ShowResourceRelations.

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 gives an implied usage context (query a resource such as an ECS instance) and a prerequisite (the caller must hold rms:resources:get), plus a pointer to the supported services/regions list. There is no explicit when-to-use versus when-not-to-use guidance against the many sibling Show* tools.

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