Teamleader Focus MCP by usefulapi

v1.29.1
io.usefulapi/teamleader-focus Checked 2 days ago Published 1 day ago

Read Teamleader Focus contacts, companies, deals, invoices, projects; create deals, tasks.

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

teamleader_create_invoice_drafts Preview or create invoice drafts from quotation lines

WRITE: preview up to five invoice drafts from zero-based quotation group/line positions. Full lines only, no repeated lines or recurring items. After approval, confirm with preview_hash and a stable operation_id; creates up to batch_size drafts per call with persistent duplicate protection. Preserves source prices, taxes, customer, currency and percentage discounts; shows vendor totals for review. Never books or sends invoices.

ParameterTypeDescription
department_id *string
drafts *array
operation_id *string
payment_term *object
quotation_id *string
batch_sizeinteger
confirmboolean
invoice_datestring
preview_hashstring

teamleader_create_custom_invoice_draft Preview or create a custom invoice draft

WRITE: preview one invoice draft with your own lines (description, quantity, unit price excluding tax, tax_rate_id from teamleader_list_tax_rates, optional percentage discount) in optional sections, plus remarks, invoice date, PO number and project, without a source quotation. Preview first and show it to the user; then repeat with confirm:true, the preview_hash and the same operation_id. Persistent duplicate protection: one operation_id creates at most one draft. Reads the draft back and checks its fields. Never books or sends invoices.

ParameterTypeDescription
currency *string
customer *object
department_id *string
operation_id *string
payment_term *object
sections *array
confirmboolean
invoice_contentstringRequired by Teamleader when the department and the customer's invoicing address are both in France and the account sends invoices via Peppol.
invoice_datestring
notestringThe invoice remarks field.
preview_hashstring
project_idstring
purchase_order_numberstring

teamleader_invoice_draft_operation_status Check invoice draft operation

Read the persistent progress and known invoice IDs of a quotation draft batch (kind quotation_batch, the default) or of a custom draft (kind custom). Uncertain writes are not replayed. This does not create, book or send invoices.

ParameterTypeDescription
operation_id *string
kindstring

teamleader_get_current_user Get the current user

Fetch the Teamleader user the sign-in belongs to: name, email, account id, language, time zone and teams. A cheap way to confirm the connection works. Teamleader: users.me.

teamleader_list_users List users

List the users (colleagues) in the Teamleader account. Use it to find a user id to assign deals or tasks to. Teamleader: users.list.

ParameterTypeDescription
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).
statusarrayFilter by status.
termstringSearch first name, last name, email and function.

teamleader_list_contacts List contacts

List or search contacts (people). Filter by search term, primary email, linked company, tags, status or last update. Teamleader: contacts.list.

ParameterTypeDescription
company_idstringOnly contacts linked to this company id.
emailstringExact primary email address.
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (default 10).
sort_fieldstring
sort_orderstringSort order.
statusstring
tagsarrayOnly contacts carrying ALL of these tags.
termstringSearch first name, last name, email and telephone.
updated_sincestringOnly contacts updated since (ISO 8601 with offset, e.g. 2026-01-31T00:00:00+00:00).

teamleader_get_contact Get a contact

Fetch one contact in full: emails, telephones, addresses, linked companies (with position), tags, custom fields and remarks. Teamleader: contacts.info.

ParameterTypeDescription
contact_id *stringThe contact id (a UUID).

teamleader_list_companies List companies

List or search companies (organisations). Filter by search term, primary email, VAT number, tags, status or last update. Teamleader: companies.list.

ParameterTypeDescription
emailstringExact primary email address.
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (default 10).
sort_fieldstring
sort_orderstringSort order.
statusstring
tagsarrayOnly companies carrying these tag names.
termstringSearch name, VAT number, emails and telephones.
updated_sincestringOnly companies updated since (ISO 8601 with offset, e.g. 2026-01-31T00:00:00+00:00).
vat_numberstringExact VAT number, e.g. BE 0899.623.035.

teamleader_get_company Get a company

