Skip to main content
Glama

manage_workspace

Configure workspace settings, retrieve usage data, and manage workspace details with predefined actions for organizing and maintaining Tally MCP server environments.

Instructions

Manage workspace settings and information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform on workspace
settingsNo

Implementation Reference

  • Main handler implementation for manage_workspace tool via WorkspaceManagementTool class methods
    export class WorkspaceManagementTool { private workspaceService: WorkspaceService; constructor(apiClientConfig: TallyApiClientConfig = {}) { this.workspaceService = new WorkspaceService(apiClientConfig); } public async listWorkspaces(options: { page?: number; limit?: number } = {}): Promise<TallyWorkspacesResponse> { return this.workspaceService.getWorkspaces(options); } public async getWorkspaceDetails(workspaceId: string): Promise<TallyWorkspace> { return this.workspaceService.getWorkspace(workspaceId); } public async inviteUserToWorkspace(workspaceId: string, email: string, role: UserRole): Promise<any> { return this.workspaceService.inviteUser(workspaceId, email, role); } public async removeUserFromWorkspace(workspaceId: string, userId: string): Promise<any> { return this.workspaceService.removeUser(workspaceId, userId); } public async updateUserRoleInWorkspace(workspaceId: string, userId: string, role: UserRole): Promise<any> { return this.workspaceService.updateUserRole(workspaceId, userId, role); } }
  • Dispatch handler in _handleToolsCall method for the manage_workspace tool
    case 'manage_workspace': if (args && args.action === 'get_info') { const workspaceInfo = await this.tools.workspaceManagement.listWorkspaces(); return { content: [ { type: 'text', text: JSON.stringify(workspaceInfo, null, 2) } ] }; } return { content: [ { type: 'text', text: 'Workspace management functionality is being implemented' } ] };
  • Registration and instantiation of all tool instances including WorkspaceManagementTool
    workspaceManagement: new WorkspaceManagementTool(apiClientConfig), template: new TemplateTool(), form_creation: new FormCreationTool(apiClientConfig), form_modification: new FormModificationTool(apiClientConfig), form_retrieval: new FormRetrievalTool(apiClientConfig), form_sharing: new FormSharingTool(tallyApiClient), form_permissions: new FormPermissionManager(apiClientConfig), submission_analysis: new SubmissionAnalysisTool(apiClientConfig), diagnostic: new DiagnosticTool(), }; this.log('info', 'Tools initialized.');
  • Input schema definition for manage_workspace tool in tools list
    name: 'manage_workspace', description: 'Manage workspace settings and information', inputSchema: { type: 'object', properties: { action: { type: 'string', enum: ['get_info', 'update_settings', 'list_members'], description: 'Action to perform on the workspace' }, settings: { type: 'object', properties: { name: { type: 'string', description: 'Workspace name' }, description: { type: 'string', description: 'Workspace description' } } } }, required: ['action'] } },
  • Supporting service class that delegates workspace operations to TallyApiClient
    export class WorkspaceService { private apiClient: TallyApiClient; constructor(config: TallyApiClientConfig = {}) { this.apiClient = new TallyApiClient(config); } public async getWorkspaces(options: { page?: number; limit?: number } = {}): Promise<TallyWorkspacesResponse> { return this.apiClient.getWorkspaces(options); } public async getWorkspace(workspaceId: string): Promise<TallyWorkspace> { return this.apiClient.getWorkspace(workspaceId); } public async inviteUser(workspaceId: string, email: string, role: UserRole): Promise<any> { return this.apiClient.inviteUserToWorkspace(workspaceId, email, role); } public async removeUser(workspaceId: string, userId: string): Promise<any> { return this.apiClient.removeUserFromWorkspace(workspaceId, userId); } public async updateUserRole(workspaceId: string, userId: string, role: UserRole): Promise<any> { return this.apiClient.updateUserRole(workspaceId, userId, role); } }

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/learnwithcc/tally-mcp'

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