Freshsales MCP by usefulapi

v1.22.1
io.usefulapi/freshsales Checked 2 days ago Published 1 day ago

Manage Freshsales contacts, accounts, deals, tasks and appointments; add notes.

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

freshsales_list_contact_views List contact views

List the saved contact views (filters) of the account, e.g. 'My Contacts', 'New Contacts', 'All Contacts'. A view id is needed by freshsales_list_contacts; ids differ per account. GET /contacts/filters.

freshsales_list_contacts List contacts

List the contacts in a view (get view_id from freshsales_list_contact_views), 25 per page with name, email, phone numbers, job title, lead score, open deals amount and last contacted. Pages: use next_page. GET /contacts/view/{view_id}.

ParameterTypeDescription
view_id *integerContact view id (freshsales_list_contact_views).
pageintegerPage number, 1-based (25 records per page).
sortstringSort field.
sort_typestringSort direction (default: the view's own order).

freshsales_get_contact Get contact

One contact by id with all its fields, optionally with related records embedded via include (notes, tasks, appointments, deals, sales_accounts, owner, sales_activities...). GET /contacts/{id}.

ParameterTypeDescription
contact_id *integerContact id.
includearrayRelated records to embed.

freshsales_lookup Look up by exact field

Exact-match lookup of contacts, leads, companies or deals by one field, e.g. a contact by email address. field is 'email' (contacts, leads), 'name', 'company_name' (leads), or a custom field name (cf_...). Returns the full records. GET /lookup.

ParameterTypeDescription
field *stringField to match: email, name, company_name (leads), or a custom field name (cf_...).
value *stringThe exact value to find, e.g. jane@example.com.
entitystringRecord type.

freshsales_export_contacts Export contacts

Read every contact of a view in ascending id order, up to 100 per call (fewer when the records are large), for a backup or a full export. Use the 'All Contacts' view id from freshsales_list_contact_views. Pass the reply's last_fetched_id to get the next part until has_next_page is false. Each call uses one request of the account's 1000 per hour. GET /contacts/scroll/{view_id}.

ParameterTypeDescription
view_id *integerContact view id (freshsales_list_contact_views), e.g. the 'All Contacts' view.
last_fetched_idintegerThe last_fetched_id of the previous reply; omit for the first part.
limitintegerContacts per call (1-100, default 50). Large records may be returned in fewer, whole records.

freshsales_delete_contact Delete contact

DESTRUCTIVE: delete ONE contact by id, only when its field match_field has exactly the value match_value (e.g. a cf_ custom field or email). The tool first reads the contact with its deals, tasks, appointments and notes. A contact with linked deals is refused unless allow_linked_deals is true. Without confirm=true nothing is deleted: the reply is a preview of the match and the linked records. With confirm=true the contact is deleted (DELETE /contacts/{id}) and read again to verify. Export or back up first (freshsales_export_contacts).

ParameterTypeDescription
contact_id *integerContact id.
match_field *stringField that must match: a standard field (email, first_name, ...) or a custom field (cf_...).
match_value *stringThe exact value the field must have (compared as text, case-sensitive).
allow_linked_dealsbooleanAlso delete when the contact is linked to deals (default false: refused).
confirmbooleantrue deletes; false (default) only returns the preview.

freshsales_list_lead_views List lead views

List the saved lead views of an account that has the Leads module, e.g. 'My Leads', 'New Leads', 'Unassigned Leads'. A view id is needed by freshsales_list_leads. GET /leads/filters.

freshsales_list_leads List leads

List the leads in a view (get view_id from freshsales_list_lead_views), 25 per page. Pages: use next_page. GET /leads/view/{view_id}.

ParameterTypeDescription
view_id *integerLead view id (freshsales_list_lead_views).
pageintegerPage number, 1-based (25 records per page).
sortstringSort field.
sort_typestringSort direction (default: the view's own order).

freshsales_get_lead Get lead

One lead by id with all its fields (name, email, phone numbers, company, lead stage, custom fields), optionally with related records via include (owner, source, lead_stage, notes, tasks, appointments...). GET /leads/{id}.

ParameterTypeDescription
lead_id *integerLead id.
includearrayRelated records to embed.

freshsales_list_account_views List account views

List the saved account (company) views of the account, e.g. 'My Accounts'. A view id is needed by freshsales_list_accounts. GET /sales_accounts/filters.

freshsales_list_accounts List accounts

List the accounts (companies) in a view (view_id from freshsales_list_account_views), 25 per page, with name, location, open deals amount and last contacted. GET /sales_accounts/view/{view_id}.

ParameterTypeDescription
view_id *integerAccount view id (freshsales_list_account_views).
pageintegerPage number, 1-based (25 records per page).
sortstringSort field.
sort_typestringSort direction (default: the view's own order).

freshsales_get_account Get account

One account (company) by id with its fields, optionally with related records embedded (contacts, deals, tasks, appointments, owner...). GET /sales_accounts/{id}.

ParameterTypeDescription
account_id *integerAccount (sales account) id.
includearrayRelated records to embed.

freshsales_list_deal_views List deal views

List the saved deal views of the account, e.g. 'Open Deals'. A view id is needed by freshsales_list_deals. GET /deals/filters.

freshsales_list_deals List deals

List the deals in a view (view_id from freshsales_list_deal_views), 25 per page, with name, amount, expected close, probability and age. GET /deals/view/{view_id}.

ParameterTypeDescription
view_id *integerDeal view id (freshsales_list_deal_views).
pageintegerPage number, 1-based (25 records per page).
sortstringSort field.
sort_typestringSort direction (default: the view's own order).

freshsales_get_deal Get deal

One deal by id with amount, expected close, probability and ids of its stage, pipeline and owner, optionally with related records embedded (contacts, sales_account, deal_stage, owner, notes via sales_activities...). GET /deals/{id}.

ParameterTypeDescription
deal_id *integerDeal id.
includearrayRelated records to embed.

freshsales_list_tasks List tasks

List tasks by status filter: open, due_today, due_tomorrow, overdue or completed (one filter per call). Returns title, due date, owner and status. GET /tasks.

ParameterTypeDescription
filterstringWhich tasks to list.
pageintegerPage number, 1-based (25 records per page).

freshsales_get_task Get task

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

ParameterTypeDescription
task_id *integerTask id.

freshsales_list_appointments List appointments

List appointments that are open (upcoming) or complete (one filter per call), with title, time, location and creator. GET /appointments.

ParameterTypeDescription
filterstringWhich appointments to list.
pageintegerPage number, 1-based (25 records per page).

freshsales_get_appointment Get appointment

One appointment by id with its attendees. GET /appointments/{id}.

ParameterTypeDescription
appointment_id *integerAppointment id.

freshsales_list_sales_activities List sales activities

List logged sales activities (calls, meetings, emails...) of the account. Requires the user's sales-activity permissions and the corresponding account feature. If HTTP 403 is returned, check those permissions before retrying. For one known contact or deal, its get tool also supports include=["sales_activities"], subject to the user's access rights. GET /sales_activities.

ParameterTypeDescription
pageintegerPage number, 1-based (25 records per page).
per_pageintegerRecords per page (1-100).

freshsales_list_owners List owners (users)

List the users of the account (id and name). Use the id as owner_id when creating or updating records. GET /selector/owners.

freshsales_list_deal_pipelines List deal pipelines

List the deal pipelines (id, name). GET /selector/deal_pipelines.

freshsales_list_deal_stages List deal stages

List deal stages (id, name, deal_pipeline_id): those of the default pipeline, or of the pipeline given by pipeline_id. Use the id as deal_stage_id. GET /selector/deal_stages or /selector/deal_pipelines/{id}/deal_stages.

ParameterTypeDescription
pipeline_idintegerPipeline id (freshsales_list_deal_pipelines); default pipeline when omitted.

freshsales_list_options List option values

List the configured choices (id and name) for a field: lead_sources, contact_statuses, lifecycle_stages, deal_types, deal_reasons, deal_products, deal_payment_statuses, territories, currencies, industry_types, business_types, campaigns, sales_activity_types, sales_activity_outcomes. Use the ids in the *_id fields of the write tools. GET /selector/{kind}.

ParameterTypeDescription
kind *stringWhich list of choices.

freshsales_create_contact Create contact

WRITE: create a contact. Freshsales requires an email or a mobile number. It may create a duplicate of an existing contact: search first (freshsales_lookup by email). POST /contacts.

ParameterTypeDescription
addressstringStreet address.
citystringCity.
contact_status_idintegerContact status id (freshsales_list_options contact_statuses).
countrystringCountry.
custom_fieldobjectCustom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_.
emailstringPrimary email address.
first_namestringFirst name.
job_titlestringJob title.
last_namestringLast name.
lead_source_idintegerLead source id (freshsales_list_options lead_sources).
lifecycle_stage_idintegerLifecycle stage id (freshsales_list_options lifecycle_stages).
mobile_numberstringMobile number.
owner_idintegerOwner user id (freshsales_list_owners).
sales_accountsarrayCompanies the contact belongs to: [{id, is_primary}], at most 10, exactly one primary.
statestringState or region.
work_numberstringWork phone number.
zipcodestringPostal code.

freshsales_update_contact Update contact

WRITE: change fields of an existing contact; only the fields you pass are changed (passing sales_accounts replaces the associated companies). PUT /contacts/{id}.

ParameterTypeDescription
contact_id *integerContact id.
addressstringStreet address.
citystringCity.
contact_status_idintegerContact status id (freshsales_list_options contact_statuses).
countrystringCountry.
custom_fieldobjectCustom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_.
emailstringPrimary email address.
first_namestringFirst name.
job_titlestringJob title.
last_namestringLast name.
lead_source_idintegerLead source id (freshsales_list_options lead_sources).
lifecycle_stage_idintegerLifecycle stage id (freshsales_list_options lifecycle_stages).
mobile_numberstringMobile number.
owner_idintegerOwner user id (freshsales_list_owners).
sales_accountsarrayCompanies the contact belongs to: [{id, is_primary}], at most 10, exactly one primary.
statestringState or region.
work_numberstringWork phone number.
zipcodestringPostal code.

freshsales_create_account Create account

WRITE: create an account (company). name is required. It may duplicate an existing company: search first (freshsales_search). POST /sales_accounts.

ParameterTypeDescription
name *stringCompany name.
addressstringStreet address.
annual_revenuenumberAnnual revenue.
business_type_idintegerBusiness type id (freshsales_list_options business_types).
citystringCity.
countrystringCountry.
custom_fieldobjectCustom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_.
industry_type_idintegerIndustry id (freshsales_list_options industry_types).
number_of_employeesCompany size bucket code (not a headcount): 1 = 1-10, 11 = 11-50, 51 = 51-200, 201 = 201-500, 501 = 501-1000, 1001 = 1001-5000, 5001 = 5001-10000, 10001 = 10000+.
owner_idintegerOwner user id (freshsales_list_owners).
phonestringPhone number.
statestringState or region.
websitestringWebsite.
zipcodestringPostal code.

freshsales_update_account Update account

WRITE: change fields of an existing account (company); only the fields you pass are changed. PUT /sales_accounts/{id}.

ParameterTypeDescription
account_id *integerAccount (sales account) id.
addressstringStreet address.
annual_revenuenumberAnnual revenue.
business_type_idintegerBusiness type id (freshsales_list_options business_types).
citystringCity.
countrystringCountry.
custom_fieldobjectCustom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_.
industry_type_idintegerIndustry id (freshsales_list_options industry_types).
namestringCompany name.
number_of_employeesCompany size bucket code (not a headcount): 1 = 1-10, 11 = 11-50, 51 = 51-200, 201 = 201-500, 501 = 501-1000, 1001 = 1001-5000, 5001 = 5001-10000, 10001 = 10000+.
owner_idintegerOwner user id (freshsales_list_owners).
phonestringPhone number.
statestringState or region.
websitestringWebsite.
zipcodestringPostal code.

freshsales_create_deal Create deal

WRITE: create a deal. name, amount and sales_account_id are required; contact_ids attach existing contacts. Stage and pipeline default to the first of the default pipeline. POST /deals.

ParameterTypeDescription
amount *numberDeal value in the account's default currency.
name *stringDeal name.
sales_account_id *integerCompany the deal belongs to.
contact_idsarrayExisting contact ids to attach to the deal.
custom_fieldobjectCustom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_.
deal_pipeline_idintegerPipeline id (freshsales_list_deal_pipelines).
deal_stage_idintegerStage id (freshsales_list_deal_stages).
deal_type_idintegerDeal type id (freshsales_list_options deal_types).
expected_closestringExpected close date, YYYY-MM-DD.
lead_source_idintegerLead source id (freshsales_list_options lead_sources).
owner_idintegerOwner user id (freshsales_list_owners).
probabilityintegerWin probability, 0-100.

freshsales_update_deal Update deal

WRITE: change fields of an existing deal, e.g. move it to another stage (deal_stage_id), change amount or expected close; only the fields you pass are changed. PUT /deals/{id}.

ParameterTypeDescription
deal_id *integerDeal id.
add_contact_idsarrayExisting contact ids to attach.
amountnumberDeal value in the deal's own currency (a multi-currency account: freshsales_get_deal shows the deal's currency first when updating).
custom_fieldobjectCustom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_.
deal_pipeline_idintegerPipeline id (freshsales_list_deal_pipelines).
deal_stage_idintegerStage id (freshsales_list_deal_stages).
deal_type_idintegerDeal type id (freshsales_list_options deal_types).
expected_closestringExpected close date, YYYY-MM-DD.
lead_source_idintegerLead source id (freshsales_list_options lead_sources).
namestringDeal name.
owner_idintegerOwner user id (freshsales_list_owners).
probabilityintegerWin probability, 0-100.
remove_contact_idsarrayContact ids to detach from the deal.
sales_account_idintegerCompany the deal belongs to (freshsales_search sales_account).

freshsales_create_note Add note

WRITE: add a note to a contact, account or deal. Visible to your team on the record. POST /notes.

ParameterTypeDescription
description *stringThe note text.
target_id *integerId of the contact, account or deal.
target_type *stringWhat the record is attached to: Contact, SalesAccount (company) or Deal.

freshsales_update_note Update note

WRITE: replace the text of an existing note. PUT /notes/{id}.

ParameterTypeDescription
description *stringThe new note text.
note_id *integerNote id.

freshsales_create_task Create task

WRITE: create a task (to-do) attached to a contact, account or deal. title, due_date, owner_id and the target are required. POST /tasks.

ParameterTypeDescription
due_date *stringDue date and time, ISO 8601 with a timezone, e.g. 2026-11-02T09:00:00Z.
owner_id *integerUser who owns the task (freshsales_list_owners).
target_id *integerId of the contact, account or deal.
target_type *stringWhat the record is attached to: Contact, SalesAccount (company) or Deal.
title *stringTask title.
descriptionstringDetails.

freshsales_update_task Update task

WRITE: change a task: title, details, due date, owner, or mark it completed (status 1) or open (status 0). PUT /tasks/{id}.

ParameterTypeDescription
task_id *integerTask id.
descriptionstringNew details.
due_datestringNew due date and time, ISO 8601 with a timezone.
owner_idintegerNew owner user id.
status0 = open, 1 = completed.
titlestringNew title.

freshsales_create_appointment Create appointment

WRITE: create an appointment (meeting) with a start and end, optionally attached to a contact, account or deal and with attendees. Attendees may be notified by Freshsales. POST /appointments.

ParameterTypeDescription
end_date *stringEnd, ISO 8601 with a timezone; after from_date.
from_date *stringStart, ISO 8601 with a timezone, e.g. 2026-11-02T09:00:00Z.
title *stringAppointment title.
attendee_contact_idsarrayContact ids attending.
attendee_user_idsarrayUser ids (freshsales_list_owners) attending.
descriptionstringDetails.
locationstringLocation.
target_idintegerId of the contact, account or deal (with target_type).
target_typestringWhat the record is attached to: Contact, SalesAccount (company) or Deal.
time_zonestringTime zone name, e.g. Europe/Prague.