# MarketSharp MCP tools

> Every MarketSharp MCP tool on the Cotlet server: tool names, input schemas, a tools/call example and an example result for each tool.

Source: https://cotlet.dev/docs/mcp/marketsharp

Docs sections: [Get started](https://cotlet.dev/docs.md) · [REST API](https://cotlet.dev/docs/api.md) · [MCP](https://cotlet.dev/docs/mcp.md) · [SDKs & CLI](https://cotlet.dev/docs/sdks.md) · [Integrations](https://cotlet.dev/docs/integrations.md)

14 tools for MarketSharp on the Cotlet MCP server. Your agent picks them from tools/list.

- MCP server: `https://cotlet.dev/mcp/v1`
- Connects with: Your own MarketSharp user account (a role that can see and edit the contacts, appointments and jobs you use)
- Integration page: https://cotlet.dev/integrations/marketsharp-api-mcp-server

## Endpoints

| Endpoint | Access | Description |
|---|---|---|
| `marketsharp_search_contacts` | read | Find prospects, leads and customers by name, phone, email or address, like Quick Find. |
| `marketsharp_get_contact` | read | Full contact record: phones, addresses, inquiries, appointments, jobs, notes and open activities. |
| `marketsharp_list_appointments` | read | Sales appointments in a date range with contact, salesperson, set by and Appt Result. |
| `marketsharp_list_jobs` | read | Jobs with job number, customer, job status, contract status, sale date and start date. |
| `marketsharp_get_job` | read | One job: products, contract amount and status, payments, production tasks and dates. |
| `marketsharp_list_activities` | read | The Activity List: to-dos for a user and date, with type, contact and due date. |
| `marketsharp_create_lead` | write | New lead with contact details and an inquiry, optionally with a sales appointment. |
| `marketsharp_schedule_appointment` | write | Add a sales appointment to a contact's inquiry; it appears on the Sales Calendar. |
| `marketsharp_result_appointment` | write | Set the Appt Result after the visit. A result marked Sold converts the lead to a customer. |
| `marketsharp_add_note` | write | Add a note to the Notes tab of a contact. |
| `marketsharp_add_activity` | write | Add a follow-up activity to a contact and assign it to a user. |
| `marketsharp_complete_activity` | write | Mark an activity as completed, with an activity result. |
| `marketsharp_update_job_status` | write | Change a job's Job Status or Contract Status, for example to Canceled. |
| `marketsharp_issue_appointments` | write | Email and issue appointments to the assigned salespeople, using one of your Issue Appointment templates. |

## Search contacts

MCP tool: `marketsharp_search_contacts`

Access: read.

Searches your MarketSharp contacts the way Quick Find does and returns the best matches first. Use contact_id from each item in get_contact and the write tools. Pages hold up to 100 contacts.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Name, phone, email or address. |
| `contact_type` | enum | no | prospect, lead, customer or all. Default: all. |
| `limit` | integer | no | 1 to 100. Default: 25. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_search_contacts",
    "arguments": {
      "query": "query"
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "contacts": [
      {
        "contact_id": "3e9b1d44-0c27-4f5a-8e13-6a2b9c0d7f58",
        "name": "Dana Miller",
        "contact_type": "lead",
        "phone": "555-0142",
        "address": "12 Oak Lane, Springfield, IL 62704"
      }
    ]
  },
  "isError": false
}
```

## Get contact

MCP tool: `marketsharp_get_contact`

Access: read.

Returns one contact with its phones, addresses, inquiries, appointments, jobs, notes and open activities. Use it before writing, so your agent sees what is already there. IDs in the result feed the other tools.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `contact_id` | string | yes | Contact ID from search_contacts. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_get_contact",
    "arguments": {
      "contact_id": "contact_8c41d2"
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "contact_id": "3e9b1d44-0c27-4f5a-8e13-6a2b9c0d7f58",
    "name": "Dana Miller",
    "contact_type": "lead",
    "inquiries": [
      {
        "inquiry_id": "i_204",
        "product": "Kitchen"
      }
    ],
    "appointments": [
      {
        "appointment_id": "a7f3c2e1-5b8d-4e0a-9c61-2d4f8b7e1a90",
        "starts_at": "2026-10-15T10:00:00-05:00",
        "result": null
      }
    ],
    "jobs": [],
    "notes": [],
    "open_activities": []
  },
  "isError": false
}
```

## List appointments

MCP tool: `marketsharp_list_appointments`

Access: read.

