Service Fusion MCP by usefulapi

v1.25.1
io.usefulapi/service-fusion Checked 2 days ago Published 1 day ago

Read Service Fusion customers, jobs, estimates, invoices and schedule; create customers and jobs.

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

servicefusion_get_me Get current user

The Service Fusion user the API credentials belong to: id, name and email. Use it to check the connection. GET /me.

servicefusion_list_customers List customers

List customers (newest id order unless sorted). Filter by name, contact, address, city, postal code, phone, email, tags or last-serviced date. Add expand=contacts,locations,custom_fields to include them. GET /customers.

ParameterTypeDescription
addressstringStreet address (partial match).
citystringCity (exact match).
contact_first_namestringContact first name (partial match).
contact_last_namestringContact last name (partial match).
emailstringEmail (exact match).
expandarrayExtra data to include: contacts, contacts.phones, contacts.emails, locations, custom_fields.
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
last_serviced_fromstringLast serviced on or after this date, yyyy-mm-dd.
last_serviced_tostringLast serviced on or before this date, yyyy-mm-dd.
namestringCustomer name (partial match).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-50 (default 10).
phonestringPhone (partial match).
postal_codestringPostal/ZIP code (exact match).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).
tagsstringTags, comma-separated (exact match).

servicefusion_get_customer Get customer

One customer by id, optionally with contacts, phones, emails, locations and custom fields. GET /customers/{id}.

ParameterTypeDescription
customer_id *integerService Fusion customer id.
expandarrayExtra data to include: contacts, contacts.phones, contacts.emails, locations, custom_fields.
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.

servicefusion_list_customer_equipment List customer equipment

List the equipment on file for a customer (type, make, model, serial number, warranty and install dates). GET /customers/{id}/equipment.

ParameterTypeDescription
customer_id *integerService Fusion customer id.
expandarrayExtra data to include: custom_fields.
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-50 (default 10).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).

servicefusion_get_customer_equipment Get customer equipment

One piece of equipment of a customer. GET /customers/{customer_id}/equipment/{equipment_id}.

ParameterTypeDescription
customer_id *integerService Fusion customer id.
equipment_id *integerEquipment id (from servicefusion_list_customer_equipment).
expandarrayExtra data to include: custom_fields.
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.

servicefusion_list_jobs List jobs

List jobs (work orders). Filter by status, number, PO or invoice number, customer, contact, address, phone, email, category, source and start/end/updated/closed dates. Add expand (techs_assigned, services, products, payments, invoices, visits, notes, ...) for detail. GET /jobs.

ParameterTypeDescription
addressstringStreet address (partial match).
categorystringJob categories, comma-separated (exact match).
citystringCity (exact match).
closed_fromstringClosed at or after (RFC 3339 date-time with timezone).
closed_tostringClosed at or before (RFC 3339 date-time with timezone).
contact_first_namestringContact first name (partial match).
contact_last_namestringContact last name (partial match).
customer_namestringCustomer name (partial match).
emailstringEmail (exact match).
end_date_fromstringJob end date on or after, yyyy-mm-dd.
end_date_tostringJob end date on or before, yyyy-mm-dd.
expandarrayExtra data to include: agents, custom_fields, pictures, documents, equipment, equipment.custom_fields, techs_assigned, tasks, notes, products, services, other_charges, labor_charges, expenses, payment…
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
invoice_numberstringInvoice number (partial match).
numberstringJob number (partial match).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
parent_customer_namestringParent customer name (partial match).
per_pageintegerResults per page, 1-50 (default 10).
phonestringPhone (partial match).
po_numberstringPO number (partial match).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).
sourcestringSources, comma-separated (exact match).
start_date_fromstringJob start date on or after, yyyy-mm-dd.
start_date_tostringJob start date on or before, yyyy-mm-dd.
statusstringJob status names, comma-separated (exact match; see servicefusion_list_job_statuses).
updated_fromstringUpdated at or after (RFC 3339 date-time with timezone).
updated_tostringUpdated at or before (RFC 3339 date-time with timezone).
zip_codestringPostal/ZIP code (exact match).

servicefusion_get_job Get job

One job by id, optionally with technicians, line items, labor, expenses, payments, invoices, notes, visits and more. GET /jobs/{id}.

ParameterTypeDescription
job_id *integerService Fusion job id.
expandarrayExtra data to include: agents, custom_fields, pictures, documents, equipment, equipment.custom_fields, techs_assigned, tasks, notes, products, services, other_charges, labor_charges, expenses, payment…
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.

servicefusion_list_estimates List estimates

List estimates (quotes). Filter by status, number, PO number, customer, contact, address, phone, email, category, source and start/end/requested dates. GET /estimates.

