<!-- Generated by `npm run generate:tool-reference`. Do not edit by hand. -->

# MCP tool reference

Tool count: **44**.

Category is the tool area. Endpoint is the Time Doctor API path the tool reads (or `none` / `composed: …`).
Pricing Plan lists every plan that includes the tool. The Time Doctor plan includes every tool.
Basic, Standard, Premium, and Enterprise are the legacy tiers still in use. Preconditions are non-plan gates.

`unconfirmed` means the gate is not yet traced to enforcing code (0 tools). Do not infer a plan from a tool description.

| Category | Tool | Description | Endpoint | Pricing Plan | Preconditions |
| --- | --- | --- | --- | --- | --- |
| breaks | `td_list_breaks` (List break types) | Company break-type CONFIGURATION (name, paid/unpaid, allowance minutes, access scope) — not break events. Long access lists are shortened; accessCount is the true total. When to use: what break types exist and their rules. When not to: time spent on break (td_get_worklog mode paidBreak/unpaidBreak). | /api/1.0/breaks | Time Doctor plan, Standard, Premium, Enterprise | — |
| categories | `td_get_unrated_category_count` (Count unrated categories) | Count of productivity categories still awaiting a rating (single number). Included in the Time Doctor plan and on legacy Standard, Premium, and Enterprise plans. When to use: rating-backlog size for admins. When not to: which apps are unrated in a range (td_list_categories); licence usage. | /api/1.0/categories/unrated-count | Time Doctor plan, Standard, Premium, Enterprise | — |
| categories | `td_list_categories` (Find app category IDs) | App/site name → category ids for td_get_software_license_* (ids only). nameContains matches the parent tool name. One tool often has several ids (app+domain) — pass all. Requires month-aligned from/to (first/last day, UTC, >26 days). Included in the Time Doctor plan. When to use: name → category ids before licence tools. When not to: unrated backlog (td_get_unrated_category_count); seat/time utilisation (td_get_software_license_*); productivity % (td_get_time_summary). Always state timezoneUsed; surface timezoneWarning. | /api/1.1/software-cost-insights/category-group-hierarchy | Time Doctor plan, Premium, Enterprise | Time Doctor plan (legacy Premium) or the software-cost-insights add-on |
| companies | `td_list_companies` (List companies) | Accessible OAuth companies (AI Connections / MCP-disabled excluded). Other tools' company argument is an id only — never a name. Map a spoken workspace from this list: 1 match → that id; 0 → ask; 2+ or prefix-overlap (e.g. "Time Doctor" vs "Time Doctor Demo") → list name+id and ask — never guess. When to use: first call for a multi-company user; resolve a company name → id. When not to: listing company timezones or company analytics. | none — resolved from OAuth memberships | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| companies | `td_list_company_timezones` (List company timezones) | Distinct IANA timezones in use across the company's users (names only; no per-user map). When to use: pick a reporting timezone; geographic spread. When not to: caller timezone (td_whoami → user.timezone); hours/productivity. | /api/1.0/companies/{id}/timezones | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| disconnectivity | `td_get_disconnectivity` (Get internet disconnections) | Internet-disconnection intervals per user (durationSec). Requires explicit user ids (no wildcards); short blips filtered by minTimeSec. When to use: explain tracking gaps / connection reliability. When not to: hours/idle (td_get_time_summary); activity timeline (td_get_worklog). Always state timezoneUsed; surface timezoneWarning. | /api/1.0/activity/disconnectivity | Time Doctor plan, Premium, Enterprise | — |
| edittime | `td_list_manual_time_edits` (List manual time edits) | Manual time add/remove rows with approval state (pending\|approved\|disapproved\|autoApproved). Reviewer fields only after human review; omitted on autoApproved. approved=approved is human only. user=all includes people hidden from reports. When to use: what was added by hand / pending approval / who approved. When not to: hours totals (td_get_time_summary); activity timeline (td_get_worklog). Always state timezoneUsed; surface timezoneWarning. | /api/1.0/activity/edit-time | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| files | `td_list_low_activity_screencasts` (List low-activity screenshots) | Screencasts are screenshots and short screen recordings captured during tracked time. Metadata for periods whose average keyboard and mouse activity is below a threshold (default 30%). No image or download URLs. Low activity is not the same as not working: quiet periods can be reading, meetings, calls, or thinking. Do not report a low-activity period as time not worked. Requires from/to and a user or tag. When to use: find quiet tracked periods to review. When not to: hours and productivity (td_get_time_summary); never invent screenshot URLs. Subjective questions about a person → ask which dimensions first; never give a verdict. Always state timezoneUsed; surface timezoneWarning. Idle and UAR are signals to investigate, never evidence of wrongdoing. | /api/1.0/files | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| groups | `td_get_group` (Get team) | Get one group/tag by id (with did_you_mean on miss). members is [{ id, name }] for live users in the group (same set as td_list_users { tag }), capped at 200. membersTruncated is true when more members exist. When to use: known group id → full record and its members. When not to: team name search (td_list_groups); team hours (analytics with tag=[id]). | /api/1.0/tags/{id} | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| groups | `td_list_groups` (List teams) | List groups/tags. Pass name for case-insensitive prefix ("cloud"→Cloud Features). If 2+ matches, ask to disambiguate — never guess. When to use: team/group/tag name → group id, then analytics with tag=[id]. When not to: person names (td_list_users); hours/meetings (td_get_time_summary with tag=[id]). | /api/1.0/tags | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| meetings | `td_get_meeting_insights` (Get meeting insights) | One call for meetingCount, meetingSec, idleMeetingMins (whole minutes; same totals as td_get_time_summary), talkTimeSec, talkTimePct (talk time / meetingSec), and meeting time by app. Omit groupBy for totals plus byApp; groupBy=user\|date adds groups; groupBy=app is byApp. Omit user and tag for everyone you can see. from/to ≤25 days. A name matches whole words of app or appName ("zoom" matches Zoom Meetings and us.zoom.xos). Include fails only when none of the names match. Unknown only when app and appName are both blank. byApp sums unmerged segments and can differ from the headline meetingSec. A date group splits a segment that crosses local midnight. tag_cap means the group stopped at 200 members. When to use: count, idle, talk share, and app mix together. When not to: listing each meeting (td_get_meetings); hours outside meetings (td_get_time_summary). idleMins are whole minutes; a minute counts only after 60 idle seconds in a row, and any activity resets it. idleSec is every idle second. So idleSecPct is usually much higher than idlePct. That is expected, not an error. | composed: td_get_time_summary, td_get_meetings | Time Doctor plan, Premium, Enterprise | Time Doctor plan (legacy Premium) or the meeting-insights add-on |
| meetings | `td_get_meetings` (List meetings and calls) | Meeting detail rows: start/end, durationSec, talkTimeSec, appName. Default mergeMeetings=true returns stored 3-minute-gap sessions at least the company floor (5 minutes by default), each counted once in its start slot. It matches meetingCount when from/to fall on the half hour; otherwise it can list a session meetingCount leaves out. A session that began before `from` is listed on the earlier range, not this one. false = raw segments. Meeting time can still include short blips. No meetingCount. Requires from/to; default=everyone you can see (like td_get_time_summary). Keep from/to ≤25 days; longer windows return range_too_large — split or use td_get_time_summary. When to use: talk time, conferencing app, when meetings occurred. When not to: meeting count / meetingSec / idleMeetingMins / meeting% — always td_get_time_summary. Talk share and app mix for the range: td_get_meeting_insights. Always state timezoneUsed; surface timezoneWarning. | /api/1.0/activity/meetinglog/paged | Time Doctor plan, Premium, Enterprise | Time Doctor plan (legacy Premium) or the meeting-insights add-on |
| outliers | `td_get_company_outliers` (Get company summary) | Company rollup: avg tracked time, unproductivePct (unproductiveSec/totalSec, same users and base as td_get_time_summary; unprodRatio is that share as 0–1), threshold-breach counts, and named users. Group extremes are minTag/maxTag. Averages are seconds / usersWhoTrackedTime. When to use: company health and who crossed a threshold. When not to: exact per-user totals (td_get_time_summary); per-user WLB day counts (td_get_work_life_balance). Subjective questions about a person → ask which dimensions first; never give a verdict. Always state timezoneUsed; surface timezoneWarning. Do not compare productivity % across companies or company vs team; labels are company-configured. | /api/1.1/stats/outliers | Time Doctor plan, Premium, Enterprise | — |
| projects | `td_get_project` (Get project) | Get one project by id. A miss is no_access and includes did_you_mean when a visible project matches the name or a close id. When to use: known project id → directory record. When not to: name search (td_list_projects); tracked time (analytics groupBy=project). | /api/1.0/projects/{id} | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| projects | `td_list_projects` (List projects) | List projects (paginated). Pass name for prefix search ("cloud"→Cloud CRM); optional tag/deleted. When to use: project name → project id before filters. When not to: time per project (td_get_time_summary groupBy=project or td_get_activity_project_totals); known id (td_get_project). | /api/1.0/projects | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| sci | `td_get_software_license_summary` (Get software licence summary) | Company licence rollup: licensedUserCount (USER seats in scope) + used/rarelyUsed/unused. Resolve tool names via td_list_categories; omit category for all tools. Month-aligned from/to (>26 days, ≤6 months). Included in the Time Doctor plan. When to use: how many seats are used vs idle for tools. When not to: per-user breakdown (td_get_software_license_usage); day/week buckets (td_get_software_license_usage_timeseries). Always state timezoneUsed; surface timezoneWarning. | /api/1.1/software-cost-insights/summary-v2 | Time Doctor plan, Premium, Enterprise | Time Doctor plan (legacy Premium) or the software-cost-insights add-on |
| sci | `td_get_software_license_usage` (Get licence usage by user) | Per-user licence seats for tools over ONE UTC calendar month (Used/Rarely/Unused). Resolve names via td_list_categories first — `category` ids required. Included in the Time Doctor plan. When to use: who uses a tool / which seats to drop. When not to: company seat counts (td_get_software_license_summary); trends over days/weeks (td_get_software_license_usage_timeseries); multi-month without one call per month. Always state timezoneUsed; surface timezoneWarning. | /api/1.1/software-cost-insights/category-v2 | Time Doctor plan, Premium, Enterprise | Time Doctor plan (legacy Premium) or the software-cost-insights add-on |
| sci | `td_get_software_license_usage_timeseries` (Get licence usage trend) | Licence utilisation bucketed by day/week. metric=status → seat counts per bucket; metric=time → toolSec/trackedSec/toolRatio. Any day-aligned range ≤6 months (no month alignment). Resolve names via td_list_categories. partial:true = short edge bucket, not a drop. Included in the Time Doctor plan. When to use: usage growing/dying over time. When not to: single-month per-user seats (td_get_software_license_usage); company seat rollup (td_get_software_license_summary). Always state timezoneUsed; surface timezoneWarning. | /api/1.1/software-cost-insights/timesheet/summary-v2 | Time Doctor plan, Premium, Enterprise | Time Doctor plan (legacy Premium) or the software-cost-insights add-on |
| shift | `td_get_shift_totals` (Get scheduled shift hours) | Per-user SCHEDULED shift time (scheduledSec) over a range: sum of roster windows (each shift end−start) for non-leave schedules whose start falls in the range. Not tracked time, not minimumHours, not attendance. When to use: how much shift someone was scheduled for. When not to: hours actually tracked (td_get_time_summary); adherence/missing shifts (td_get_work_schedule_issues); planned calendar rows (td_list_work_schedules). Always state timezoneUsed; surface timezoneWarning. | /api/1.0/work-schedules | Time Doctor plan, Standard, Premium, Enterprise | — |
| stats | `td_drill_down_productivity_analysis` (Analyse a user's productivity) | Composed productivity drill-down: time summary → score breakdown → ranked app/domain usage. App usage comes from pre-aggregated category stats; rows contain name, entity and trackedSec, not exact URLs or window titles. overview productivePct/unproductivePct/neutralPct/unratedPct are shares of totalSec (computer time); meetingPct = meetingSec/trackedSec. overview has idleSec and idleHms. idlePct is Activity Summary Idle Minutes %; idleSecPct is Activity Summary Idle Seconds %. No ranks or coaching. Requires from/to; user or tag. `limit`/`cursor` page appUsage.apps (default 50, max 500). appUsage.totalCount is the full app count; pass cursor while appUsage.truncated is true. When to use: web/app usage questions or one multi-step productivity payload. When not to: single metric (call td_get_time_summary or the specific tool); team member-by-member (td_drill_down_team_productivity). idleMins are whole minutes; a minute counts only after 60 idle seconds in a row, and any activity resets it. idleSec is every idle second. So idleSecPct is usually much higher than idlePct. That is expected, not an error. Subjective questions about a person → ask which dimensions first; never give a verdict. | composed: td_get_time_summary, td_get_productivity_breakdown | Time Doctor plan, Standard, Premium, Enterprise | — |
| stats | `td_drill_down_team_productivity` (Analyse team productivity) | Composed team time: team overview then per-member category drill-down (needs tag). Requires from/to. Member productivePct/unproductivePct/neutralPct/unratedPct are shares of totalSec (computer time); meetingPct = meetingSec/trackedSec. members and team include idleSec and idleHms next to idleMins. idlePct is Activity Summary Idle Minutes %; idleSecPct is Activity Summary Idle Seconds %. No ranks or coaching. team.memberCount equals tagExpansion.usersIncluded (capped at 200). trackedMemberCount is members with time in from/to. When to use: one composed team + member payload. When not to: without tag; single overall team total (td_get_time_summary + tag); one-person deep dive (td_drill_down_productivity_analysis or specific tools). idleMins are whole minutes; a minute counts only after 60 idle seconds in a row, and any activity resets it. idleSec is every idle second. So idleSecPct is usually much higher than idlePct. That is expected, not an error. Subjective questions about a person → ask which dimensions first; never give a verdict. Do not compare productivity % across companies or company vs team; labels are company-configured. | composed: td_get_time_summary, td_get_productivity_breakdown | Time Doctor plan, Standard, Premium, Enterprise | — |
| stats | `td_get_activity_project_totals` (Get time per project) | Per-project trackedSec list (id + name; no active/idle split). Requires from/to + user or tag. Row trackedSec is time on that ONE project, so rows sum to less than the td_get_time_summary total — see the `reconciliation` envelope block for the unassigned residual. When to use: simple "which projects did they work on?" ranked list. When not to: full metrics/trends (td_get_time_summary, optionally groupBy=project); tasks list (td_get_activity_task_totals). Always state timezoneUsed; surface timezoneWarning. | /api/1.1/stats/project | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| stats | `td_get_activity_task_totals` (Get time per task) | Per-task trackedSec list (id + name + project id; no active/idle split). Requires from/to + user or tag. Row trackedSec is time on that ONE task, so rows sum to less than the td_get_time_summary total — see the `reconciliation` envelope block for the unassigned residual. A task id with no directory name is returned as "Unnamed task"; that time stays in taskAssignedSec. When to use: simple "which tasks did they log?" ranked list. When not to: full metrics/trends (td_get_time_summary groupBy=task\|date); projects-only (td_get_activity_project_totals). Always state timezoneUsed; surface timezoneWarning. | /api/1.1/stats/task | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| stats | `td_get_period_comparison` (Compare two periods) | Compare overall time-summary totals for two periods in one call (current vs previous; absolute + pctChange). Totals include paidLeaveSec and workSec (trackedSec − paidLeaveSec). productivePct/unproductivePct/neutralPct/unratedPct are shares of totalSec (computer time). meetingPct = meetingSec/trackedSec. idlePct is Activity Summary Idle Minutes %. idleSecPct is Activity Summary Idle Seconds %. Comparison deltas include paidLeaveSec, workSec, idleSec, and idleMeetingSec. Auto-shifts previous if compareFrom/compareTo omitted. Totals only (no groupBy). Requires from/to; user/tag like td_get_time_summary. When to use: this week vs last week / period-over-period overall deltas. When not to: two× td_get_time_summary for the same compare; groupBy breakdowns/trends (td_get_time_summary); app/meeting detail lists. idleMins are whole minutes; a minute counts only after 60 idle seconds in a row, and any activity resets it. idleSec is every idle second. So idleSecPct is usually much higher than idlePct. That is expected, not an error. Always state timezoneUsed; surface timezoneWarning. Do not compare productivity % across companies or company vs team; labels are company-configured. | /api/1.1/stats/total | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| stats | `td_get_productivity_breakdown` (Get productivity breakdown) | Productivity drill-down: time by app/domain, score bucket, or task (trackedSec/activeSec/idleMins). groupBy=score returns one row per rating (unrated, unproductive, neutral, productive) with seconds. groupBy=webApp ranks apps/domains across selected users; prefilterScore keeps one rating. Requires from/to + user or tag. Row trackedSec is CATEGORIZED time only, so rows sum to less than the td_get_time_summary total — see the `reconciliation` envelope for the uncategorized residual. meetingSec, meetingHms, and meetingPct are omitted unless Meeting Insights is on (the Time Doctor plan, legacy Premium, or the meeting-insights add-on). When to use: how time splits across ratings (groupBy=score), or which apps drive one rating (groupBy=webApp + prefilterScore). When not to: headline productive%/idle% (td_get_time_summary); multi-step app analysis (td_drill_down_productivity_analysis). idleMins are whole minutes; a minute counts only after 60 idle seconds in a row, and any activity resets it. idleSec is every idle second. So idleSecPct is usually much higher than idlePct. That is expected, not an error. Subjective questions about a person → ask which dimensions first; never give a verdict. Always state timezoneUsed; surface timezoneWarning. | /api/1.1/stats/category | Time Doctor plan, Standard, Premium, Enterprise | — |
| stats | `td_get_time_summary` (Get tracked time summary) | trackedSec includes idle; unpaid breaks and unpaid leave are excluded. It is not activeSec + idleSec. activeSec = totalSec − idleSec and excludes idle, paid leave. idlePct is Activity Summary Idle Minutes % (idleMins / floor(totalSec/60)). idleSecPct is Activity Summary Idle Seconds % (idleSec/totalSec). idleMins is whole minutes. idleMeetingMins is whole minutes. idleMeetingSec and idleMeetingHms are seconds, not idleMeetingMins×60. Idle split: idleOutsideMeetingSec/Mins on the default row; avgMeetingSec, avgIdleSecPerMeeting, idleDuringMeetingPct and idleOutsideMeetingPct need fields (see fieldGuide). productiveSec can exceed activeSec. productive/unproductive/neutral/unrated Pct = share of totalSec. meetingPct = meetingSec/trackedSec. manual-heavy: manualSec as a share of trackedSec, next to computerSec, mobileSec, paidLeaveSec. groupBy=user has userName. coverage lists users with no entries. ONLY source for meeting aggregates. default td_get_meetings rows match meetingCount when from/to fall on the half hour. fields/sort optional. When to use: hours, idle%, productivity, meeting totals. When not to: td_get_meetings; td_get_period_comparison; apps drill-down; td_get_worklog. idleMins are whole minutes; a minute counts only after 60 idle seconds in a row, and any activity resets it. idleSec is every idle second. So idleSecPct is usually much higher than idlePct. That is expected, not an error. Subjective questions about a person → ask which dimensions first; never give a verdict. Always state timezoneUsed; surface timezoneWarning. Do not compare productivity % across companies or company vs team; labels are company-configured. Idle and UAR are signals to investigate, never evidence of wrongdoing. | /api/1.1/stats/total | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| tasks | `td_get_task` (Get task) | Get one task by id. A miss is no_access and includes did_you_mean when a task in this company matches the name or a close id. When to use: known task id → directory record. When not to: name search (td_list_tasks); tracked time (analytics groupBy=task). | /api/1.0/tasks/{id} | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| tasks | `td_list_tasks` (List tasks) | List tasks (paginated). Pass name for prefix search; optional projects/deleted. When to use: task name → task id, or list tasks under project ids. When not to: time per task (td_get_time_summary groupBy=task or td_get_activity_task_totals); known id (td_get_task). | /api/1.0/tasks | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| uar | `td_get_uar_events` (Get unusual activity events) | Unusual Activity Report (UAR) event blocks for one user and one activity type (start, end, minutes). A flag is a prompt to investigate, not proof of wrongdoing. Included in the Time Doctor plan (legacy Premium or Enterprise, or the UAR add-on on Basic or Standard) and a manager-level or higher role. When to use: exact unusual intervals after summary, per-user, then per-activity. When not to: company overview (td_get_uar_summary); normal timeline (td_get_worklog). Subjective questions about a person → ask which dimensions first; never give a verdict. Always state timezoneUsed; surface timezoneWarning. | /api/2.0/activity/uar-detailed-time | Time Doctor plan, Premium, Enterprise | Time Doctor plan (legacy Premium or Enterprise) or the UAR add-on; manager, admin, owner, or superAdmin |
| uar | `td_get_uar_per_activity` (Get unusual activity by type) | Unusual Activity Report (UAR) for one user: type, event count, flagged minutes. A flag is a prompt to investigate, not proof of wrongdoing. Per-type minutes can exceed td_get_uar_summary, which counts each minute once. Included in the Time Doctor plan (legacy Premium or Enterprise, or the UAR add-on on Basic or Standard), manager-level or higher, and a user id. When to use: which flagged types dominate for one user. When not to: company totals (td_get_uar_summary); intervals (td_get_uar_events). Subjective questions about a person → ask which dimensions first; never give a verdict. Always state timezoneUsed; surface timezoneWarning. | /api/2.0/activity/total-time-per-activity | Time Doctor plan, Premium, Enterprise | Time Doctor plan (legacy Premium or Enterprise) or the UAR add-on; manager, admin, owner, or superAdmin |
| uar | `td_get_uar_per_user` (Get unusual activity by user) | Unusual Activity Report (UAR) per user: flagged minutes by type and daily columns. A flag is a prompt to investigate, not proof of wrongdoing. Included in the Time Doctor plan (legacy Premium or Enterprise, or the UAR add-on on Basic or Standard) and a manager-level or higher role. When to use: break down flagged time for a user or set after td_get_uar_summary. When not to: company overview (td_get_uar_summary); one activity type (td_get_uar_per_activity); raw intervals (td_get_uar_events). Subjective questions about a person → ask which dimensions first; never give a verdict. Always state timezoneUsed; surface timezoneWarning. | /api/2.0/activity/total-time-per-user | Time Doctor plan, Premium, Enterprise | Time Doctor plan (legacy Premium or Enterprise) or the UAR add-on; manager, admin, owner, or superAdmin |
| uar | `td_get_uar_summary` (Get unusual activity overview) | Unusual Activity Report (UAR): flagged minutes per user (each minute once). A flag means input patterns statistically atypical for that user, e.g. sustained very high keystroke or click rates, or long single-input stretches. It is a prompt to investigate, not proof of wrongdoing — scripted work, accessibility tools, shared devices and data entry can trigger it. Never describe a flagged user as cheating or falsifying time. Included in the Time Doctor plan (legacy Premium or Enterprise, or the UAR add-on on Basic or Standard). Manager-level or higher; denial is the plan or role, not zero flags. When to use: company overview; next is td_get_uar_per_user. When not to: td_get_time_summary; do not sum td_get_uar_per_activity. Subjective questions about a person → ask which dimensions first; never give a verdict. Always state timezoneUsed; surface timezoneWarning. | /api/2.0/activity/total-time | Time Doctor plan, Premium, Enterprise | Time Doctor plan (legacy Premium or Enterprise) or the UAR add-on; manager, admin, owner, or superAdmin |
| users | `td_get_user` (Get user) | Get one user by id. A miss returns no_access and does not include did_you_mean. lastSeen / lastTrack are the selected company only. lastSeenGlobal / lastTrackGlobal are omitted (shared user document). When to use: known userId → full directory record, including archived users (archived: true). Active users include archived: false. When not to: name search (td_list_users); hours/productivity (analytics with user=). | /api/1.0/users/{id} | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| users | `td_list_managed_users` (List direct reports) | List direct reports of manager=userId (optional name prefix among them). When to use: "my team" / reports when no group/tag fits. When not to: company-wide name resolve (td_list_users); named team/tag (td_list_groups → tag=[id]); hours (td_get_time_summary). | /api/1.0/users | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| users | `td_list_users` (List users) | List current/active company users (directory). Defaults to active (non-deleted) accounts. Pass name for prefix (strip @; "ali"→Alice); optional tag/detail. If 2+ matches, disambiguate — never guess. When to use: list or filter active/current users; resolve person/@mention → userId. When not to: hours/activeSec (td_get_time_summary); manager reports (td_list_managed_users); known id (td_get_user). | /api/1.0/users | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| users | `td_whoami` (Get session context) | Session context: identity, company.planName/plan/addons/queryLimits, fieldGuide, features (callable tools), timezones. subscriptionAccessRetentionDays is ACCESS lifecycle — not activity-data retention. When to use: first call; after forbidden/plan errors; need timezone/role/plan/features/date bounds. When not to: hours, productivity, meetings, or directory search — use the matching tool. Re-call after forbidden or in long sessions. Multi-company OAuth callers pass company per call. | none — assembled from the authenticated session | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| worklife | `td_get_work_life_balance` (Get work-life balance days) | Per-user DAY COUNTS of WLB issues (tooManyHours, lateHours, weekendWork, outOfShiftWork) — not durations. trackedSec includes paid breaks and paid leave (same modes as td_get_time_summary; unpaid excluded). tooManyHours uses work time and excludes paid breaks. Days and late hours follow each user's timezone; timezone only labels the report. thresholds echoes the cutoffs used (thresholds.tooManyHours is hours, not a day count). When to use: who works weekends/late nights / burnout day counts. When not to: per-day counts or per-group means (td_get_work_life_balance_timeseries); hours tracked (td_get_time_summary); start/finish timeline (td_get_worklog). Always state timezoneUsed; surface timezoneWarning. | /api/1.1/stats/work-life | Time Doctor plan, Standard, Premium, Enterprise | — |
| worklife | `td_get_work_life_balance_timeseries` (Get work-life balance trend) | WLB issues over a range. groupBy=user (default): per-user day counts, totalIssues vs dailyIssues (distinct days; use dailyIssues for "% of days with issues"). groupBy=group: highestMeanGroups and lowestMeanGroups (mean totalIssues per user; company thresholds only). tooManyHours excludes paid breaks. Days and late hours follow each user's timezone. Included in the Time Doctor plan and on legacy Standard, Premium, and Enterprise plans. When to use: how often issues occur, or compare groups by mean. When not to: simple per-user totals (td_get_work_life_balance); hours (td_get_time_summary). Always state timezoneUsed; surface timezoneWarning. | /api/1.1/stats/work-life | Time Doctor plan, Standard, Premium, Enterprise | — |
| worklog | `td_get_worklog` (Get activity timeline) | Activity timeline: start/end, durationSec (seconds; block length — these rows have no trackedSec). unpaidBreak and unpaidLeave rows are not part of trackedSec. mode (computer/mobile/manual/breaks/leave), task/project. detail=summary for thinner rows. Requires from/to; default=everyone you can see (like td_get_time_summary). Keep from/to ≤25 days; longer windows return range_too_large — split or use td_get_time_summary. When to use: start/finish, late-night/weekend, breaks, block timeline. When not to: hour totals (td_get_time_summary, every plan, including legacy Basic and the Time Doctor plan); productivity scores (td_get_time_summary on the Time Doctor plan and legacy Standard, Premium, or Enterprise; legacy Basic returns upgrade_required, do not sum worklog rows); meeting aggregates (td_get_time_summary on the Time Doctor plan, legacy Premium, or the meeting-insights add-on); talkTime/appName (td_get_meetings); planned shifts (td_list_work_schedules). Subjective questions about a person → ask which dimensions first; never give a verdict. Always state timezoneUsed; surface timezoneWarning. | /api/1.0/activity/worklog/paged | Time Doctor plan, Basic, Standard, Premium, Enterprise | — |
| workschedules | `td_get_attendance` (Get attendance) | Attendance per shift-day: present/late/partially absent/absent/scheduled/Paid\|Unpaid leave. Only approved leave is Paid/Unpaid; future non-leave = scheduled. Leave createdAt = this record's UTC insert time (not leave date; date edit → new record; approval unchanged). When to use: late, absent, or on leave in next 30 days. When not to: calendar (td_list_work_schedules); worklog; hours (td_get_time_summary); issues. Always state timezoneUsed; surface timezoneWarning. | /api/1.0/work-schedules/attendance | Time Doctor plan, Standard, Premium, Enterprise | — |
| workschedules | `td_get_leave_stats` (Get leave totals) | Leave-day totals, paid and unpaid, including the next 30 days (pending counts included). Requires from/to. Omit user and tag for people on reports (all-on-reports). leaveType=paidLeave or unpaidLeave filters; omit for both. Capped at 1 day per user, type, and calendar day. When to use: pending vs approved leave days. When not to: leave calendar rows (td_list_work_schedules); hours worked (td_get_time_summary). Always state timezoneUsed; surface timezoneWarning. | /api/1.0/work-schedules/stats | Time Doctor plan, Standard, Premium, Enterprise | — |
| workschedules | `td_get_work_schedule` (Get shift) | Get one work schedule by id. Leave rows include approved ('pending'\|'approved'\|'disapproved') and createdAt (this record's UTC insert time, not leave date; date edit → new record; approval unchanged). When to use: known schedule id → that record. When not to: date-range calendar (td_list_work_schedules); tracked hours or leave totals. | /api/1.0/work-schedules/{id} | Time Doctor plan, Standard, Premium, Enterprise | — |
| workschedules | `td_get_work_schedule_issues` (Get schedule adherence) | Schedule adherence / conflicts (issues, shifts, ratio). Requires from/to. Omit user and tag for the caller's reports when the caller is a manager or above; otherwise the caller only. When to use: who is missing shifts or off-schedule. When not to: actual tracked hours (td_get_time_summary); planned calendar (td_list_work_schedules); leave-day totals (td_get_leave_stats); start/finish blocks (td_get_worklog). Always state timezoneUsed; surface timezoneWarning. | /api/1.0/work-schedules/issues | Time Doctor plan, Standard, Premium, Enterprise | — |
| workschedules | `td_list_work_schedules` (List shifts and leave) | List shifts/leave (from/to); rows include userName. Leave: approved (pending/approved/disapproved); createdAt = this record's UTC insert time (not leave date; date edit → new record; approval unchanged). Omit user for caller's reports (manager+); else caller only. When to use: planned schedule, PTO, leave in next 30 days. When not to: hours (td_get_time_summary); worklog; adherence; leave totals (td_get_leave_stats). Always state timezoneUsed; surface timezoneWarning. | /api/1.0/work-schedules | Time Doctor plan, Standard, Premium, Enterprise | — |