Lists sales appointments between two dates, earliest first. Set unresulted_only to see the visits that still need an Appt Result. Result is empty until someone sets it.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `from` | date | yes | First appointment date. |
| `to` | date | yes | Last appointment date. |
| `salesperson` | string | no | MarketSharp username of the salesperson. |
| `unresulted_only` | boolean | no | Only appointments with no Appt Result yet. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_list_appointments",
    "arguments": {
      "from": "2026-10-01",
      "to": "2026-10-01"
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "appointments": [
      {
        "appointment_id": "a7f3c2e1-5b8d-4e0a-9c61-2d4f8b7e1a90",
        "contact": "Dana Miller",
        "salesperson": "jsmith",
        "set_by": "frontdesk",
        "starts_at": "2026-10-08T10:00:00-05:00",
        "result": null
      }
    ]
  },
  "isError": false
}
```

## List jobs

MCP tool: `marketsharp_list_jobs`

Access: read.

Lists jobs, newest sale first, with job number, customer, Job Status, Contract Status, sale date and start date. Filter by sale date or by one of your own Job Status values. Pages hold up to 200 jobs.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `sold_from` | date | no | Only jobs sold on or after this date. |
| `sold_to` | date | no | Only jobs sold on or before this date. |
| `job_status` | string | no | One of your company's Job Status values. |
| `limit` | integer | no | 1 to 200. Default: 50. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_list_jobs",
    "arguments": {}
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "jobs": [
      {
        "job_id": "j_5531",
        "job_number": "1042",
        "customer": "Dana Miller",
        "job_status": "Sold",
        "contract_status": "Signed",
        "sold_on": "2026-10-08",
        "start_date": "2026-11-02"
      }
    ]
  },
  "isError": false
}
```

## Get job

MCP tool: `marketsharp_get_job`

Access: read.

Returns one job with its products, contract amount and status, payments, production tasks and dates. Use it when the list is not enough.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `job_id` | string | yes | Job ID from list_jobs or get_contact. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_get_job",
    "arguments": {
      "job_id": "job_8c41d2"
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "job_id": "j_5531",
    "job_number": "1042",
    "customer": "Dana Miller",
    "products": [
      "Kitchen"
    ],
    "contract": {
      "amount": 18500,
      "currency": "USD",
      "status": "Signed"
    },
    "payments": [
      {
        "amount": 5000,
        "received_on": "2026-10-08"
      }
    ],
    "start_date": "2026-11-02"
  },
  "isError": false
}
```

## List activities

MCP tool: `marketsharp_list_activities`

Access: read.

Returns the Activity List for one user and day: type, contact, reference and due date. Open activities only, unless include_completed is set. Use activity_id with complete_activity.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `assigned_to` | string | no | MarketSharp username. Default: you. |
| `date` | date | no | Day to list. Default: today. |
| `activity_type` | string | no | One of your Activity Types, e.g. a call. |
| `include_completed` | boolean | no | Also return completed activities. Default: false. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_list_activities",
    "arguments": {}
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "activities": [
      {
        "activity_id": "act_881",
        "activity_type": "Call",
        "contact": "Dana Miller",
        "reference": "Follow up on kitchen quote",
        "due_at": "2026-10-14T09:00:00-05:00",
        "completed": false
      }
    ]
  },
  "isError": false
}
```

## Create lead

MCP tool: `marketsharp_create_lead`

Access: write. Confirm: waits for the user's OK before it runs.

Creates a lead with an inquiry in your MarketSharp account. A first name, a last name, and an email or a phone number are required. With appointment_at set, a sales appointment is added to the Sales Calendar. Source and product values must exist in your lists. By default you confirm each call; you can switch that off for this tool.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `first_name` | string | yes | Up to 50 characters. |
| `last_name` | string | yes | Up to 50 characters. |
| `email` | string | no | Email or a phone number is required. |
| `phone` | string | no | Home or cell phone. |
| `address` | object | no | address1, city, state, zip. |
| `primary_source` | string | no | One of your existing primary lead sources. |
| `product_interests` | string[] | no | Product types from your MarketSharp list. |
| `inquiry_notes` | string | no | Added to the inquiry notes. |
| `appointment_at` | datetime | no | Book a sales appointment at this time. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_create_lead",
    "arguments": {
      "first_name": "Dana",
      "last_name": "Miller",
      "phone": "555-0142",
      "primary_source": "Website",
      "product_interests": [
        "Kitchen"
      ],
      "inquiry_notes": "Wants a quote for a kitchen remodel, prefers mornings."
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "contact_id": "3e9b1d44-0c27-4f5a-8e13-6a2b9c0d7f58",
    "inquiry_id": "i_204",
    "appointment_id": "a7f3c2e1-5b8d-4e0a-9c61-2d4f8b7e1a90",
    "contact_type": "lead",
    "status": "created"
  },
  "isError": false
}
```

## Schedule appointment

MCP tool: `marketsharp_schedule_appointment`

Access: write. Confirm: waits for the user's OK before it runs.

Adds a sales appointment to an inquiry, the latest one unless inquiry_id is set. It appears on the Sales Calendar for the chosen salesperson. By default you confirm each call; you can switch that off for this tool.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `contact_id` | string | yes | Contact ID from search_contacts. |
| `inquiry_id` | string | no | Inquiry to attach it to. Default: the latest one. |
| `starts_at` | datetime | yes | ISO 8601 with time zone. |
| `salesperson` | string | no | MarketSharp username of the salesperson. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_schedule_appointment",
    "arguments": {
      "contact_id": "contact_8c41d2",
      "starts_at": "2026-10-01T09:00:00Z"
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "appointment_id": "a7f3c2e1-5b8d-4e0a-9c61-2d4f8b7e1a90",
    "contact_id": "3e9b1d44-0c27-4f5a-8e13-6a2b9c0d7f58",
    "starts_at": "2026-10-15T10:00:00-05:00",
    "salesperson": "jsmith",
    "status": "scheduled"
  },
  "isError": false
}
```

