Skip to main content
Glama

dataartsstudio__AddWorkSpaceUsers

Adds users or IAM user groups to a DataArts Studio workspace and assigns specified role IDs for access control.

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>",
      "workspace_id": "<workspace_id>"
    },
    "name": "dataartsstudio__AddWorkSpaceUsers"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes用户类型,0:添加用户;1:添加用户组
groupsNo用户组列表信息
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.3/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 only implies a mutation via the verb 'add'. It does not state required permissions, whether re-adding an existing user is an error or a no-op, whether the 'type' discriminator changes behavior (user vs. user group), or what the call returns.

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 short line with no wasted words and is trivially front-loaded, but the brevity reflects under-specification rather than economy: nothing about the operation's effect or parameters is conveyed.

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 six parameters (four required, including nested user/group arrays and a role list) and no annotations or output schema, a one-line restatement of the name is insufficient. An agent cannot tell from this text how to choose between adding users and adding user groups, nor what state the call changes.

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 every parameter including the type enum (0=user, 1=group) and role ids. The description adds nothing beyond the schema, which is acceptable at baseline but leaves the critical user-vs-group branching entirely to the schema.

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 the tool name rendered in Chinese ('添加工作空间用户' = add workspace users) with a product prefix. It identifies the verb and resource but adds no information an agent could not already derive from the name, and it gives no basis for distinguishing this from the sibling UpdateWorkSpaceUserOrGroup.

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 mention of prerequisites (project/workspace must exist, IAM users must already be present), and no indication of when to prefer UpdateWorkSpaceUserOrGroup or the related List/Show workspace tools. The agent must infer everything from the name.

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