Skip to main content
Glama

dataartsstudio__UpdateWorkSpaceUserOrGroup

Update users or user groups in a DataArts Studio workspace and assign roles to manage access and permissions.

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": {
      "project_id": "<project_id>",
      "roles_ids": "<roles_ids>",
      "type": "<type>",
      "user_id": "<user_id>",
      "workspace_id": "<workspace_id>"
    },
    "name": "dataartsstudio__UpdateWorkSpaceUserOrGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes用户类型,0:添加用户;1:添加用户组
groupsNo用户组列表信息
user_idYes用户id
user_idsNo用户列表信息
roles_idsYes空间角色列表
project_idYes项目id
workspace_idYes工作空间id

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 provided, so the description carries the full behavioral burden, yet it discloses nothing beyond "edit". It does not state whether role assignments replace or append, what permissions are required, whether the operation is destructive to existing members, or how the type flag (0=user, 1=group) changes behavior.

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?

It is a single, front-loaded sentence with no filler. However, its brevity comes from under-specification rather than disciplined editing, leaving the agent without usable operational detail for a complex seven-parameter mutation.

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 seven parameters, five of them required, and no annotations or output schema, the description should explain the edit's scope and the meaning of the required role and type inputs. It provides none of that, so the definition is incomplete for correct invocation.

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 enum-like role codes (r00001–r00004), id patterns, and the user/group type flag are already documented in the schema. The description adds no meaning beyond those structured fields, which matches the baseline of 3.

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 and resource ("edit workspace user or user group"), which loosely separates it from the add-oriented sibling AddWorkSpaceUsers. However, "edit" is vague: it does not say whether this assigns roles, replaces membership, or removes users, and it is essentially a translation of the tool name rather than a distinct statement of effect.

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 when-to-use guidance, no exclusion of alternatives, and no mention of prerequisites such as project/workspace/IAM setup. An agent must infer the correct call scene entirely from the name and schema.

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