Skip to main content
Glama

ram__DisassociateResourceShare

Removes a specified resource user or shared resource from a Huawei Cloud RAM resource share, or lets a resource user leave the share.

Instructions

[RAM] 将指定的资源使用者或共享资源从指定的资源共享实例中移除。资源使用者也可以从指定的资源共享实例中主动退出。

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": {
      "resource_share_id": "<resource_share_id>"
    },
    "name": "ram__DisassociateResourceShare"
  }
}

Input Schema

NameRequiredDescriptionDefault
resource_share_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 exist, so the description must carry the behavioral load. It does disclose that the operation is a removal and that the affected principal can initiate it themselves, which is real semantic content. It omits whether access is revoked immediately, what happens to the share instance afterwards, required permissions, and reversibility — all material for a mutation tool with zero annotation coverage.

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

Conciseness5/5

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

Two short sentences, front-loaded with the core action and followed by the alternate actor's path. No filler or redundant restatement of the tool name.

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 single-parameter mutation with no annotations and no output schema, the description covers purpose and two actors adequately but leaves the effect of removal, permission requirements, and the missing principal/resource parameter unexplained. Enough to attempt a call, not enough to call confidently.

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?

With one fully described parameter (schema coverage 100%), the schema already documents resource_share_id, so the baseline of 3 applies. Notably, the description refers to removing a specified principal or shared resource, yet the schema exposes no parameter for selecting that principal/resource, which an agent may find confusing rather than clarifying.

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 names a specific verb (移除/remove) and both resources involved (资源使用者 / 共享资源 from 资源共享实例), so an agent can tell this is the inverse of the associate operation. It stops short of explicitly contrasting itself with siblings such as ram__DisassociateResourceSharePermission, leaving disambiguation to inference from the verb.

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 two valid scenarios: an owner removing a principal or shared resource, and a principal voluntarily leaving a share. That is useful context, but there is no explicit when-not guidance and no mention of prerequisites or how this differs from the permission-disassociation sibling.

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