Skip to main content
Glama

config__ShowResourceById

Retrieves detailed information for a specified Huawei Cloud Config resource using account ID, resource ID, provider, and type; requires rms:resources:get permission.

Instructions

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

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": "config__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.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:get) and the provider/type convention, which goes beyond a bare name restatement. It says nothing about what the 'detailed information' contains, error behavior for unknown resources, or whether untracked resources are handled.

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 sentence order is sensible: purpose first, then the permission requirement, then the provider/type example, then a reference link. It is somewhat long and the trailing documentation link is only marginally useful, but every sentence carries information.

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

Completeness3/5

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

For a read-only detail tool with no annotations and no output schema, the definition covers the permission gate and the parameter conventions adequately. It remains incomplete on what the returned details include and on how it differs from the neighboring ShowResourceDetail/ShowTrackedResourceDetail tools, which an agent selecting among siblings would need.

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 already 100%, so the baseline is 3. The description earns an extra point by explaining the non-obvious provider/type mapping with a concrete example (ecs.cloudservers → provider=ecs, type=cloudservers), which the schema's short field labels do not convey. The domain_id parameter is not addressed in the description.

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: given a resource ID, return that resource's detailed information. It is clear on its own, but several close siblings exist (config__ShowResourceDetail, config__ShowTrackedResourceDetail, rms__ShowResourceById) and the description does nothing to distinguish itself from them.

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 context is implied by the stated permission prerequisite (rms:resources:get) and the provider/type example, so an agent knows roughly when it can call this. However, there is no explicit when-to-use or when-not-to-use guidance relative to the many similarly named Show* siblings, leaving the choice to inference.

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