Time Doctor MCP by usefulapi
v1.2.1Read 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.
| Parameter | Type | Description |
|---|---|---|
company | string | Company 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.
| Parameter | Type | Description |
|---|---|---|
company | string | Company 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.
| Parameter | Type | Description |
|---|---|---|
company | string | Company id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies. |
email | string | Filter value for the user's email. |
limit | integer | Rows per page, up to 500. |
manager | string | Manager user id. Returns only users this manager oversees. |
name | string | Filter value for the user's name. |
page | integer | Page number, starting at 1. |
tag | string | Group 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}.
| Parameter | Type | Description |
|---|---|---|
userId * | string | The user id, from timedoctor_list_users. |
company | string | Company 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.
| Parameter | Type | Description |
|---|---|---|
company | string | Company 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}.
| Parameter | Type | Description |
|---|---|---|
groupId * | string | The group id, from timedoctor_list_groups. |
company | string | Company 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.
| Parameter | Type | Description |
|---|---|---|
company | string | Company id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies. |
limit | integer | Rows per page, up to 500. |
name | string | Filter value for the project name. |
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
company | string | Company id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies. |
limit | integer | Rows per page, up to 500. |
name | string | Filter value for the task name. |
page | integer | Page number, starting at 1. |
projects | string | Comma-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}.
| Parameter | Type | Description |
|---|---|---|
taskId * | string | The task id, from timedoctor_list_tasks. |
company | string | Company 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.
| Parameter | Type | Description |
|---|---|---|
from * | string | Range start (inclusive), yyyy-mm-dd or yyyy-mm-ddTHH:MM:SSZ. |
to * | string | Range end (exclusive), yyyy-mm-dd or yyyy-mm-ddTHH:MM:SSZ. |
company | string | Company id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies. |
user | string | User 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.
| Parameter | Type | Description |
|---|---|---|
company | string | Company id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies. |
from | string | Range start (inclusive). The API default is 30 minutes before `to`. |
tag | string | Group id, or comma-separated group ids (the Time Doctor 'tags'). |
timezone | string | IANA timezone, for example Europe/Prague. Omit for the API default, UTC. |
to | string | Range end (exclusive). The API default is now. |
user | string | User 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.
| Parameter | Type | Description |
|---|---|---|
company | string | Company id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies. |
from | string | Range start (inclusive). The API default is 30 minutes before `to`. |
tag | string | Group id, or comma-separated group ids (the Time Doctor 'tags'). |
timezone | string | IANA timezone, for example Europe/Prague. Omit for the API default, UTC. |
to | string | Range end (exclusive). The API default is now. |
user | string | User 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.
| Parameter | Type | Description |
|---|---|---|
from * | string | Range start (inclusive). |
to * | string | Range end (exclusive). |
approved | string | Only schedules with this approval state. |
company | string | Company id from timedoctor_whoami (an id, never a name). Needed when the user belongs to several companies. |
limit | integer | Rows per page, up to 500. |
page | integer | Page number, starting at 1. |
user | string | User id, or comma-separated user ids. Omit for the connected user. Use `all` for company-wide totals where the tool allows it. |