Fetch one company in full: addresses, VAT number, responsible user, related contacts and companies, tags, custom fields and remarks. Teamleader: companies.info.

ParameterTypeDescription
company_id *stringThe company id (a UUID).

teamleader_list_deals List deals

List or search deals (sales opportunities). Filter by customer, phase, pipeline, status, responsible user, expected closing date or last update. Teamleader: deals.list.

ParameterTypeDescription
customer_idstringOnly deals for this contact/company id.
customer_typestringWith customer_id: the customer's type.
estimated_closing_date_fromstringExpected closing date from (YYYY-MM-DD).
estimated_closing_date_untilstringExpected closing date until (YYYY-MM-DD).
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (default 10).
phase_idstringOnly deals in this phase.
pipeline_idsarrayOnly deals in these pipelines.
responsible_user_idstringOnly deals this user is responsible for.
sort_fieldstring
sort_orderstringSort order.
statusarrayDeal statuses.
termstringSearch term.
updated_sincestringOnly deals updated since (ISO 8601 with offset, e.g. 2026-01-31T00:00:00+00:00).

teamleader_get_deal Get a deal

Fetch one deal in full: lead (customer + contact person), value, probability, current phase, phase history, linked quotations, responsible users, lost reason and custom fields. Teamleader: deals.info.

ParameterTypeDescription
deal_id *stringThe deal id (a UUID).

teamleader_list_deal_pipelines List deal pipelines

List the sales pipelines; the reply's meta names the default pipeline. Use a pipeline id with teamleader_list_deal_phases. Teamleader: dealPipelines.list.

ParameterTypeDescription
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).
statusarray
termstringSearch pipeline names.

teamleader_list_deal_phases List deal phases

List the phases (stages) of deal pipelines, in flow order, with their probability. Use a phase id when creating a deal. Teamleader: dealPhases.list.

ParameterTypeDescription
deal_pipeline_idstringOnly phases of this pipeline.
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).

teamleader_list_invoices List invoices

List or search outgoing invoices. Filter by term, invoice number, status (draft / outstanding / matched = paid), customer, deal, project, invoice date range or last update. Returns totals, due date and paid state. Teamleader: invoices.list.

ParameterTypeDescription
customer_idstringOnly invoices for this contact/company id.
customer_typestringWith customer_id: the customer's type.
deal_idstringThe deal id (a UUID).
invoice_date_afterstringInvoice date from, inclusive (YYYY-MM-DD).
invoice_date_beforestringInvoice date until, inclusive (YYYY-MM-DD).
invoice_numberstringFull invoice number, e.g. "2026 / 5".
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (default 10).
project_idstringThe project id (a UUID).
sort_fieldstring
sort_orderstringSort order.
statusarray
termstringSearch invoice number, PO number, payment reference and invoicee.
updated_sincestringOnly invoices updated since (ISO 8601 with offset, e.g. 2026-01-31T00:00:00+00:00).

teamleader_get_invoice Get an invoice

Fetch one invoice in full: invoicee, grouped line items, discounts, totals and taxes, payment term, payments received, payment reference and Peppol status. Teamleader: invoices.info.

ParameterTypeDescription
invoice_id *stringThe invoice id (a UUID).

teamleader_list_projects List projects

List projects (the projects module). Filter by term, status, customer or deal. Returns budget, time tracked, billed/unbilled amounts, dates and owners. Teamleader: projects-v2/projects.list.

ParameterTypeDescription
customer_idstringOnly projects for this contact/company id.
customer_typestringWith customer_id: the customer's type.
deal_idsarrayOnly projects linked to these deals.
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).
statusstring
termstringSearch project number, title, customer, assignee and owner names.

teamleader_list_project_groups List project groups

List the groups of one project. Returns their ids and titles; pass a group id as group_id to teamleader_create_project_task. Teamleader: projects-v2/projectGroups.list.

ParameterTypeDescription
project_id *stringOnly the groups of this project (a UUID).
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).

teamleader_list_tasks List tasks

List tasks (to-dos). Filter by assigned user, completed, scheduled, due date range, search term or customer. Teamleader: tasks.list.

