Skip to main content
Glama

list_workspace_members

Read-onlyIdempotent

Lists workspace members with organization and workspace roles, status, and timestamps. Filter by role or email to locate a user_id before updating or removing a member.

Instructions

List every member in a workspace with organization role, workspace role, status, and timestamps. Use this to find a user_id before get_workspace_member, update_workspace_member, or remove_workspace_member.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleNoFilter by workspace role
emailNoFilter by member email
page_sizeNoNumber of members per page
current_pageNoZero-based page number
workspace_idYesThe workspace ID to list members for

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesWhether the tool call succeeded and returned structured data
dataNoStructured success payload when ok is true
errorNoStructured error payload when ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.11.5
    • addedInput schema / properties / current_page
      Added value: +{
      +  "description": "Zero-based page number",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / email
      Added value: +{
      +  "description": "Filter by member email",
      +  "format": "email",
      +  "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / page_size
      Added value: +{
      +  "description": "Number of members per page",
      +  "exclusiveMinimum": 0,
      +  "maximum": 100,
      +  "type": "integer"
      +}
    • addedInput schema / properties / role
      Added value: +{
      +  "description": "Filter by workspace role",
      +  "enum": [
      +    "admin",
      +    "manager",
      +    "member"
      +  ],
      +  "type": "string"
      +}
  2. Addedv1.0.1
  3. Removed
  4. First observed

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. The description adds useful context about returned fields and the user_id lookup use case, but it does not disclose behavioral details like pagination defaults or response limits beyond what the schema already provides.

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

Conciseness5/5

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

Two sentences, zero filler. The first sentence states the action and result fields; the second sentence gives a concrete workflow purpose. It is front-loaded and every clause contributes value.

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

Completeness5/5

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

The description plus a 100%-covered schema and strong annotations is complete for a read-only list tool. It identifies the required workspace_id, optional filters, pagination parameters, output fields, and the follow-up operations it supports. No critical information needed to select or invoke the tool is missing.

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 workspace_id, role, email, page_size, and current_page all described in the input schema. The description does not add semantic meaning to the parameters themselves, so it earns the baseline score rather than extra credit.

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

Purpose5/5

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

The description uses a specific verb ('List'), a clear resource ('every member in a workspace'), and names the returned fields ('organization role, workspace role, status, and timestamps'). It also distinguishes itself from singular member operations like get_workspace_member by framing itself as the enumeration step.

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

Usage Guidelines4/5

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

The description explicitly says to use this tool to find a user_id before get_workspace_member, update_workspace_member, or remove_workspace_member, giving concrete invocation context. It does not, however, contrast itself with other list tools such as list_all_users or state when not to use it, so it stops short of full 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