Skip to main content
Glama

Teamwork MCP

getTasks

Retrieve and filter tasks from Teamwork projects, customize reports, and manage task details based on specific criteria, including dates, priorities, statuses, and custom fields.

Instructions

Get tasks, Return multiple tasks according to the optional provided filter.

Input Schema

NameRequiredDescriptionDefault
CustomFieldsNofilter by custom fields
allowAssigneesOutsideProjectNowhen filtering by assigned or unassigned tasks, include assignees that are not in the project.
assigneeCompanyIdsNofilter by assignee company ids
assigneeTeamIdsNofilter by assignee team ids
checkForRemindersNocheck if task has reminders
completedAfterNofilter by completed after date
completedBeforeNofilter by completed before date
completedByUserIdNofilter by completed user id
completedOnlyNoonly completed tasks
createdAfterNofilter by created after date
createdBeforeNofilter by created before date
createdByUserIdsNofilter by creator user ids
createdDateCodeNofilter by created date code
createdFilterNofilter by created filter
crmDealIdsNofilter by crm deal ids
deletedAfterNofilter on deleted after date
dueAfterNofilter after a due date
dueBeforeNofilter before a due date
endDateNofilter on end date
excludeAssigneeNotOnProjectTeamsNoexclude assignee not on project teams
excludeTagIdsNofilter by excluded tag ids
expandedIdsNothe ids of the expanded tasks
extractTemplateRoleNameNoFor tasks created in a project template it's possible to assign a role instead of people, companies or teams. This role is then stored with the task name as a prefix. When this flag is enabled it will extract the role name and return it inside a special field.
fallbackToMilestoneDueDateNoset due date as milestone due date if due date is null and there's a related milestone
fieldsCardsNoQuery parameter: fields[cards]
fieldsColumnsNoQuery parameter: fields[columns]
fieldsCommentsNoQuery parameter: fields[comments]
fieldsCompaniesNoQuery parameter: fields[companies]
fieldsCustomfieldTasksNoQuery parameter: fields[customfieldTasks]
fieldsCustomfieldsNoQuery parameter: fields[customfields]
fieldsFilesNoQuery parameter: fields[files]
fieldsGroupsNoQuery parameter: fields[groups]
fieldsLockdownsNoQuery parameter: fields[lockdowns]
fieldsMilestonesNoQuery parameter: fields[milestones]
fieldsProjectPermissionsNoQuery parameter: fields[ProjectPermissions]
fieldsProjectsNoQuery parameter: fields[projects]
fieldsTagsNoQuery parameter: fields[tags]
fieldsTaskSequencesNoQuery parameter: fields[taskSequences]
fieldsTaskgroupsNoQuery parameter: fields[taskgroups]
fieldsTasklistsNoQuery parameter: fields[tasklists]
fieldsTasksNoQuery parameter: fields[tasks]
fieldsTeamsNoQuery parameter: fields[teams]
fieldsTimersNoQuery parameter: fields[timers]
fieldsUsersNoQuery parameter: fields[users]
filterBoardColumnIdsNofilter by board column ids
filterIdNoprovide a user saved filter ID
followedByUserIdsNofilter by followed by user ids
getFilesNoget files
getSubTasksNoget sub tasks
groupByTaskgroupNogroup by taskgroup
groupByTasklistNogroup by tasklist
idsNofilter by task ids
includeNoinclude
includeAllCommentsNoinclude all comments
includeArchivedProjectsNoinclude archived projects
includeAssigneeCompaniesNoinclude companies related to the responsible user ids
includeAssigneeTeamsNoinclude teams related to the responsible user ids
includeAttachmentCommentStatsNoinclude number of unread and read comments for each file attachment
includeBlockedNofilter by include blocked
includeCommentStatsNoinclude number of unread and read comments for each task
includeCompanyUserIdsNoinclude members of the given companies
includeCompletedPredecessorsNoinclude ids of completed predecessors. It must be provided with includeRelatedTasks flag or with the predecessors sideload.
includeCompletedTasksNoinclude completed tasks
includeCustomFieldIdsNoinclude specific custom fields
includeCustomFieldsNoinclude custom fields
includeOriginalDueDateNoinclude original due date of a task
includeOverdueTasksNoinclude overdue tasks
includePrivateItemsNoinclude private items
includeRelatedTasksNoinclude ids of active subtasks, dependencies, predecessors
includeTaskIdNoinclude task id
includeTasksCountNoinclude total count of tasks for given filter
includeTasksFromDeletedListsNoinclude tasks from deleted lists
includeTasksWithCardsNoinclude tasks with cards
includeTasksWithoutDueDatesNoinclude tasks without due dates
includeTeamUserIdsNoinclude members of the given teams
includeTodayNofilter by include today
includeTomorrowNofilter by include tomorrow
includeUntaggedTasksNoinclude untagged tasks
includeUpdateNoinclude tasks latest update action
isReportDownloadNogenerate a report export.
matchAllExcludedTagsNomatch all exclude tags
matchAllProjectTagsNomatch all project tags
matchAllTagsNomatch all tags
nestSubTasksNonest sub tasks
notCompletedBeforeNofilter by projects that have not been completed before the given date
onlyAdminProjectsNoonly include tasks from projects where the user is strictly a project admin. site admins have visibility to all projects.
onlyStarredProjectsNofilter by starred projects only
onlyTasksWithEstimatedTimeNoonly return tasks with estimated time
onlyTasksWithTicketsNofilter by only tasks with tickets
onlyTasksWithUnreadCommentsNofilter by only tasks with unread comments
onlyUnplannedNoonly return tasks that are unplanned. Not assigned, no due date or missing estimated time.
onlyUntaggedTasksNoonly untagged tasks
orderByNoorder by
orderByCustomFieldIdNoorder by custom field id when orderBy is equal to custom field
orderModeNoorder mode
pageNopage number
pageSizeNonumber of items in a page
parentTaskIdNofilter by parent task ids
priorityNofilter by task priority
projectCategoryIdsNofilter by project category ids
projectCompanyIdsNofilter by company ids
projectFeaturesEnabledNofilter by projects that have features enabled
projectHealthsNofilter by project healths 0: not set 1: bad 2: ok 3: good
projectIdsNofilter by project ids
projectOwnerIdsNofilter by project owner ids
projectStatusesNofilter by project status
projectTagIdsNofilter by project tag ids
reportFormatNodefine the format of the report
reportTypeNodefine the type of the report
responsiblePartyIdsNofilter by responsible party ids
searchAssigneesNoinclude assignees in the search
searchCompaniesTeamsNoinclude companies and teams in the search term
searchTermNofilter by search term
selectedColumnsNocustomize the report by selecting columns to be displayed for planned vs actual.
showCompletedListsNoinclude tasks from completed lists
showDeletedNoinclude deleted items
skipCRMDealIdsNoskip crm deal ids
skipCountsNoSkip counts allows you to skip doing counts on a list API endpoint for performance reasons.
sortActiveFirstNosort active tasks first
startDateNofilter on start date
statusNofilter by list of task status
tagIdsNofilter by tag ids
tagsNofilter by tag values
taskFilterNofilter by a taskFilter
taskIncludedSetNofilter by task included set
taskgroupIdsNofilter by taskgroup ids
tasklistIdsNofilter by tasklist ids
tasksSelectedColumnsNocustomize the report by selecting columns to be displayed for tasks report
todayNofilter by today
updatedAfterNofilter by updated after date
updatedBeforeNofilter by updated before date
updatedByUserIdNofilter by updated user id
useAllProjectsNofilter on all projects
useFormulaFieldsNouse formula fields
useStartDatesForTodaysTasksNouse start dates for todays tasks
useTaskDateRangeNouse date range logic from table when getting the tasks