ParameterTypeDescription
completedboolean
customer_idstringOnly tasks for this contact/company id.
customer_typestringWith customer_id: the customer's type.
due_bystringDue on or before (YYYY-MM-DD).
due_fromstringDue on or after (YYYY-MM-DD).
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).
scheduledboolean
sort_fieldstring
sort_orderstringSort order.
termstringSearch the task description.
user_idstringTasks assigned to this user or one of their teams.

teamleader_list_time_tracking List time tracking

List tracked time entries: who, when, duration (seconds), work type, subject, invoiceable flag and hourly rate. Filter by user, start range or subject. Teamleader: timeTracking.list.

ParameterTypeDescription
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).
sort_orderstringSort by start time (starts_on).
started_afterstringEntries that started on/after (ISO 8601 with offset, e.g. 2026-01-31T00:00:00+00:00).
started_beforestringEntries that started on/before (ISO 8601 with offset, e.g. 2026-01-31T00:00:00+00:00).
subject_idstringOnly entries tracked on this subject.
subject_typestringWith subject_id: the subject's type.
user_idstringThe user id (a UUID).

teamleader_list_tickets List tickets

List support tickets: subject, status, assignee, customer, project and last message time. Filter by customer, project or assignee. Teamleader: tickets.list.

ParameterTypeDescription
assignee_idsarrayOnly tickets assigned to one of these users.
customer_idstringOnly tickets relating to this contact/company id.
customer_typestringWith customer_id: the customer's type.
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).
project_idsarray

teamleader_list_work_types List work types

List work types (e.g. Design, Development), alphabetically. A work type id is REQUIRED to create a task. Teamleader: workTypes.list.

ParameterTypeDescription
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).
termstringSearch work type names.

teamleader_list_departments List departments

List the account's departments (company entities that issue invoices and quotations). A department id is needed to filter subscriptions and product categories or to create a deal for a specific entity. Teamleader: departments.list.

ParameterTypeDescription
sort_fieldstring
sort_orderstringSort order.
statusarrayFilter by status.

teamleader_list_tax_rates List tax rates

List the account's tax (VAT) rates with id, description and rate, optionally for one department. A tax rate id is required for every line of teamleader_create_custom_invoice_draft. Teamleader: taxRates.list.

ParameterTypeDescription
department_idstringThe department id (a UUID).
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).

teamleader_list_products List products

List or search products (the price list) by name or code. Teamleader: products.list.

ParameterTypeDescription
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).
termstringSearch the product name or code.
updated_sincestringOnly products updated since (ISO 8601 with offset, e.g. 2026-01-31T00:00:00+00:00).

teamleader_get_product Get a product

Fetch one product in full: code, description, purchase and selling prices, tax rate, unit, stock and category. Teamleader: products.info.

ParameterTypeDescription
product_id *stringThe product id (a UUID).

teamleader_list_product_categories List product categories

List the product categories (each one is a ledger account), optionally for one department. Teamleader: productCategories.list.

ParameterTypeDescription
department_idstringOnly categories of this department.

teamleader_list_quotations List quotations

List quotations (offers) with their status, totals and deal. Teamleader filters quotations only by id: to find a deal's quotations, take the ids from teamleader_get_deal. Teamleader: quotations.list.

ParameterTypeDescription
idsarrayOnly these quotations.
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).

teamleader_get_quotation Get a quotation

Fetch one quotation in full: deal, grouped line items, discounts, totals, taxes, status and expiry. Teamleader: quotations.info.

ParameterTypeDescription
quotation_id *stringThe quotation id (a UUID).

teamleader_list_activity_types List activity types

List the activity types of calendar events (Teamleader has three: tasks, meetings and calls). An activity type id is REQUIRED to create a calendar event. Teamleader: activityTypes.list.

ParameterTypeDescription
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).

teamleader_list_events List calendar events

List calendar events (meetings, calls) in a time window. Filter by user, activity type, search term, an attending contact, a linked contact / company / deal, a task or done state. Teamleader: events.list.

