Time Doctor MCP by usefulapi

v1.2.1
io.usefulapi/time-doctor Checked 4 days ago Published 1 day ago

Read users, projects, tracked time, activity timelines and work schedules in Time Doctor.

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

timedoctor_whoami Show connected user and companies

Show the connected Time Doctor user, their role and the companies this token can reach, with company ids. Call this first to get company ids. Time Doctor API: GET /api/1.0/authorization.

ParameterTypeDescription
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.

timedoctor_list_company_timezones List company timezones

List the distinct IANA timezones used by the company's users. Use it to pick a reporting timezone. Time Doctor API: GET /api/1.0/companies/{companyId}/timezones.

ParameterTypeDescription
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.

timedoctor_list_users List users

List the company's users with their ids, names, roles and group assignments. Filter by group, manager or name. Time Doctor API: GET /api/1.0/users.

ParameterTypeDescription
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.
emailstringFilter value for the user's email.
limitintegerRows per page, up to 500.
managerstringManager user id. Returns only users this manager oversees.
namestringFilter value for the user's name.
pageintegerPage number, starting at 1.
tagstringGroup id, or comma-separated group ids (the Time Doctor 'tags').

timedoctor_get_user Get user

Get one user by id: profile, role and settings. Time Doctor API: GET /api/1.0/users/{id}.

ParameterTypeDescription
userId *stringThe user id, from timedoctor_list_users.
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.

timedoctor_list_groups List groups

List the company's groups (Time Doctor calls them tags), with their ids. Use the ids as `tag` in other tools. Time Doctor API: GET /api/1.0/tags.

ParameterTypeDescription
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.

timedoctor_get_group Get group

Get one group (tag) by id, with its settings. Time Doctor API: GET /api/1.0/tags/{id}.

ParameterTypeDescription
groupId *stringThe group id, from timedoctor_list_groups.
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.

timedoctor_list_projects List projects

List the company's projects with their ids. Time Doctor API: GET /api/1.0/projects.

ParameterTypeDescription
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.
limitintegerRows per page, up to 500.
namestringFilter value for the project name.
pageintegerPage number, starting at 1.

timedoctor_list_tasks List tasks

List tasks, optionally only those in some projects. Time Doctor API: GET /api/1.0/tasks.

ParameterTypeDescription
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.
limitintegerRows per page, up to 500.
namestringFilter value for the task name.
pageintegerPage number, starting at 1.
projectsstringComma-separated project ids. Returns tasks of these projects only.

timedoctor_get_task Get task

Get one task by id. Time Doctor API: GET /api/1.0/tasks/{id}.

ParameterTypeDescription
taskId *stringThe task id, from timedoctor_list_tasks.
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.

timedoctor_get_worklog Get activity timeline

Get the tracked activity intervals (the timeline) for users in a time range. Dates: a plain yyyy-mm-dd `from` is the start of that UTC day and `to` includes that whole day. Time Doctor API: GET /api/1.0/activity/worklog.

ParameterTypeDescription
from *stringRange start (inclusive), yyyy-mm-dd or yyyy-mm-ddTHH:MM:SSZ.
to *stringRange end (exclusive), yyyy-mm-dd or yyyy-mm-ddTHH:MM:SSZ.
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.
userstringUser id, or comma-separated user ids. Omit for the connected user. Use `all` for company-wide totals where the tool allows it.

timedoctor_get_time_summary Get tracked time summary

Get totals of tracked time, idle time and related counts for users or groups in a range. Dates: a plain yyyy-mm-dd `from` is the start of that UTC day and `to` includes that whole day. Time Doctor API: GET /api/1.1/stats/total.

ParameterTypeDescription
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.
fromstringRange start (inclusive). The API default is 30 minutes before `to`.
tagstringGroup id, or comma-separated group ids (the Time Doctor 'tags').
timezonestringIANA timezone, for example Europe/Prague. Omit for the API default, UTC.
tostringRange end (exclusive). The API default is now.
userstringUser id, or comma-separated user ids. Omit for the connected user. Use `all` for company-wide totals where the tool allows it.

timedoctor_get_productivity_breakdown Get productivity breakdown

Get tracked time per productivity category (productive, unproductive, neutral, unrated) for users or groups in a range. Dates: a plain yyyy-mm-dd `from` is the start of that UTC day and `to` includes that whole day. Time Doctor's plan rules apply. Time Doctor API: GET /api/1.1/stats/category.

ParameterTypeDescription
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.
fromstringRange start (inclusive). The API default is 30 minutes before `to`.
tagstringGroup id, or comma-separated group ids (the Time Doctor 'tags').
timezonestringIANA timezone, for example Europe/Prague. Omit for the API default, UTC.
tostringRange end (exclusive). The API default is now.
userstringUser id, or comma-separated user ids. Omit for the connected user. Use `all` for company-wide totals where the tool allows it.

timedoctor_list_work_schedules List work schedules

List scheduled shifts and leave for users in a range, with approval state. Dates: a plain yyyy-mm-dd `from` is the start of that UTC day and `to` includes that whole day. Time Doctor API: GET /api/1.0/work-schedules.

ParameterTypeDescription
from *stringRange start (inclusive).
to *stringRange end (exclusive).
approvedstringOnly schedules with this approval state.
companystringCompany id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies.
limitintegerRows per page, up to 500.
pageintegerPage number, starting at 1.
userstringUser id, or comma-separated user ids. Omit for the connected user. Use `all` for company-wide totals where the tool allows it.