Skip to main content
Glama

workspace__ListUserGroups

Retrieves a paginated list of user groups in a project, with optional keyword search by group name. Use it to browse or find workspace user groups.

Instructions

[WORKSPACE] 查询用户组列表,支持分页。

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

Input Schema

NameRequiredDescriptionDefault
limitNo用于分页查询,返回用户组数量限制。如果不指定或为0,则使用默认值100,从1开始,最大100。
offsetNo用于分页查询,查询的起始记录序号,从0开始,默认值0,必须与limit同时使用。
keywordNo用来匹配用户组的搜索关键字。例如根据组名模糊查询。
project_idYes项目id。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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. The verb 查询 implies a read-only operation and pagination is mentioned, but there is no disclosure of authorization requirements, default ordering, or what a response contains beyond the generic pagination note.

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?

A single short sentence with the resource named first and the pagination caveat second – nothing is wasted. It is arguably too terse rather than verbose, but structurally clean and front-loaded.

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?

For a simple four-parameter list tool with fully described schema and no output schema, the definition covers the core purpose adequately. It nonetheless leaves the distinction from sibling listing tools and any behavioral expectations unaddressed, which is the minimum viable level.

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 limit/offset/keyword/project_id are already fully documented in the schema, establishing a baseline of 3. The description only echoes pagination, adding no new meaning such as keyword matching behavior or project scoping.

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 states a specific verb and resource – querying the user-group list (查询用户组列表) – and adds that pagination is supported, so the agent knows the operation. It does not distinguish this tool from sibling list operations such as iam__KeystoneListGroupsForUser or apiexplorer__ListGroups, leaving selection to inference.

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?

Only the phrase '支持分页' hints at how the tool is used; there is no explicit statement of when to choose this tool over the many sibling list tools, nor any prerequisites. The agent receives no exclusion guidance.

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