Skip to main content
Glama

dataartsstudio__UpdateSecurityResourcePermissionPolicy

Update a workspace resource permission policy by assigning specified members to resources such as data connections and agencies.

Instructions

[DATAARTSSTUDIO] 更新空间资源权限策略

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": {
      "members": "<members>",
      "policy_id": "<policy_id>",
      "policy_name": "<policy_name>",
      "project_id": "<project_id>",
      "resources": "<resources>"
    },
    "name": "dataartsstudio__UpdateSecurityResourcePermissionPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
membersYes成员列表。 成员包含空间用户、空间用户组、空间用户角色。空间用户、用户组获取方法请参见[获取工作空间用户信息](ListWorkspaceusers.xml),空间角色获取方法参见[获取工作空间用户角色](ListWorkspaceRoles.xml)
policy_idYes空间资源权限策略id。
resourcesYes资源对象列表。资源对象包含 数据连接, 连接获取方法详见[查询数据连接列表](ListDataconnections.xml)
project_idYesproject id
policy_nameYes策略名称:英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/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, yet it discloses nothing about permissions required, whether the members/resources arrays replace existing assignments wholesale, whether the update is reversible, or how errors are surfaced. For a mutation tool with nested list payloads, this is a serious gap.

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

Conciseness2/5

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

The single phrase is brief but under-specified rather than concise; the brevity reflects missing content, not efficient communication. A front-loaded purpose statement and replacement-semantics note would cost little and add much.

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

Completeness1/5

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

A five-parameter, fully required mutation with nested member and resource lists, no annotations, and no output schema demands far more than a four-word phrase. Nothing about side effects, required auth scope, or list-replacement behavior is covered.

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%, so the schema already documents policy_id, policy_name, members, resources, and project_id in detail, including enum values and cross-references. The description adds no meaning beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "更新空间资源权限策略" is essentially a Chinese restatement of the tool name, giving only a generic verb+resource with no detail beyond the title. It does not distinguish this mutation from siblings such as CreateSecurityResourcePermissionPolicy, ShowSecurityResourcePermissionPolicy, or BatchDeleteSecurityResourcePermissionPolicies.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the Create, Show, or BatchDelete siblings, nor any prerequisite or precondition information. The agent must infer everything from the name alone.

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