BlueSuite Developers
MCPTool reference

Time Entries

BlueSuite MCP tools for time entries

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

Related REST API and behavior.

list_time_entries

List time entries with optional pagination and filters

Parameters

FieldType / accepted valuesRequiredDetails
pageintegerNoPage number (default: 1)
per_pageintegerNoResults per page (default: 25) minimum: 1. maximum: 100.
searchstringNoSearch time entries
sort_by"id", "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.
job_idintegerNoFilter by job ID
request_idJSON valueNoFilter by request ID
quote_idJSON valueNoFilter by quote ID

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.

create_time_entry

Log time against a job, quote, request or service plan. Durations are in MINUTES, record two hours as 120, not 2. Defaults to the signed-in user; pass user_id to log time for a crew member.

Parameters

FieldType / accepted valuesRequiredDetails
start_datestringYesStart date (YYYY-MM-DD)
end_dateJSON valueYesEnd date (YYYY-MM-DD)
start_timestringNoStart time (HH:MM)
end_timeJSON valueNoEnd time (HH:MM)
total_timeintegerNoDuration in MINUTES, not hours, a two hour visit is 120. Max 1440 (one day). Either give this, or give start_time and end_time.
descriptionstringNoDescription of work done
user_idstringNoWhose time this is. Defaults to the signed-in user. Use list_users to resolve a name; the user must be a member of this workspace. Format: uuid.
job_idintegerNoAssociated job ID
request_idJSON valueNoAssociated request ID
quote_idJSON valueNoAssociated quote ID

Result

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

update_time_entry

Update an existing time entry

Parameters

FieldType / accepted valuesRequiredDetails
idintegerYesTime entry ID
start_datestringNoStart date (YYYY-MM-DD)
end_dateJSON valueNoEnd date (YYYY-MM-DD)
start_timestringNoStart time (HH:MM)
end_timeJSON valueNoEnd time (HH:MM)
total_timeintegerNoDuration in MINUTES, not hours, two hours is 120. Max 1440.
descriptionstringNoDescription of work done
user_idstringNoUUID of the user. Use list_users to resolve names. Format: uuid.
job_idJSON value or nullNoAssociated job ID
request_idJSON value or nullNoAssociated request ID
quote_idJSON value or nullNoAssociated quote ID

Result

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

delete_time_entry

Delete a time entry by ID

Parameters

FieldType / accepted valuesRequiredDetails
idintegerYesTime entry ID

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