Skip to main content
Glama

Teamwork MCP

getPeopleUtilization.ts1.78 kB
import { getApiClientForVersion } from '../core/apiClient.js'; interface GetPeopleUtilizationParams { zoom?: 'week' | 'month' | 'last3months' | 'quarterbyweek' | 'quarterbymonth'; startDate?: string; sortOrder?: 'asc' | 'desc'; sort?: 'name' | 'percentutilization' | 'percentestimatedutilization' | 'availableminutes' | 'unavailableminutes' | 'loggedminutes' | 'billableminutes' | 'unbillableminutes' | 'billableutilization' | 'nonbillableutilization'; searchTerm?: string; reportFormat?: 'pdf'; orderMode?: 'weekly' | 'monthly'; orderBy?: 'name' | 'percentutilization' | 'percentestimatedutilization' | 'availableminutes' | 'unavailableminutes' | 'loggedminutes' | 'billableminutes' | 'unbillableminutes' | 'companycount' | 'achieved' | 'target' | 'allocatedutilization' | 'totalworkingminutes' | 'availableutilization' | 'unavailableutilization'; groupBy?: 'day' | 'week' | 'month'; endDate?: string; pageSize?: number; page?: number; skipCounts?: boolean; legacyResponse?: boolean; isReportDownload?: boolean; isCustomDateRange?: boolean; includeUtilizations?: boolean; includeTotals?: boolean; includeCollaborators?: boolean; includeClients?: boolean; includeArchivedProjects?: boolean; IncludeCompletedTasks?: boolean; userIds?: number[]; teamIds?: number[]; selectedColumns?: string[]; projectIds?: number[]; jobRoleIds?: number[]; include?: string[]; 'fields[utilizations]'?: string[]; 'fields[users]'?: string[]; companyIds?: number[]; } export async function getPeopleUtilization(params: GetPeopleUtilizationParams = {}) { const api = getApiClientForVersion('v3'); const response = await api.get('/people/utilization.json', { params }); return response.data; } export default getPeopleUtilization;

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/Vizioz/Teamwork-MCP'

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