Timesheets.com MCP by usefulapi

v1.9.1
io.usefulapi/timesheets-com Checked 3 days ago Published 1 day ago

Read users, clock status, items and reports, and create users or assign items in Timesheets.com.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

timesheets_list_users List users

List users of the company, with UserID, name, email, access level and status. Filter by user ids and status. Timesheets API: GET /users.

ParameterTypeDescription
max_rowsintegerPage size (default 50).
start_rowinteger1-based first row (default 1).
statusstringDefault USER_STATUS_ACTIVE.
user_idsstringComma-separated UserIDs. Omit for all users.

timesheets_get_user_info Get user info

Get report details for users: name, pay and tracking settings, supervisor. Empty user_ids returns all users. Timesheets API: GET /report/user/info.

ParameterTypeDescription
user_idsstringComma-separated UserIDs. Omit for all users.

timesheets_create_user Create a user

Create a user in the company. Sends an invitation email only when send_notification_email is true (default false). Timesheets API: POST /user.

ParameterTypeDescription
access_level *stringEMP employee, SUPER supervisor, ADMIN administrator.
email *string
first_name *string
last_name *string
pay_type *string
timezone_id *integerFrom timesheets_get_server_reference with what=timezones.
dst_enabledboolean
employee_typestring
enable_expense_reportsboolean
enable_hourly_trackingboolean
enable_project_trackingboolean
job_titlestring
send_notification_emailbooleanDefault false.
supervisor_idReport-to user. Needed for SUPER and EMP.

timesheets_assign_user_items Assign items to a user

Add customers, projects or account codes to a user. Existing assignments stay. Set defaults with default_id (customer, project) or the default_*_id fields (accountcode). Timesheets API: POST /user/{UserID}/customers|projects|accountcodes.

ParameterTypeDescription
item_ids *stringComma-separated ids to assign.
kind *string
user_id *Numeric id.
default_expense_idaccountcode only.
default_hourly_idaccountcode only.
default_idcustomer or project only. Must be in item_ids.
default_project_idaccountcode only.

timesheets_unassign_user_items Remove items from a user

Remove customers, projects or account codes from a user. Only the listed ids are removed. Removing a default resets it to the company default. Timesheets API: DELETE /user/{UserID}/customers|projects|accountcodes.

ParameterTypeDescription
item_ids *stringComma-separated ids to remove.
kind *string
user_id *Numeric id.

timesheets_list_items List items

List customers, projects, account codes, vendors or events. Filter by status, text and ids. Timesheets API: GET /items/{kind}.

ParameterTypeDescription
kind *string
exclude_idsstringLeave out these ids.
full_text_searchstring
include_idsstringOnly these ids.
max_rowsintegerPage size (default 50).
order_bystring
start_rowinteger
statusstringType-specific status, for example CUSTOMERSTATUS_ACTIVE. Default: active items.

timesheets_get_item Get an item

Get one customer, project, account code, vendor or event by id. Timesheets API: GET /item/{kind}/{id}.

ParameterTypeDescription
item_id *Numeric id.
kind *string

timesheets_create_vendor Create a vendor

Create a vendor (used on expense records). Timesheets API: POST /item/vendor/0.

ParameterTypeDescription
vendor_name *string
citystring
commentsstring
contact_emailstring
statestring

timesheets_update_vendor Update a vendor

Change fields of one vendor. Only the given fields change. Timesheets API: PATCH /item/vendor/{id}.

ParameterTypeDescription
vendor_id *Numeric id.
citystring
commentsstring
contact_emailstring
statestring
vendor_namestring

timesheets_create_event Create an event

Create an event (an expense or activity tag). Timesheets API: POST /item/event/0.

ParameterTypeDescription
event_name *string
event_descriptionstring

timesheets_update_event Update an event

Change the name or description of one event. Timesheets API: PATCH /item/event/{id}.

ParameterTypeDescription
event_id *Numeric id.
event_descriptionstring
event_namestring

timesheets_get_clock_shift Get a user's clock shift

Get a user's current clock status: clock-in and break times, location, hours for the shift and for today. Needs admin access to that user. Timesheets API: GET /clock/shift/user/{UserID} (key only).