ParameterTypeDescription
addressstringStreet address (partial match).
categorystringCategories, comma-separated (exact match).
citystringCity (exact match).
contact_first_namestringContact first name (partial match).
contact_last_namestringContact last name (partial match).
customer_namestringCustomer name (partial match).
emailstringEmail (exact match).
end_date_fromstringEnd date on or after, yyyy-mm-dd.
end_date_tostringEnd date on or before, yyyy-mm-dd.
expandarrayExtra data to include: agents, custom_fields, pictures, documents, equipment, equipment.custom_fields, techs_assigned, tasks, notes, products, services, other_charges, payments, signatures, printable_…
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
numberstringEstimate number (partial match).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
parent_customer_namestringParent customer name (partial match).
per_pageintegerResults per page, 1-50 (default 10).
phonestringPhone (partial match).
po_numberstringPO number (partial match).
requested_fromstringRequested at or after (RFC 3339 date-time with timezone).
requested_tostringRequested at or before (RFC 3339 date-time with timezone).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).
sourcestringSources, comma-separated (exact match).
start_date_fromstringStart date on or after, yyyy-mm-dd.
start_date_tostringStart date on or before, yyyy-mm-dd.
statusstringEstimate status names, comma-separated (exact match).
zip_codestringPostal/ZIP code (exact match).

servicefusion_get_estimate Get estimate

One estimate by id, optionally with line items, technicians, notes, tags and more. GET /estimates/{id}.

ParameterTypeDescription
estimate_id *integerService Fusion estimate id.
expandarrayExtra data to include: agents, custom_fields, pictures, documents, equipment, equipment.custom_fields, techs_assigned, tasks, notes, products, services, other_charges, payments, signatures, printable_…
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.

servicefusion_list_invoices List invoices

List invoices with number, total, paid flag, dates and the customer. The API has no invoice filters: sort and page instead (for example sort=-date). GET /invoices.

ParameterTypeDescription
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-50 (default 10).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).

servicefusion_get_invoice Get invoice

One invoice by id. GET /invoices/{id}.

ParameterTypeDescription
invoice_id *integerService Fusion invoice id.
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.

servicefusion_list_calendar_tasks List calendar tasks

List calendar tasks (appointments and to-dos on the schedule) for one day (start_date or end_date alone), a date range (both) and/or given users. A task is returned when it overlaps the range. GET /calendar-tasks.

ParameterTypeDescription
end_datestringRange end, yyyy-mm-dd. Give BOTH start_date and end_date for a range; with only one of them the API returns tasks on that single day.
expandarrayExtra data to include: repeat.
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-50 (default 10).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).
start_datestringRange start, yyyy-mm-dd. Give BOTH start_date and end_date for a range; with only one of them the API returns tasks on that single day.
user_idsarrayOnly tasks assigned to these user (technician) ids.

servicefusion_get_calendar_task Get calendar task

One calendar task by id. GET /calendar-tasks/{id}.

ParameterTypeDescription
calendar_task_id *integerCalendar task id.
expandarrayExtra data to include: repeat.
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.

servicefusion_get_availability Get technician availability

Open time slots for technicians and/or crews over up to 8 days (end_date at most 7 days after start_date). Filter by technician, crew, department, experience level and slot length. GET /availability.

ParameterTypeDescription
end_date *stringLast day (inclusive), yyyy-mm-dd; at most 7 days after start_date.
start_date *stringFirst day (inclusive), yyyy-mm-dd.
crew_idsarrayOnly these crew ids.
departmentsarrayTechnician departments (any may match).
end_timestringOnly slots ending at or before this time of day, HH:MM.
experience_levelsarrayExperience levels 0-10 (any may match).
ignore_work_schedulebooleanIgnore each technician's work schedule; only the time window limits the slots.
max_durationintegerMaximum slot length in minutes.
min_durationintegerMinimum slot length in minutes.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerSlots per page, 1-100.
scopestringIndividual technician slots, crew slots, or both (the API default is techs; pass all to include crews).
sortstringSort by date and/or duration, e.g. date,-duration (API default: date).
start_timestringOnly slots starting at or after this time of day, HH:MM.
tech_idsarrayOnly these technician ids.

servicefusion_list_techs List technicians

List technicians and sales reps (name, contact details, department, title, color, field-worker and sales-rep flags). GET /techs.

ParameterTypeDescription
emailstringEmail (partial match).
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
first_namestringFirst name (partial match).
last_namestringLast name (partial match).
nickname_on_dispatchstringNickname on the dispatch board (partial match).
nickname_on_workorderstringNickname on work orders (partial match).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-50 (default 10).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).

servicefusion_get_tech Get technician

One technician by id. GET /techs/{id}.

ParameterTypeDescription
tech_id *integerService Fusion technician id.
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.

servicefusion_list_tech_departments List technician departments

The technician department names configured in the account (useful for availability filters). GET /techs/departments.

servicefusion_list_crews List crews

List crews (named groups of technicians), optionally with their members. GET /crews.

ParameterTypeDescription
expandarrayExtra data to include: techs.
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-50 (default 10).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).

servicefusion_get_crew Get crew

One crew by id, optionally with its technicians. GET /crews/{id}.

ParameterTypeDescription
crew_id *integerService Fusion crew id.
expandarrayExtra data to include: techs.
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.

servicefusion_list_job_categories List job categories

The job category names to use when creating or filtering jobs. GET /job-categories.

ParameterTypeDescription
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-50 (default 10).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).

servicefusion_list_job_statuses List job statuses