ParameterTypeDescription
activity_type_idstringThe activity type id (a UUID).
attendee_contact_idstringOnly events this contact attends.
doneboolean
ends_afterstringStart of the period: events ending after (ISO 8601 with offset, e.g. 2026-01-31T00:00:00+00:00).
link_idstringOnly events linked to this contact, company or deal.
link_typestringWith link_id: the linked record's type.
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (default 10).
sort_orderstringSort by start time (starts_at).
starts_beforestringEnd of the period: events starting before (ISO 8601 with offset, e.g. 2026-01-31T00:00:00+00:00).
task_idstringOnly events planned for this task.
termstringSearch the title and description.
user_idstringOnly this user's events.

teamleader_list_subscriptions List subscriptions

List subscriptions (recurring invoices): title, status, customer, billing cycle and next invoice date. Filter by customer, deal, department, status or the invoice a subscription generated. Teamleader: subscriptions.list.

ParameterTypeDescription
customer_idstringOnly this contact's or company's subscriptions.
customer_typestringWith customer_id: the customer's type.
deal_idstringOnly subscriptions created from this deal.
department_idstringThe department id (a UUID).
invoice_idstringThe subscription that generated this invoice.
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (default 10).
sort_fieldstring
sort_orderstringSort order.
statusarray

teamleader_get_subscription Get a subscription

Fetch one subscription in full: invoicee, line items, totals, billing cycle, start and end dates and payment term. Teamleader: subscriptions.info.

ParameterTypeDescription
subscription_id *stringThe subscription id (a UUID).

teamleader_list_notes List notes

List the notes on one contact, company, deal, invoice, quotation, project and more, with their text and date. Teamleader: notes.list.

ParameterTypeDescription
subject_id *stringThe subject id (a UUID).
subject_type *stringWhat the notes are attached to (nextgenProject = a project in the projects module).
pageintegerPage number, starting at 1.
page_sizeintegerPage size, 1-100 (Teamleader default 20).

teamleader_create_contact Create a contact

WRITE: create a new contact (person) in Teamleader. Only last_name is required. Returns the new contact's id. Teamleader: contacts.add.

ParameterTypeDescription
last_name *string
emailstringPrimary email address.
first_namestring
languagestringLanguage code, e.g. en, nl, fr.
remarksstring
tagsarrayTag names.
telephonesarray
websitestring

teamleader_create_company Create a company

WRITE: create a new company in Teamleader. Only name is required. Returns the new company's id. Teamleader: companies.add.

ParameterTypeDescription
name *string
business_type_idstringLegal structure id (e.g. NV/BV).
emailstringPrimary email address.
languagestringLanguage code, e.g. en, nl, fr.
remarksstring
responsible_user_idstringThe user id (a UUID).
tagsarrayTag names.
telephonesarray
vat_numberstring
websitestring

teamleader_create_deal Create a deal

WRITE: create a new deal for an existing contact or company. Requires the customer and a title; optionally a phase (see teamleader_list_deal_phases), value, probability and expected closing date. Returns the new deal's id. Teamleader: deals.create.

ParameterTypeDescription
customer_id *stringThe customer's contact or company id.
customer_type *stringWhether the customer is a contact or a company.
title *string
contact_person_idstringFor a company customer: the contact person.
department_idstringDepartment (company entity) id.
estimated_closing_datestringExpected closing date (YYYY-MM-DD).
estimated_probabilitynumberWin probability, 0 to 1.
estimated_value_amountnumberExpected value; needs estimated_value_currency.
estimated_value_currencystring
phase_idstringStarting phase; defaults to the default pipeline's first phase.
responsible_user_idstringThe user id (a UUID).
source_idstringThe deal source id (a UUID).
summarystringThe deal's remarks field.

teamleader_create_task Create a task

WRITE: create a task (to-do). Requires a title, a due date and a work type id (see teamleader_list_work_types). Optionally assign it to a user or team and link a customer, deal, project or ticket. Returns the new task's id. Teamleader: tasks.create.

