Skip to main content
Glama

dataartsstudio__CreateSecurityResourcePermissionPolicy

Creates a DataArts Studio space resource permission policy that grants workspace users, groups, or roles access to 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_name": "<policy_name>",
      "project_id": "<project_id>",
      "resources": "<resources>"
    },
    "name": "dataartsstudio__CreateSecurityResourcePermissionPolicy"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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, yet it discloses nothing about required permissions, whether duplicates are rejected, idempotency, or side effects on existing policies. It conveys only that a create mutation occurs.

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

Conciseness3/5

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

The single bracketed sentence is front-loaded and contains no wasted words, but it is so terse that conciseness comes at the cost of all substantive detail. It is essentially a title.

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?

Four required parameters including nested member and resource arrays, no annotations, and no output schema demand more than a one-line purpose statement. Nothing tells the agent what a successful call returns or which workspace/project prerequisites must be met.

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%, with detailed Chinese descriptions for members, resources, project_id, and policy_name (including the name pattern and enum meanings for member/resource types). The description itself adds no parameter meaning beyond the schema, so the baseline 3 applies.

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

Purpose3/5

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

The description gives a verb (创建/create) and a resource (空间资源权限策略/workspace resource permission policy), so an agent can tell it creates a policy rather than showing or updating one. However, it reads as a near-translation of the tool name and adds no distinguishing scope versus sibling create tools such as CreateSecurityPermissionSet.

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 CreateSecurityPermissionSet, BatchCreateSecurityPermissionSetPermissions, or UpdateSecurityResourcePermissionPolicy. The only implied usage comes from the verb 'create' in the title-like sentence.

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