Skip to main content
Glama

ram__AssociateResourceSharePermission

Binds or replaces a shared resource permission for a resource type in a resource share instance, ensuring one permission per type and requiring no existing resources of that type before binding.

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

Input Schema

NameRequiredDescriptionDefault
resource_share_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?

With no annotations at all, the description must carry the whole burden. It does disclose mutation semantics (bind or replace) and the one-permission-per-resource-type uniqueness rule, which is useful behavior beyond the schema, but it says nothing about required permissions, reversibility of a replacement, or what happens to the pre-existing permission.

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?

Three short sentences with the action stated first, followed by the uniqueness rule and the precondition. No filler or repetition; only the third sentence's conditional phrasing is slightly redundant with the second.

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?

There are no annotations and no output schema, and this is a mutating operation, so the description should be more explicit about what is replaced and what the caller needs. It covers the key constraint well, but the gap between the described permission/resource-type inputs and the single-parameter schema leaves an agent unsure how to specify the permission to bind.

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% for the single resource_share_id path parameter, so the baseline is 3. The description adds no syntax or format detail about that ID, and it discusses binding a permission for a resource type even though no such parameter appears in the schema, which adds ambiguity rather than clarity.

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 uses a specific verb pair and resource scope: bind or replace the shared-resource permission tied to a resource type inside a resource share instance. This is distinguishable from the sibling ram__AssociateResourceShare (which associates principals/resources rather than permissions). It does not explicitly name a sibling to contrast against, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a concrete precondition: a new permission can be bound only when the share currently contains no resources of that type, and it states that each resource type may hold exactly one permission (so the operation may replace). It does not point at alternatives such as DisassociateResourceSharePermission when the precondition fails, leaving the agent to infer the fallback.

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