Input Schema (JSON Schema)

{ "properties": { "CustomFields": { "description": "filter by custom fields", "type": "array" }, "allowAssigneesOutsideProject": { "description": "when filtering by assigned or unassigned tasks, include assignees that are not in the project.", "type": "boolean" }, "assigneeCompanyIds": { "description": "filter by assignee company ids", "type": "array" }, "assigneeTeamIds": { "description": "filter by assignee team ids", "type": "array" }, "checkForReminders": { "description": "check if task has reminders", "type": "boolean" }, "completedAfter": { "description": "filter by completed after date", "type": "string" }, "completedBefore": { "description": "filter by completed before date", "type": "string" }, "completedByUserId": { "description": "filter by completed user id", "type": "integer" }, "completedOnly": { "description": "only completed tasks", "type": "boolean" }, "createdAfter": { "description": "filter by created after date", "type": "string" }, "createdBefore": { "description": "filter by created before date", "type": "string" }, "createdByUserIds": { "description": "filter by creator user ids", "type": "array" }, "createdDateCode": { "description": "filter by created date code", "type": "string" }, "createdFilter": { "description": "filter by created filter", "enum": [ "anytime", "today", "yesterday", "custom" ], "type": "string" }, "crmDealIds": { "description": "filter by crm deal ids", "type": "array" }, "deletedAfter": { "description": "filter on deleted after date", "type": "string" }, "dueAfter": { "description": "filter after a due date", "type": "string" }, "dueBefore": { "description": "filter before a due date", "type": "string" }, "endDate": { "description": "filter on end date", "type": "string" }, "excludeAssigneeNotOnProjectTeams": { "description": "exclude assignee not on project teams", "type": "boolean" }, "excludeTagIds": { "description": "filter by excluded tag ids", "type": "array" }, "expandedIds": { "description": "the ids of the expanded tasks", "type": "array" }, "extractTemplateRoleName": { "description": "For tasks created in a project template it's possible to assign a role instead of people, companies or teams. This role is then stored with the task name as a prefix. When this flag is enabled it will extract the role name and return it inside a special field.", "type": "boolean" }, "fallbackToMilestoneDueDate": { "description": "set due date as milestone due date if due date is null and there's a related milestone", "type": "boolean" }, "fieldsCards": { "description": "Query parameter: fields[cards]", "items": { "enum": [ "id", "displayOrder", "archived", "archivedAt", "archivedBy", "createdAt", "createBy", "updatedAt", "visible", "status", "deleteBy", "deletedAt" ], "type": "string" }, "type": "array" }, "fieldsColumns": { "description": "Query parameter: fields[columns]", "items": { "enum": [ "id", "name", "color", "displayOrder", "createdAt", "updatedAt", "settings", "sort", "sortOrder", "deletedAt", "project", "hasTriggers", "deleted", "stats", "defaultTasklist" ], "type": "string" }, "type": "array" }, "fieldsComments": { "description": "Query parameter: fields[comments]", "items": { "enum": [ "id", "objectType", "objectId", "title" ], "type": "string" }, "type": "array" }, "fieldsCompanies": { "description": "Query parameter: fields[companies]", "items": { "enum": [ "id", "name", "logoUploadedToServer", "logoImage" ], "type": "string" }, "type": "array" }, "fieldsCustomfieldTasks": { "description": "Query parameter: fields[customfieldTasks]", "items": { "enum": [ "id", "customfieldId", "value", "createdAt", "createdBy" ], "type": "string" }, "type": "array" }, "fieldsCustomfields": { "description": "Query parameter: fields[customfields]", "items": { "enum": [ "id", "projectId", "entity", "name", "description", "type", "options", "visibilities", "isPrivate", "required", "createdAt", "createdByUserId", "updatedAt", "updatedByUserId", "deleted", "deletedAt", "deletedByUserId" ], "type": "string" }, "type": "array" }, "fieldsFiles": { "description": "Query parameter: fields[files]", "items": { "enum": [ "isPrivate", "latestFileVersionNo", "versionId", "status", "description", "lockdownId", "tagIds", "changeFollowers", "commentFollowers", "originalName", "displayName", "isLocked", "lockedByUserId", "lockedDate", "size", "uploadedDate", "uploadedByUserID", "updatedAt", "deletedAt", "deletedBy", "fileSource", "projectId", "numLikes", "reactions", "versions", "downloadURL", "previewURL", "thumbURL", "relatedItems", "commentsCount", "commentsCountRead", "categoryId" ], "type": "string" }, "type": "array" }, "fieldsGroups": { "description": "Query parameter: fields[groups]", "items": { "enum": [ "late", "today", "tomorrow", "later-this-week", "next-week", "later", "no-due-date" ], "type": "string" }, "type": "array" }, "fieldsLockdowns": { "description": "Query parameter: fields[lockdowns]", "items": { "enum": [ "id", "userID", "updatedAt", "itemType", "itemID", "grantAccessTo" ], "type": "string" }, "type": "array" }, "fieldsMilestones": { "description": "Query parameter: fields[milestones]", "items": { "enum": [ "id", "name", "description", "deadline", "completed", "projectId", "createdOn", "lastChangedOn", "creatorUserId", "reminder", "private", "lockdownId", "status", "completedOn", "completerId", "percentageComplete" ], "type": "string" }, "type": "array" }, "fieldsProjectPermissions": { "description": "Query parameter: fields[ProjectPermissions]", "items": { "enum": [ "viewMessagesAndFiles", "viewTasksAndMilestones", "viewTime", "viewNotebooks", "viewRiskRegister", "viewEstimatedTime", "viewInvoices", "addTasks", "addRisks", "manageCustomFields", "addExpenses", "editAllTasks", "addMilestones", "addTaskLists", "addMessages", "addFiles", "addTime", "addNotebooks", "viewLinks", "addLinks", "canViewForms", "addForms", "viewAllTimeLogs", "setPrivacy", "projectAdministrator", "viewProjectUpdate", "addProjectUpdate", "canViewProjectMembers", "canViewProjectBudget", "canManageProjectBudget", "canViewRates", "canManageRates", "canViewSchedule", "canManageSchedule", "receiveEmailNotifications", "isObserving", "isArchived", "active", "canAccess", "inOwnerCompany", "canManagePeople", "canViewProjectTemplates", "canManageProjectTemplates" ], "type": "string" }, "type": "array" }, "fieldsProjects": { "description": "Query parameter: fields[projects]", "items": { "enum": [ "id", "name" ], "type": "string" }, "type": "array" }, "fieldsTags": { "description": "Query parameter: fields[tags]", "items": { "enum": [ "id", "name", "color", "count" ], "type": "string" }, "type": "array" }, "fieldsTaskSequences": { "description": "Query parameter: fields[taskSequences]", "items": { "enum": [ "id", "installationId", "frequency", "selectedWeekDays", "endDate", "monthlyRepeatType", "duration", "rrule" ], "type": "string" }, "type": "array" }, "fieldsTaskgroups": { "description": "Query parameter: fields[taskgroups]", "items": { "enum": [ "id", "name", "description", "displayOrder", "projectId", "status" ], "type": "string" }, "type": "array" }, "fieldsTasklists": { "description": "Query parameter: fields[tasklists]", "items": { "enum": [ "id", "name", "projectId", "milestoneId" ], "type": "string" }, "type": "array" }, "fieldsTasks": { "description": "Query parameter: fields[tasks]", "items": { "enum": [ "id", "name", "dateUpdated", "parentTaskId", "isPrivate", "status", "tasklistId", "startDate", "dueDate" ], "type": "string" }, "type": "array" }, "fieldsTeams": { "description": "Query parameter: fields[teams]", "items": { "enum": [ "id", "name", "teamLogo", "teamLogoIcon", "teamLogoColor" ], "type": "string" }, "type": "array" }, "fieldsTimers": { "description": "Query parameter: fields[timers]", "items": { "enum": [ "id", "userId", "taskId", "projectId", "description", "running", "billable", "deleted", "dateCreated", "dateDeleted", "duration", "lastStartedAt", "serverTime", "intervals" ], "type": "string" }, "type": "array" }, "fieldsUsers": { "description": "Query parameter: fields[users]", "items": { "enum": [ "id", "firstName", "lastName", "title", "email", "companyId", "company", "isAdmin", "isClientUser", "isServiceAccount", "type", "deleted", "avatarUrl", "lengthOfDay", "workingHoursId", "workingHour", "userRate", "userCost", "canAddProjects" ], "type": "string" }, "type": "array" }, "filterBoardColumnIds": { "description": "filter by board column ids", "type": "array" }, "filterId": { "description": "provide a user saved filter ID", "type": "integer" }, "followedByUserIds": { "description": "filter by followed by user ids", "type": "array" }, "getFiles": { "description": "get files", "type": "boolean" }, "getSubTasks": { "description": "get sub tasks", "type": "boolean" }, "groupByTaskgroup": { "description": "group by taskgroup", "type": "boolean" }, "groupByTasklist": { "description": "group by tasklist", "type": "boolean" }, "ids": { "description": "filter by task ids", "type": "array" }, "include": { "description": "include", "type": "array" }, "includeAllComments": { "description": "include all comments", "type": "boolean" }, "includeArchivedProjects": { "description": "include archived projects", "type": "boolean" }, "includeAssigneeCompanies": { "description": "include companies related to the responsible user ids", "type": "boolean" }, "includeAssigneeTeams": { "description": "include teams related to the responsible user ids", "type": "boolean" }, "includeAttachmentCommentStats": { "description": "include number of unread and read comments for each file attachment", "type": "boolean" }, "includeBlocked": { "description": "filter by include blocked", "type": "boolean" }, "includeCommentStats": { "description": "include number of unread and read comments for each task", "type": "boolean" }, "includeCompanyUserIds": { "description": "include members of the given companies", "type": "boolean" }, "includeCompletedPredecessors": { "description": "include ids of completed predecessors. It must be provided with includeRelatedTasks flag or with the predecessors sideload.", "type": "boolean" }, "includeCompletedTasks": { "description": "include completed tasks", "type": "boolean" }, "includeCustomFieldIds": { "description": "include specific custom fields", "type": "array" }, "includeCustomFields": { "description": "include custom fields", "type": "boolean" }, "includeOriginalDueDate": { "description": "include original due date of a task", "type": "boolean" }, "includeOverdueTasks": { "description": "include overdue tasks", "type": "boolean" }, "includePrivateItems": { "description": "include private items", "type": "boolean" }, "includeRelatedTasks": { "description": "include ids of active subtasks, dependencies, predecessors", "type": "boolean" }, "includeTaskId": { "description": "include task id", "type": "integer" }, "includeTasksCount": { "description": "include total count of tasks for given filter", "type": "boolean" }, "includeTasksFromDeletedLists": { "description": "include tasks from deleted lists", "type": "boolean" }, "includeTasksWithCards": { "description": "include tasks with cards", "type": "boolean" }, "includeTasksWithoutDueDates": { "description": "include tasks without due dates", "type": "boolean" }, "includeTeamUserIds": { "description": "include members of the given teams", "type": "boolean" }, "includeToday": { "description": "filter by include today", "type": "boolean" }, "includeTomorrow": { "description": "filter by include tomorrow", "type": "boolean" }, "includeUntaggedTasks": { "description": "include untagged tasks", "type": "boolean" }, "includeUpdate": { "description": "include tasks latest update action", "type": "boolean" }, "isReportDownload": { "description": "generate a report export.", "type": "boolean" }, "matchAllExcludedTags": { "description": "match all exclude tags", "type": "boolean" }, "matchAllProjectTags": { "description": "match all project tags", "type": "boolean" }, "matchAllTags": { "description": "match all tags", "type": "boolean" }, "nestSubTasks": { "description": "nest sub tasks", "type": "boolean" }, "notCompletedBefore": { "description": "filter by projects that have not been completed before the given date", "type": "string" }, "onlyAdminProjects": { "description": "only include tasks from projects where the user is strictly a project admin. site admins have visibility to all projects.", "type": "boolean" }, "onlyStarredProjects": { "description": "filter by starred projects only", "type": "boolean" }, "onlyTasksWithEstimatedTime": { "description": "only return tasks with estimated time", "type": "boolean" }, "onlyTasksWithTickets": { "description": "filter by only tasks with tickets", "type": "boolean" }, "onlyTasksWithUnreadComments": { "description": "filter by only tasks with unread comments", "type": "boolean" }, "onlyUnplanned": { "description": "only return tasks that are unplanned. Not assigned, no due date or missing estimated time.", "type": "boolean" }, "onlyUntaggedTasks": { "description": "only untagged tasks", "type": "boolean" }, "orderBy": { "description": "order by", "enum": [ "startdate", "createdat", "priority", "project", "flattenedtasklist", "company", "manual", "active", "completedat", "duestartdate", "alldates", "tasklistname", "tasklistdisplayorder", "tasklistid", "duedate", "updatedat", "taskname", "createdby", "completedby", "assignedto", "taskstatus", "taskduedate", "customfield", "estimatedtime", "boardcolumn", "taskgroupid", "taskgroupname", "taskgroup", "displayorder", "projectmanual", "stagedisplayorder", "stage" ], "type": "string" }, "orderByCustomFieldId": { "description": "order by custom field id when orderBy is equal to custom field", "type": "integer" }, "orderMode": { "description": "order mode", "enum": [ "asc", "desc" ], "type": "string" }, "page": { "description": "page number", "type": "integer" }, "pageSize": { "description": "number of items in a page", "type": "integer" }, "parentTaskId": { "description": "filter by parent task ids", "type": "integer" }, "priority": { "description": "filter by task priority", "type": "string" }, "projectCategoryIds": { "description": "filter by project category ids", "type": "array" }, "projectCompanyIds": { "description": "filter by company ids", "type": "array" }, "projectFeaturesEnabled": { "description": "filter by projects that have features enabled", "type": "array" }, "projectHealths": { "description": "filter by project healths 0: not set 1: bad 2: ok 3: good", "type": "array" }, "projectIds": { "description": "filter by project ids", "type": "array" }, "projectOwnerIds": { "description": "filter by project owner ids", "type": "array" }, "projectStatuses": { "description": "filter by project status", "type": "array" }, "projectTagIds": { "description": "filter by project tag ids", "type": "array" }, "reportFormat": { "description": "define the format of the report", "enum": [ "html", "pdf" ], "type": "string" }, "reportType": { "description": "define the type of the report", "enum": [ "plannedvsactual", "task", "tasktime" ], "type": "string" }, "responsiblePartyIds": { "description": "filter by responsible party ids", "type": "array" }, "searchAssignees": { "description": "include assignees in the search", "type": "boolean" }, "searchCompaniesTeams": { "description": "include companies and teams in the search term", "type": "boolean" }, "searchTerm": { "description": "filter by search term", "type": "string" }, "selectedColumns": { "description": "customize the report by selecting columns to be displayed for planned vs actual.", "type": "array" }, "showCompletedLists": { "description": "include tasks from completed lists", "type": "boolean" }, "showDeleted": { "description": "include deleted items", "type": "boolean" }, "skipCRMDealIds": { "description": "skip crm deal ids", "type": "array" }, "skipCounts": { "description": "Skip counts allows you to skip doing counts on a list API endpoint for performance reasons.", "type": "boolean" }, "sortActiveFirst": { "description": "sort active tasks first", "type": "boolean" }, "startDate": { "description": "filter on start date", "type": "string" }, "status": { "description": "filter by list of task status", "type": "array" }, "tagIds": { "description": "filter by tag ids", "type": "array" }, "tags": { "description": "filter by tag values", "type": "array" }, "taskFilter": { "description": "filter by a taskFilter", "enum": [ "all", "anytime", "completed", "created", "overdue", "today", "yesterday", "started", "tomorrow", "thisweek", "within7", "within14", "within30", "within365", "nodate", "noduedate", "nostartdate", "newTaskDefaults", "hasDate" ], "type": "string" }, "taskIncludedSet": { "description": "filter by task included set", "type": "array" }, "taskgroupIds": { "description": "filter by taskgroup ids", "type": "array" }, "tasklistIds": { "description": "filter by tasklist ids", "type": "array" }, "tasksSelectedColumns": { "description": "customize the report by selecting columns to be displayed for tasks report", "type": "array" }, "today": { "description": "filter by today", "type": "string" }, "updatedAfter": { "description": "filter by updated after date", "type": "string" }, "updatedBefore": { "description": "filter by updated before date", "type": "string" }, "updatedByUserId": { "description": "filter by updated user id", "type": "integer" }, "useAllProjects": { "description": "filter on all projects", "type": "boolean" }, "useFormulaFields": { "description": "use formula fields", "type": "boolean" }, "useStartDatesForTodaysTasks": { "description": "use start dates for todays tasks", "type": "boolean" }, "useTaskDateRange": { "description": "use date range logic from table when getting the tasks", "type": "boolean" } }, "type": "object" }

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