The job status names (code, name, custom flag, category) to use when creating or filtering jobs. GET /job-statuses.

ParameterTypeDescription
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-50 (default 10).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).

servicefusion_list_payment_types List payment types

The payment types configured in the account. GET /payment-types.

ParameterTypeDescription
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-50 (default 10).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).

servicefusion_list_sources List lead sources

The lead/referral sources (short and long names) to use when creating or filtering jobs and estimates. GET /sources.

ParameterTypeDescription
fieldsstringOnly return these fields, comma-separated (for example id,customer_name). Default: all.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-50 (default 10).
sortstringSort fields, comma-separated; a leading - sorts descending (for example -updated_at,customer_name).

servicefusion_create_customer Create customer

WRITE: create a customer in Service Fusion, optionally with contacts (phones, emails) and service locations. It is visible to the whole team and cannot be deleted through this API; creating the same name twice makes two customers, so search with servicefusion_list_customers first. POST /customers.

ParameterTypeDescription
customer_name *stringCustomer (company or person) name.
account_numberstring
agentstringSales agent name.
assigned_contractstring
contactsarray
credit_ratingstring
custom_fieldsarrayCustom fields: [{name, value}] with names as configured in Service Fusion.
discountnumber
discount_typestring
industrystring
is_bill_for_drive_timeboolean
is_taxableboolean
is_vipboolean
labor_charge_default_ratenumber
labor_charge_typestring
locationsarray
parent_customerstringName of an existing parent customer.
payment_termsstring
payment_typestring
private_notesstringInternal notes.
public_notesstringNotes shown on customer-facing documents.
referral_sourcestring
tax_item_namestring

servicefusion_create_job Create job

WRITE: create a job (work order) for a customer, optionally with address, category, source, assigned technicians, tasks, notes, products, services and other charges. It appears on the team's schedule and cannot be deleted through this API; creating twice makes two jobs. Look up category, source and status names with the list tools first. POST /jobs.

ParameterTypeDescription
customer_name *stringCustomer name exactly as in Service Fusion (see servicefusion_list_customers); an unknown name is created as a new customer.
called_in_bystring
categorystringJob category name (see servicefusion_list_job_categories).
check_numberstring
citystring
completion_notesstring
contact_first_namestring
contact_last_namestring
contractstring
custom_fieldsarrayCustom fields: [{name, value}] with names as configured in Service Fusion.
customer_payment_termsstring
descriptionstringJob/estimate description (max 500 characters).
durationintegerDuration in seconds, 0-86400 (3600 = 1 hour).
end_datestringEnd date, yyyy-mm-dd.
gate_instructionsstring
is_gatedboolean
is_requires_follow_upboolean
location_namestring
note_to_customerstring
notesarrayInternal notes: [{notes}].
other_chargesarray
payment_typestring
phasestring
po_numberstring
postal_codestring
prioritystring
productsarray
projectstring
servicesarray
sourcestringLead source name (see servicefusion_list_sources).
start_datestringStart date, yyyy-mm-dd.
state_provstring
statusstringJob status name (see servicefusion_list_job_statuses). Pass it: an account without a default status answers 'Status cannot be blank'.
street_1string
street_2string
tasksarray
tech_notesstringNotes for the technician.
techs_assignedarrayTechnicians to assign: [{id}] or [{first_name, last_name}].
time_frame_promised_endstringPromised arrival window end, HH:MM.
time_frame_promised_startstringPromised arrival window start, HH:MM.

servicefusion_create_estimate Create estimate

WRITE: create an estimate (quote) for a customer, optionally with address, category, source, technicians, tasks, notes, products, services, other charges and tags. It cannot be deleted through this API; creating twice makes two estimates. POST /estimates.

ParameterTypeDescription
customer_name *stringCustomer name exactly as in Service Fusion (see servicefusion_list_customers); an unknown name is created as a new customer.
categorystringJob category name (see servicefusion_list_job_categories).
citystring
contact_first_namestring
contact_last_namestring
contractstring
custom_fieldsarrayCustom fields: [{name, value}] with names as configured in Service Fusion.
descriptionstringJob/estimate description (max 500 characters).
durationintegerDuration in seconds, 0-86400 (3600 = 1 hour).
gate_instructionsstring
is_gatedboolean
location_namestring
note_to_customerstring
notesarrayInternal notes: [{notes}].
opportunity_ownerstringName of the opportunity owner.
opportunity_ratingintegerOpportunity rating, 0-5.
other_chargesarray
phasestring
po_numberstring
postal_codestring
productsarray
projectstring
servicesarray
sourcestringLead source name (see servicefusion_list_sources).
start_datestringStart date, yyyy-mm-dd.
state_provstring
statusstringStatus name (see servicefusion_list_job_statuses).
street_1string
street_2string
tagsarrayTags: [{tag}].
tasksarray
tech_notesstringNotes for the technician.
techs_assignedarrayTechnicians to assign: [{id}] or [{first_name, last_name}].
time_frame_promised_endstringPromised arrival window end, HH:MM.
time_frame_promised_startstringPromised arrival window start, HH:MM.