ParameterTypeDescription
user_id *Numeric id.

timesheets_list_clock_shifts List clock shifts

List clock status for several users, or for the users one supervisor manages. Timesheets API: GET /clock/shift/users (key only).

ParameterTypeDescription
supervisor_idLimit to users this manager supervises.
user_idsstringComma-separated UserIDs.

timesheets_list_project_timers List project timers

List a user's running project timers, optionally by customer, project or account code. Timesheets API: GET /project/timers/{UserID}.

ParameterTypeDescription
user_id *Numeric id.
account_code_idsstring
customer_idsstring
project_idsstring

timesheets_get_record_history Get record history

Get the revision history of one hourly, project or expense record. Needs admin access to the record's employee. Timesheets API: GET /record/{kind}/history/{RecordID}.

ParameterTypeDescription
kind *string
record_id *Numeric id.

timesheets_get_hourly_report Get an hourly time report

Get an hourly time report for a date range, grouped and summarised or detailed. Processed = approved and finished records; unprocessed = the rest. Timesheets API: POST /report/hourly/customizable/{processed|unprocessed}.

ParameterTypeDescription
end_date *string
mode *string
start_date *string
account_code_idsstring
all_account_codesbooleanDefault true when account_code_ids is empty.
all_usersbooleanDefault true when user_ids is empty.
group_typestringFor example User, Job Title, Supervisor, Customer, Account Code, Date, None.
include_extended_databoolean
include_work_descriptionboolean
report_typestringDefault Summary.
user_idsstring

timesheets_list_payroll_periods List hourly payroll periods

List hourly payroll periods that start and end in a date range. Timesheets API: GET /report/hourly/payroll/periods.

ParameterTypeDescription
end_date *string
start_date *string
max_rowsintegerPage size (default 50).

timesheets_get_payroll_period Get one hourly payroll period

Get the hourly payroll report of one period, optionally for some users. Timesheets API: GET /report/hourly/payroll/period/{PayrollID}.

ParameterTypeDescription
payroll_id *Numeric id.
user_idsstring

timesheets_preview_payroll Preview an hourly payroll run

Preview the hourly payroll for a date range and users. It is a preview: the call does not close a payroll period. Timesheets API: POST /report/hourly/payroll/preview.

ParameterTypeDescription
end_date *string
start_date *string
run_typestringPayrollRunType. Default NEW (vendor example).
user_idsstring
user_selectstringUserSelect, for example SelectedUsers (vendor example).

timesheets_get_project_report Get a project time report

Get a project time report for a date range, by user, customer, project or account code. Timesheets API: POST /report/project/customizable.

ParameterTypeDescription
end_date *string
start_date *string
account_code_idsstring
all_account_codesbooleanDefault true when account_code_ids is empty.
all_customersbooleanDefault true when customer_ids is empty.
all_projectsbooleanDefault true when project_ids is empty.
all_usersbooleanDefault true when user_ids is empty.
customer_idsstring
group_typestring
project_idsstring
report_typestringDefault Summary.
user_idsstring

timesheets_get_expense_report Get an expense report

Get an expense report for a date range, by user, vendor, event, customer, project or account code. Timesheets API: POST /report/expense/customizable.

ParameterTypeDescription
end_date *string
start_date *string
account_code_idsstring
all_account_codesbooleanDefault true when account_code_ids is empty.
all_customersbooleanDefault true when customer_ids is empty.
all_eventsbooleanDefault true when event_ids is empty.
all_projectsbooleanDefault true when project_ids is empty.
all_usersbooleanDefault true when user_ids is empty.
all_vendorsbooleanDefault true when vendor_ids is empty.
customer_idsstring
event_idsstring
project_idsstring
report_typestringDefault Summary.
user_idsstring
vendor_idsstring

timesheets_get_server_reference Get server reference data

Get the company's enum constants (user statuses, access types, record statuses) or the timezone ids used by timesheets_create_user. Timesheets API: GET /server/constants or /server/timezones.

ParameterTypeDescription
what *string