UseHourly

v1.1.0
app.usehourly/usehourly Checked 1 day ago Published 1 month ago

Freelancer time tracking for AI assistants: log time, timers, timesheets, sign-off links, invoices.

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

whoami Who am I

The signed-in account (name, email, currency, business details printed on invoices) and what this token may do (read or write). Call this first to confirm the connection.

list_projects List projects

Every active project with its client and hourly rate. Use the "label" ("Client / Project") or the id wherever a project is asked for. Set include_archived to also see archived ones.

ParameterTypeDescription
include_archivedbooleanAlso list archived projects

list_clients List clients

Active clients, each with its currency and its active projects. Rates are in the client's currency (its own, else the account's).

get_client Get client billing details

One client's billing details: full legal name and address as printed on invoices.

ParameterTypeDescription
client *stringClient id or exact client name

list_entries List time entries

Time entries between two dates (inclusive), newest first, with totals per project and per day. Optionally limited to one project. Use this for 'what did I log last week' and to check a day before adding time.

ParameterTypeDescription
from *stringFirst day to include, YYYY-MM-DD
to *stringLast day to include (inclusive), YYYY-MM-DD
projectstringOnly this project: id or "Client / Project"

project_totals Hours per project

Logged hours per project: all time and within a date range (for example this month).

ParameterTypeDescription
from *stringFirst day of the range, YYYY-MM-DD
to *stringLast day of the range (inclusive), YYYY-MM-DD

get_running_timer Running timer

The timer that is running now, with elapsed minutes, or null when none is running.

annual_report Year summary for taxes

One calendar year: hours and earnings by quarter, month, client and project, plus invoices issued and paid (cash and accrual views).

ParameterTypeDescription
year *integerCalendar year, e.g. 2026

list_invoices List invoices

Invoice history (newest 200 at most), each with the currency it was issued in. Filter by text, client, paid status or issue-date range. unpaid_totals has one figure per currency; unpaid_total is only set when every match is in one currency.

ParameterTypeDescription
clientstringOnly this client: id or exact name
issued_fromstringOnly invoices issued on or after this date
issued_tostringOnly invoices issued on or before this date
querystringMatches number, client, notes, project names and entry notes
sortstringnewest/oldest by issue date, highest/lowest by total
statusstringFilter by whether the invoice has been paid

get_invoice Get an invoice

The frozen invoice as issued: seller, client, lines per project and totals. Set include_detail for the per-entry breakdown. Logos are left out.

ParameterTypeDescription
invoice *stringInvoice id or invoice number, e.g. INV-2026-004
include_detailbooleanInclude the per-entry breakdown under the lines

next_invoice_number Next invoice number

The suggested next invoice number for a year, such as INV-2026-004.

ParameterTypeDescription
year *integerYear of the invoice issue date, e.g. 2026

get_timesheet Get a timesheet

The timesheet for a date range as a grid: one row per project, hours per day, totals per project and per day, and the weekdays with nothing logged. Optionally for one client or one project. Use this to 'show me my timesheet for last week' or to check a sheet before sharing it. Days marked non-billable still count here.

ParameterTypeDescription
from *stringFirst day to include, YYYY-MM-DD
to *stringLast day to include (inclusive), YYYY-MM-DD
clientstringOnly this client: id or exact name
projectstringOnly this project: id or "Client / Project"

parse_duration Parse a duration

Turn text like "1h30", "1:30" or "2.5" into whole minutes, the way UseHourly reads it.

ParameterTypeDescription
text *stringThe duration text to read, e.g. 1h30

log_time Log time

Add one time entry: a project, a date, how long, and what was done. Give minutes or a duration text. This adds a new entry; it never merges with an existing one. Check list_entries first if the day may already be logged.

ParameterTypeDescription
date *stringThe day the work was done, YYYY-MM-DD
project *stringProject id, or "Client / Project" (just the project name works when it is unique)
durationstringDuration text such as "1h30" (use this or minutes)
minutesintegerWhole minutes worked (use this or duration)
notestringWhat was done (max 2,000 characters)

log_time_on_days Log the same time on several days

Add the same entry (project, minutes, note) on up to 31 dates. Days that already have time for this project are skipped and reported unless skip_existing is false.

ParameterTypeDescription
dates *arrayThe days to log, YYYY-MM-DD (1 to 31 dates)
project *stringProject id, or "Client / Project" (just the project name works when it is unique)
durationstringDuration text per day, such as "1h30" (use this or minutes)
minutesintegerWhole minutes per day (use this or duration)
notestringWhat was done (max 2,000 characters)
skip_existingbooleanSkip days that already have time for this project (default true)

set_day_totals Set a project's total for days

Set one project's total minutes for up to 31 days: more than 0 creates or updates that day's single entry, 0 clears it. Days that hold several entries or a running timer are skipped and reported, never merged. A note, when given, is applied to every day written.

ParameterTypeDescription
cells *arrayOne item per day to set (1 to 31 days)
project *stringProject id, or "Client / Project" (just the project name works when it is unique)
notestringDescription applied to every day written

update_entry Edit an entry