ParameterTypeDescription
due_on *stringDue date (YYYY-MM-DD).
title *string
work_type_id *stringWork type id (required by Teamleader).
assignee_idstringThe assignee id (a UUID).
assignee_typestringWith assignee_id.
customer_idstringThe customer id (a UUID).
customer_typestringWith customer_id.
deal_idstringThe deal id (a UUID).
descriptionstring
estimated_duration_minutesinteger
project_idstringThe project id (a UUID).
ticket_idstringThe ticket id (a UUID).

teamleader_create_project_task Create a project task

WRITE: create a task inside a project (the projects module). Requires a project id and a title. Optionally put it in a group (teamleader_list_project_groups), set a work type, dates and an estimate (value and unit). Teamleader: projects-v2/tasks.create.

ParameterTypeDescription
project_id *stringThe project id (a UUID).
title *string
descriptionstring
end_datestringEnd date (YYYY-MM-DD).
group_idstringThe project group id (a UUID).
start_datestringStart date (YYYY-MM-DD).
time_estimatedobjectThe estimate: a value and its unit (Teamleader: hours, minutes or seconds).
work_type_idstringThe work type id (a UUID).

teamleader_create_project_group Create a project group

WRITE: create a group inside a project. Teamleader's name for a project section that tasks can be placed in (the nearest match to a phase). Requires a project id and a title. Optionally set a description and dates. Teamleader: projects-v2/projectGroups.create.

ParameterTypeDescription
project_id *stringThe project id (a UUID).
title *string
descriptionstring
end_datestringEnd date (YYYY-MM-DD).
start_datestringStart date (YYYY-MM-DD).

teamleader_add_note Add a note

WRITE: add a note to a contact, company, deal, invoice, quotation, project and more, e.g. a call summary. Optionally notify colleagues. Returns the new note's id. Teamleader: notes.create.

ParameterTypeDescription
content *stringThe note text.
subject_id *stringThe subject id (a UUID).
subject_type *stringWhat the note is attached to (nextgenProject = a project in the projects module).
notify_user_idsarrayUsers to notify about this note.

teamleader_create_event Create a calendar event

WRITE: put a meeting or call on the Teamleader calendar. Requires a title, an activity type id (see teamleader_list_activity_types), a start and an end. Attendees are firm users only; link the customer or deal with links. Returns the new event's id. Teamleader: events.create.

ParameterTypeDescription
activity_type_id *stringThe activity type id (a UUID).
ends_at *stringEnd (ISO 8601 with offset).
starts_at *stringStart (ISO 8601 with offset, e.g. 2026-02-04T16:00:00+01:00).
title *string
attendee_user_idsarrayFirm users who attend.
descriptionstring
linksarrayContacts, companies or deals the event is about.
locationstring
work_type_idstringThe work type id (a UUID).

teamleader_complete_task Complete a task

WRITE: mark a task (to-do) as complete. It can be reopened in Teamleader. Teamleader: tasks.complete.

ParameterTypeDescription
task_id *stringThe task id (a UUID).

teamleader_add_time_tracking Add tracked time

WRITE: record time spent, e.g. 90 minutes of development for a company. Give started_at plus duration_minutes or ended_at; optionally a work type, a description, the subject (customer, ticket, task, ...) and whether it is invoiceable. Teamleader splits an entry that passes midnight. Returns the new entry's id. Teamleader: timeTracking.add.

ParameterTypeDescription
started_at *stringStart (ISO 8601 with offset, e.g. 2026-02-04T09:00:00+01:00).
descriptionstring
duration_minutesintegerTime spent, in minutes. Give this or ended_at.
ended_atstringEnd; give this or duration_minutes (ISO 8601 with offset, e.g. 2026-01-31T00:00:00+00:00).
invoiceableboolean
subject_idstringThe subject id (a UUID).
subject_typestringWith subject_id: what the time was spent on (todo = a task, nextgenTask = a task in the projects module).
user_idstringRecord the time for another user (default: the signed-in user).
work_type_idstringThe work type id (a UUID).