Skip to main content
Glama

create_team_role

Define custom team roles with specific permissions for managing access control and user privileges within your organization's team structure.

Instructions

Create a role for a specific team with custom permissions

Args: team_id: The ID of the team for which to create this role (required) user_id: Your user ID (required) name: The name of the role (required) permissions: List of permission objects with 'id' and 'isViewOnly' fields (required)

Returns: Created role object with ID and permissions

Example: create_team_role( team_id="1570", user_id="1451", name="Manager", permissions=[ {"id": 1, "isViewOnly": False}, {"id": 2, "isViewOnly": False} ] )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
team_idYes
user_idYes
nameYes
permissionsYes

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/vanman2024/multilead-mcp'

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