BlueSuite Developers
MCPTool reference

Timesheets

BlueSuite MCP tools for timesheets

See connection and authentication and workflow rules before calling these tools.

Related REST API and behavior.

list_timesheets

List timesheets with optional pagination and filters

Parameters

FieldType / accepted valuesRequiredDetails
pageintegerNoPage number (default: 1)
per_pageintegerNoResults per page (default: 25) minimum: 1. maximum: 100.
searchstringNoSearch timesheets
sort_by"id", "status", "start_date", "end_date", "created_at", "modified_at"NoField to sort by. Unknown values fall back to the default sort.
sort_direction"asc", "desc"NoSort direction
start_datestringNoFilter: start date (YYYY-MM-DD)
end_dateJSON valueNoFilter: end date (YYYY-MM-DD)
user_idstringNoFilter by user UUID. Use list_users to resolve names. Format: uuid.
status"draft", "pending", "approved", "rejected"NoFilter by status

Result

FieldType / accepted valuesRequiredDetails
dataarray of objectYesThe matching records for this page.
paginationobjectNoHow many more pages of results exist. Absent when the API returned an unpaged result.
pagination.pageintegerWhen parent suppliedCurrent page number, 1-based.
pagination.per_pageintegerWhen parent suppliedNumber of results per page.
pagination.total_pagesintegerWhen parent suppliedTotal number of pages available.

get_timesheet

Get a single timesheet by ID with expanded details

Parameters

FieldType / accepted valuesRequiredDetails
idintegerYesTimesheet ID

Result

FieldType / accepted valuesRequiredDetails
dataobject or nullYesThe affected record, or the result of the operation. Null when nothing matched.

update_timesheet_status

Update only the status of a timesheet. Use this for approval workflows (draft → pending → approved/rejected).

Parameters

FieldType / accepted valuesRequiredDetails
idintegerYesTimesheet ID
status"draft", "pending", "approved", "rejected"YesNew status

Result

FieldType / accepted valuesRequiredDetails
dataobject or nullYesThe affected record, or the result of the operation. Null when nothing matched.

The downloadable tool schemas include the full input and output contracts. Tables describe schema-level required fields; cross-field rules still apply.

On this page