## Result appointment

MCP tool: `marketsharp_result_appointment`

Access: write. Confirm: waits for the user's OK before it runs.

Sets the Appt Result of one appointment to one of your company's own options. A result marked Sold converts the lead to a customer, and the response says what to do next. By default you confirm each call; you can switch that off for this tool.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `appointment_id` | string | yes | Appointment ID from get_contact or list_appointments. |
| `result` | string | yes | One of your company's Appt Result options. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_result_appointment",
    "arguments": {
      "appointment_id": "a7f3c2e1-5b8d-4e0a-9c61-2d4f8b7e1a90",
      "result": "Sold"
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "appointment_id": "a7f3c2e1-5b8d-4e0a-9c61-2d4f8b7e1a90",
    "contact_id": "3e9b1d44-0c27-4f5a-8e13-6a2b9c0d7f58",
    "result": "Sold",
    "sold": true,
    "contact_type": "customer",
    "next_step": "Create a job for this customer"
  },
  "isError": false
}
```

## Add note

MCP tool: `marketsharp_add_note`

Access: write. Confirm: waits for the user's OK before it runs.

Adds a note to the Notes tab of one contact, under your name. There is no tool to delete a note, so each call asks first. By default you confirm each call; you can switch that off for this tool.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `contact_id` | string | yes | Contact ID from search_contacts. |
| `text` | string | yes | Note text. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_add_note",
    "arguments": {
      "contact_id": "contact_8c41d2",
      "text": "text"
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "note_id": "n_3302",
    "contact_id": "3e9b1d44-0c27-4f5a-8e13-6a2b9c0d7f58",
    "status": "added"
  },
  "isError": false
}
```

## Add activity

MCP tool: `marketsharp_add_activity`

Access: write. Confirm: waits for the user's OK before it runs.

Adds an activity of one of your Activity Types to a contact and assigns it to a user, who sees it in the Activity List. By default you confirm each call; you can switch that off for this tool.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `contact_id` | string | yes | Contact ID from search_contacts. |
| `activity_type` | string | yes | One of your Activity Types. |
| `assigned_to` | string | no | MarketSharp username. Default: you. |
| `due_at` | datetime | no | When the activity is due. |
| `reference` | string | no | Short description shown in the Activity List. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_add_activity",
    "arguments": {
      "contact_id": "contact_8c41d2",
      "activity_type": "activity type"
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "activity_id": "act_881",
    "contact_id": "3e9b1d44-0c27-4f5a-8e13-6a2b9c0d7f58",
    "activity_type": "Call",
    "assigned_to": "jsmith",
    "due_at": "2026-10-14T09:00:00-05:00",
    "status": "added"
  },
  "isError": false
}
```

## Complete activity

MCP tool: `marketsharp_complete_activity`

Access: write. Confirm: waits for the user's OK before it runs.

Marks one activity as completed and records one of your activity results. By default you confirm each call; you can switch that off for this tool.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `activity_id` | string | yes | Activity ID from list_activities or get_contact. |
| `result` | string | no | One of your activity results. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_complete_activity",
    "arguments": {
      "activity_id": "activity_8c41d2"
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "activity_id": "act_881",
    "completed": true,
    "result": "Left voicemail"
  },
  "isError": false
}
```

## Update job status

MCP tool: `marketsharp_update_job_status`

Access: write. Confirm: waits for the user's OK before it runs.

Changes the Job Status, the Contract Status or both to values from your own lists. A change like Canceled affects a customer's contract, so the call asks first. By default you confirm each call; you can switch that off for this tool.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `job_id` | string | yes | Job ID from list_jobs or get_contact. |
| `job_status` | string | no | One of your Job Status values. |
| `contract_status` | string | no | One of your Contract Status values. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_update_job_status",
    "arguments": {
      "job_id": "job_8c41d2"
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "job_id": "j_5531",
    "job_status": "Canceled",
    "contract_status": "Canceled",
    "status": "updated"
  },
  "isError": false
}
```

## Issue appointments

MCP tool: `marketsharp_issue_appointments`

Access: write. Confirm: waits for the user's OK before it runs.

Issues the appointments you pass and emails each assigned salesperson with one of your Issue Appointment templates, or your default one. The emails reach your team. By default you confirm each call; you can switch that off for this tool.

### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `appointment_ids` | string[] | yes | Appointments from list_appointments. |
| `template` | string | no | Issue Appointment email template name. Default: your default template. |

### tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "marketsharp_issue_appointments",
    "arguments": {
      "appointment_ids": [
        "appointment ids"
      ]
    }
  }
}
```

### Example response

```json
{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "issued": 1,
    "emailed_to": [
      "jsmith"
    ],
    "template": "Default",
    "status": "issued"
  },
  "isError": false
}
```
