Skip to main content
Glama

ram__AssociateResourceShare

Binds specified resource consumers or shared resources to a RAM resource share instance, granting access to newly added resources or consumers.

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__AssociateResourceShare"
  }
}

Input Schema

NameRequiredDescriptionDefault
resource_share_idYes资源共享实例的ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does explain the access-granting effect for newly added resources and principals, which is genuinely useful, but it omits whether the operation is additive/idempotent, what permissions are required, whether existing associations are affected, and what happens on partial failure.

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?

Two compact sentences with the effect on resources stated before the effect on principals; no filler beyond the [RAM] tag. The structure is front-loaded and readable.

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

Completeness2/5

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

For a mutation tool with no annotations and no output schema, the description should disclose permissions, reversibility, and limits. It also leaves a gap between its stated inputs (resource user list / shared resource list) and the schema's single resource_share_id, so an agent cannot tell how to actually target the principals.

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

Parameters2/5

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

Schema coverage is 100% for the single resource_share_id parameter, so the schema already documents it. Worse, the description describes binding lists of resource users and shared resources that do not exist in the input schema, so it adds no usable parameter guidance and instead implies inputs the agent cannot supply.

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 (bind/associate) and resource (resource share instance) plus the two object types being bound (resource users and shared resources), which distinguishes it from the sibling ram__AssociateResourceSharePermission. The bracketed [RAM] prefix is noise but does not obscure the purpose.

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 only implied by the associate-vs-disassociate naming of siblings; the description never states when to call this instead of ram__DisassociateResourceShare or ram__AssociateResourceSharePermission, nor any prerequisite such as ownership of the share or required permissions.

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