Freshsales MCP by usefulapi
v1.22.1Manage 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}.
| Parameter | Type | Description |
|---|---|---|
view_id * | integer | Contact view id (freshsales_list_contact_views). |
page | integer | Page number, 1-based (25 records per page). |
sort | string | Sort field. |
sort_type | string | Sort 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}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact id. |
include | array | Related records to embed. |
freshsales_search Search records
Search by name/email text across one record type: contact, lead (accounts with the Leads module), sales_account (company), deal or user. Returns id, type, name and email for the matches (up to per_page, default 10). Phone numbers are not a documented search field. Use the id with the get tools. GET /search.
| Parameter | Type | Description |
|---|---|---|
query * | string | Text to search for (name, email, ...). |
entity | string | Record type to search (singular). |
per_page | integer | Results to return (1-100, default 10). |
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.
| Parameter | Type | Description |
|---|---|---|
field * | string | Field to match: email, name, company_name (leads), or a custom field name (cf_...). |
value * | string | The exact value to find, e.g. jane@example.com. |
entity | string | Record 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}.
| Parameter | Type | Description |
|---|---|---|
view_id * | integer | Contact view id (freshsales_list_contact_views), e.g. the 'All Contacts' view. |
last_fetched_id | integer | The last_fetched_id of the previous reply; omit for the first part. |
limit | integer | Contacts 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).
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact id. |
match_field * | string | Field that must match: a standard field (email, first_name, ...) or a custom field (cf_...). |
match_value * | string | The exact value the field must have (compared as text, case-sensitive). |
allow_linked_deals | boolean | Also delete when the contact is linked to deals (default false: refused). |
confirm | boolean | true 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}.
| Parameter | Type | Description |
|---|---|---|
view_id * | integer | Lead view id (freshsales_list_lead_views). |
page | integer | Page number, 1-based (25 records per page). |
sort | string | Sort field. |
sort_type | string | Sort 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}.
| Parameter | Type | Description |
|---|---|---|
lead_id * | integer | Lead id. |
include | array | Related 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}.
| Parameter | Type | Description |
|---|---|---|
view_id * | integer | Account view id (freshsales_list_account_views). |
page | integer | Page number, 1-based (25 records per page). |
sort | string | Sort field. |
sort_type | string | Sort 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}.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | Account (sales account) id. |
include | array | Related 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}.
| Parameter | Type | Description |
|---|---|---|
view_id * | integer | Deal view id (freshsales_list_deal_views). |
page | integer | Page number, 1-based (25 records per page). |
sort | string | Sort field. |
sort_type | string | Sort 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}.
| Parameter | Type | Description |
|---|---|---|
deal_id * | integer | Deal id. |
include | array | Related 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.
| Parameter | Type | Description |
|---|---|---|
filter | string | Which tasks to list. |
page | integer | Page number, 1-based (25 records per page). |
freshsales_get_task Get task
One task by id. GET /tasks/{id}.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer | Task 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.
| Parameter | Type | Description |
|---|---|---|
filter | string | Which appointments to list. |
page | integer | Page number, 1-based (25 records per page). |
freshsales_get_appointment Get appointment
One appointment by id with its attendees. GET /appointments/{id}.
| Parameter | Type | Description |
|---|---|---|
appointment_id * | integer | Appointment 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, 1-based (25 records per page). |
per_page | integer | Records 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.
| Parameter | Type | Description |
|---|---|---|
pipeline_id | integer | Pipeline 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}.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Which 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.
| Parameter | Type | Description |
|---|---|---|
address | string | Street address. |
city | string | City. |
contact_status_id | integer | Contact status id (freshsales_list_options contact_statuses). |
country | string | Country. |
custom_field | object | Custom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_. |
email | string | Primary email address. |
first_name | string | First name. |
job_title | string | Job title. |
last_name | string | Last name. |
lead_source_id | integer | Lead source id (freshsales_list_options lead_sources). |
lifecycle_stage_id | integer | Lifecycle stage id (freshsales_list_options lifecycle_stages). |
mobile_number | string | Mobile number. |
owner_id | integer | Owner user id (freshsales_list_owners). |
sales_accounts | array | Companies the contact belongs to: [{id, is_primary}], at most 10, exactly one primary. |
state | string | State or region. |
work_number | string | Work phone number. |
zipcode | string | Postal 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}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact id. |
address | string | Street address. |
city | string | City. |
contact_status_id | integer | Contact status id (freshsales_list_options contact_statuses). |
country | string | Country. |
custom_field | object | Custom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_. |
email | string | Primary email address. |
first_name | string | First name. |
job_title | string | Job title. |
last_name | string | Last name. |
lead_source_id | integer | Lead source id (freshsales_list_options lead_sources). |
lifecycle_stage_id | integer | Lifecycle stage id (freshsales_list_options lifecycle_stages). |
mobile_number | string | Mobile number. |
owner_id | integer | Owner user id (freshsales_list_owners). |
sales_accounts | array | Companies the contact belongs to: [{id, is_primary}], at most 10, exactly one primary. |
state | string | State or region. |
work_number | string | Work phone number. |
zipcode | string | Postal 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Company name. |
address | string | Street address. |
annual_revenue | number | Annual revenue. |
business_type_id | integer | Business type id (freshsales_list_options business_types). |
city | string | City. |
country | string | Country. |
custom_field | object | Custom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_. |
industry_type_id | integer | Industry id (freshsales_list_options industry_types). |
number_of_employees | Company 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_id | integer | Owner user id (freshsales_list_owners). |
phone | string | Phone number. |
state | string | State or region. |
website | string | Website. |
zipcode | string | Postal 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}.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | Account (sales account) id. |
address | string | Street address. |
annual_revenue | number | Annual revenue. |
business_type_id | integer | Business type id (freshsales_list_options business_types). |
city | string | City. |
country | string | Country. |
custom_field | object | Custom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_. |
industry_type_id | integer | Industry id (freshsales_list_options industry_types). |
name | string | Company name. |
number_of_employees | Company 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_id | integer | Owner user id (freshsales_list_owners). |
phone | string | Phone number. |
state | string | State or region. |
website | string | Website. |
zipcode | string | Postal 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.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Deal value in the account's default currency. |
name * | string | Deal name. |
sales_account_id * | integer | Company the deal belongs to. |
contact_ids | array | Existing contact ids to attach to the deal. |
custom_field | object | Custom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_. |
deal_pipeline_id | integer | Pipeline id (freshsales_list_deal_pipelines). |
deal_stage_id | integer | Stage id (freshsales_list_deal_stages). |
deal_type_id | integer | Deal type id (freshsales_list_options deal_types). |
expected_close | string | Expected close date, YYYY-MM-DD. |
lead_source_id | integer | Lead source id (freshsales_list_options lead_sources). |
owner_id | integer | Owner user id (freshsales_list_owners). |
probability | integer | Win 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}.
| Parameter | Type | Description |
|---|---|---|
deal_id * | integer | Deal id. |
add_contact_ids | array | Existing contact ids to attach. |
amount | number | Deal value in the deal's own currency (a multi-currency account: freshsales_get_deal shows the deal's currency first when updating). |
custom_field | object | Custom field values keyed by field name, e.g. {"cf_is_active": true}. Field names start with cf_. |
deal_pipeline_id | integer | Pipeline id (freshsales_list_deal_pipelines). |
deal_stage_id | integer | Stage id (freshsales_list_deal_stages). |
deal_type_id | integer | Deal type id (freshsales_list_options deal_types). |
expected_close | string | Expected close date, YYYY-MM-DD. |
lead_source_id | integer | Lead source id (freshsales_list_options lead_sources). |
name | string | Deal name. |
owner_id | integer | Owner user id (freshsales_list_owners). |
probability | integer | Win probability, 0-100. |
remove_contact_ids | array | Contact ids to detach from the deal. |
sales_account_id | integer | Company 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.
| Parameter | Type | Description |
|---|---|---|
description * | string | The note text. |
target_id * | integer | Id of the contact, account or deal. |
target_type * | string | What 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}.
| Parameter | Type | Description |
|---|---|---|
description * | string | The new note text. |
note_id * | integer | Note 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.
| Parameter | Type | Description |
|---|---|---|
due_date * | string | Due date and time, ISO 8601 with a timezone, e.g. 2026-11-02T09:00:00Z. |
owner_id * | integer | User who owns the task (freshsales_list_owners). |
target_id * | integer | Id of the contact, account or deal. |
target_type * | string | What the record is attached to: Contact, SalesAccount (company) or Deal. |
title * | string | Task title. |
description | string | Details. |
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}.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer | Task id. |
description | string | New details. |
due_date | string | New due date and time, ISO 8601 with a timezone. |
owner_id | integer | New owner user id. |
status | 0 = open, 1 = completed. | |
title | string | New 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.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End, ISO 8601 with a timezone; after from_date. |
from_date * | string | Start, ISO 8601 with a timezone, e.g. 2026-11-02T09:00:00Z. |
title * | string | Appointment title. |
attendee_contact_ids | array | Contact ids attending. |
attendee_user_ids | array | User ids (freshsales_list_owners) attending. |
description | string | Details. |
location | string | Location. |
target_id | integer | Id of the contact, account or deal (with target_type). |
target_type | string | What the record is attached to: Contact, SalesAccount (company) or Deal. |
time_zone | string | Time zone name, e.g. Europe/Prague. |