Skip to main content
Glama

add_workspace_member

Add users to workspaces with specific roles to manage team access and permissions in Portkey Admin.

Instructions

Add a user to a workspace with a specific role

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspace_idYesThe workspace ID to add the member to
user_idYesThe user ID to add (must be a valid UUID from list_all_users, not an email address)
roleYesRole in the workspace
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It states the tool performs an addition operation, implying a mutation, but fails to mention critical aspects like required permissions, whether the action is idempotent, error conditions (e.g., duplicate members), or response format. This leaves significant gaps in understanding how the tool behaves in practice.

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?

The description is a single, direct sentence that efficiently conveys the core action without unnecessary words. It is front-loaded with the main purpose, making it easy to parse quickly, and every part of the sentence contributes essential information.

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?

Given the tool's complexity (a mutation with no annotations and no output schema), the description is insufficient. It lacks details on behavioral outcomes, error handling, permissions, and how it relates to sibling tools. For a tool that modifies workspace membership, more context is needed to ensure safe and correct usage by an AI agent.

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 clear parameter descriptions in the input schema (e.g., user_id must be a UUID from list_all_users). The description adds no additional semantic context beyond what the schema provides, such as explaining role implications or workspace constraints. Thus, it meets the baseline but does not enhance parameter understanding.

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 clearly states the action ('Add a user to a workspace') and specifies the resource ('with a specific role'), making the purpose unambiguous. However, it does not explicitly differentiate from sibling tools like 'invite_user' or 'update_workspace_member', which might involve similar user-management functions, so it misses the highest score.

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?

The description provides no guidance on when to use this tool versus alternatives, such as 'invite_user' (which might handle external invitations) or 'update_workspace_member' (which might modify existing members). It also lacks prerequisites, like requiring admin permissions or valid user IDs from 'list_all_users', leaving usage context unclear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/s-b-e-n-s-o-n/portkey-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server