hdls Time

hdls Time is a headless, MCP-native time tracking backend. It manages time entries, timesheets, and approvals, operated entirely through named tools your AI assistant calls. It stands in for tools like Harvest, Toggl — same job, no UI to run.

💬 Just ask

"Start a timer for the Acme project, then show me today's time entries."

You don't call these tools yourself — just tell your assistant in plain English. Everything below is the reference for when you (or your assistant) want the exact details.

How Time is organized

The headline entity is the time_entry — start there, then attach the rest to it. Records connect by reference: a project links to a client; a task links to a project. The approval_event table is an append-only timeline — every change and note lands there and is never edited or deleted.

EntityPurposeRelates to
time_entryA logged block of time (or live timer) against a project/task.timesheet, project, task
clientCustomer that projects and billable time are attributed to.
projectBillable engagement under a client; time entries roll up to a project.client
taskWork category within a project that time is logged against.project
timesheetA person period sheet aggregating time entries through a submit/approve workflow.
approval_eventAppend-only audit of timesheet submission and approval decisions.timesheet

Common workflows

Each line is one real sequence of tool calls — your assistant chains them for you.

  • Set up a time entry end to end: start_timerlog_time
  • Move a time entry through its lifecycle: start_timerapprove_timesheet
  • Find a record and read the full picture: search_entriessummarize_hours

Tools

Call these at https://hdls.ai/api/mcp/timetracking. Required fields you must supply; optional fields refine the call. You never pass tenant_id — it is stamped server-side.

Update & advance

ToolWhat it doesRequiredOptional
start_timerStart a timer.id
log_timeLog time.id
approve_timesheetApprove the timesheet.id

Find & read

ToolWhat it doesRequiredOptional
search_entriesSearch entries by free-text and/or column filters (tenant-scoped, paginated).search, filters, limit, orderBy
summarize_hoursFetch an hour plus its most recent timeline activity in one call.idactivityLimit

Field lists come from the product's live schema and are embedded in each tool's own description — read the tool description for the exact, current fields.

Field reference

Every field you can set on each record. Custom fields you add live alongside these in data.

time_entry

FieldTypeRequiredNotes
timesheet_ididLinks to a timesheet.
project_ididLinks to a project.
task_ididLinks to a task.
membertextYes
entry_datedate
started_attimestamp
ended_attimestamp
hoursnumeric(7,2)
is_runningtrue / false
billabletrue / false
notestext
datajsonFree-form JSON — custom fields live here.

client

FieldTypeRequiredNotes
nametextYesDisplay name.
is_activetrue / false
datajsonFree-form JSON — custom fields live here.

project

FieldTypeRequiredNotes
client_ididLinks to a client.
nametextYesDisplay name.
codetext
billabletrue / false
bill_ratenumeric(12,2)
currencytext
budget_hoursnumeric(10,2)
statustextLifecycle state.
datajsonFree-form JSON — custom fields live here.

task

FieldTypeRequiredNotes
project_ididYesLinks to a project.
nametextYesDisplay name.
billabletrue / false
is_activetrue / false
datajsonFree-form JSON — custom fields live here.

timesheet

FieldTypeRequiredNotes
membertextYes
period_startdateYes
period_enddateYes
statustextLifecycle state.
total_hoursnumeric(10,2)
submitted_attimestamp
approvertext
decided_attimestamp
datajsonFree-form JSON — custom fields live here.

Tailor it with custom fields

Add fields without a schema change. add_custom_field defines one, list_custom_fields shows what's defined, and promote_custom_field (admin) shares a personal field with the whole workspace. The value lives in each row's data (JSON) and is set and read through the normal record tools. See Products, tools & custom fields for the full model.

Roles & safety

  • Tenant isolation is automatic. Your credential is pinned to one workspace; you never pass tenant_id, and you can only ever see your own data (enforced by Postgres row-level security).
  • Role-gated. Permissions run reader < member < admin < owner. Installing a product and promoting a custom field workspace-wide need admin/owner.
  • History is append-only. The approval_event timeline is never edited or deleted — it's your audit trail.

Connect

On the concierge (https://hdls.ai/api/mcp), run install_product({ slug: "timetracking" }) (admin/owner) to enable it for your workspace, then add https://hdls.ai/api/mcp/timetracking as a connector in your assistant — see Connect your assistant.

A worked example

The literal call your assistant makes when you ask it to create the headline record:

Tool: start_timer
Arguments: {
  "member": "example"
}

See All products · Connect your assistant · Automation