Change an entry's project, date, minutes or note. Only the fields you pass change.

ParameterTypeDescription
id *stringThe entry id (from list_entries)
datestringMove the entry to this day, YYYY-MM-DD
durationstringNew duration text such as "1h30" (use this or minutes)
minutesintegerNew whole minutes (use this or duration)
notestringNew description (max 2,000 characters)
projectstringMove the entry to this project: id or "Client / Project"

merge_entries Merge entries

Fold several entries (same project, same day) into the first one: minutes are added and notes joined. The others are removed.

ParameterTypeDescription
ids *arrayIds of the entries to merge; the first one is kept (2 to 20, same project and day)

delete_entry Delete an entry

Permanently delete one time entry. Confirm with the user before calling this.

ParameterTypeDescription
id *stringThe entry id (from list_entries)

start_timer Start the timer

Start a timer on a project. A timer that is already running is stopped first, so only one runs at a time.

ParameterTypeDescription
date *stringThe day the timer starts on, YYYY-MM-DD
project *stringProject id, or "Client / Project" (just the project name works when it is unique)
notestringWhat is being worked on (max 2,000 characters)

stop_timer Stop the timer

Stop the running timer. Elapsed time is rounded up to the next minute (at least 1).

create_client Create a client

Add a client. Names are unique per account.

ParameterTypeDescription
name *stringThe client's name (unique per account, max 80 characters)
colorstringHex colour such as #6366f1

update_client Edit a client

Rename a client or change the legal name and address printed on its invoices. Only the fields you pass change; the logo is kept.

ParameterTypeDescription
client *stringClient id or exact client name
addressstringEmpty string clears it
legal_namestringEmpty string clears it
namestringNew display name

archive_client Archive a client

Hide a client from the lists. Its time and invoices are kept.

ParameterTypeDescription
client *stringClient id or exact client name

create_project Create a project

Add a project under a client, with an hourly rate in the client's currency (its own, else the account's) and whether it is billable.

ParameterTypeDescription
client *stringClient id or exact client name
name *stringThe project's name (max 80 characters)
billablebooleanWhether the time goes on invoices (default true)
hourly_ratenumberAmount per hour in the client's currency (its own, else the account's), e.g. 85 or 62.5 (default 0)

update_project Edit a project

Rename a project, move it to another client, or change its rate or billable flag. Only the fields you pass change.

ParameterTypeDescription
project *stringProject id, or "Client / Project" (just the project name works when it is unique)
billablebooleanWhether the time goes on invoices
clientstringMove the project to this client
hourly_ratenumberNew amount per hour in the client's currency (its own, else the account's), e.g. 85 or 62.5
namestringNew project name

archive_project Archive a project

Hide a project from the lists. Its time and invoices are kept.

ParameterTypeDescription
project *stringProject id, or "Client / Project" (just the project name works when it is unique)

unarchive_project Restore a project

Bring an archived project (and its client, if archived) back.

ParameterTypeDescription
project *stringArchived project id or "Client / Project"

create_invoice Create an invoice

Issue an invoice for a client from billable time between two dates. Totals are computed on the server from the logged entries (one line per project). The number defaults to the next INV-<year>-NNN. This creates a permanent record; confirm the client, period and dates with the user first.

ParameterTypeDescription
client *stringClient id or exact client name
from *stringFirst day of the billed period
issue_date *stringThe invoice date, YYYY-MM-DD
to *stringLast day of the billed period
compact_notesbooleanShorten entry descriptions to about 100 characters
due_datePayment due date, YYYY-MM-DD, or null for none
include_detailbooleanPrint each entry under the lines
notesstringNotes printed on the invoice (max 1,000 characters)
numberstringInvoice number; defaults to the next INV-<year>-NNN

mark_invoice_paid Mark an invoice paid or unpaid

Record the date an invoice was paid (this matters for cash-basis taxes), or pass null to mark it unpaid again.

ParameterTypeDescription
invoice *stringInvoice id or invoice number, e.g. INV-2026-004
paid_date *YYYY-MM-DD, or null for unpaid

delete_invoice Delete an invoice

Permanently delete an invoice record. The time entries stay. Confirm with the user before calling this.

ParameterTypeDescription
invoice *stringInvoice id or invoice number, e.g. INV-2026-004

share_timesheet Create a timesheet link for a client

Freeze the hours of a date range (optionally one client or project) into a private link a client can open without an account, read, print and approve. The link shows hours and, unless include_notes is false, the work descriptions; never rates or amounts. Anyone with the link can read it until it expires, so confirm the range, the client and whether to include notes with the user before calling. The link is returned only once: pass it on to the user. Not available on demo accounts.

ParameterTypeDescription
from *stringFirst day to include, YYYY-MM-DD
to *stringLast day to include (inclusive), YYYY-MM-DD
clientstringOnly this client: id or exact name
expires_in_daysnumberHow long the link works: 7, 30, 90 days (default 30)
include_notesbooleanShow the work descriptions to the client (default true)
projectstringOnly this project: id or "Client / Project"
titlestringA heading for the sheet (default: client and dates)