NextAgency MCP by usefulapi
v1.3.1Read cases, contacts, tasks, notes and benefits; add cases, notes and tasks in NextAgency.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
nextagency_get_profile Get my profile
The NextAgency user the token acts as: id, name, email and role. Use it to check the connection.
nextagency_list_users List users
The agency's users (brokers and staff): id, name, email, role. Use the id as assigned_to in nextagency_create_case_task.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
nextagency_list_cases List cases
The cases the token can see, one page at a time: id, case number, name, sales status, stage, owner, market segment. Filter by sales status (for example Prospect or Client) or by case number. Use the id with the other case tools.
| Parameter | Type | Description |
|---|---|---|
case_number | integer | Only the case with this number (the number the portal shows). |
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
sales_status | string | Only cases with this sales status, for example Client. |
nextagency_search_cases Search cases
Cases whose name, number or contact details match the query, one page at a time.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search text, for example a surname or a case name. |
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
nextagency_get_case Get a case
One case by id: its details, status, stage, owner and addresses.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The case id (UUID), from nextagency_list_cases. |
nextagency_list_case_contacts List a case's contacts
The contacts linked to one case, with the primary flag. Use nextagency_get_contact for one contact.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The case id (UUID), from nextagency_list_cases. |
nextagency_list_case_employees List a case's employees
The employees of one case (group business): name, employment type, start and termination dates, pay cycle.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The case id (UUID), from nextagency_list_cases. |
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
nextagency_list_case_custom_fields List a case's custom fields
The custom fields of one case, with their names and values.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The case id (UUID), from nextagency_list_cases. |
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
nextagency_list_case_benefits List a case's benefits
The insurance benefits (policies) of one case: type, carrier and features.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The case id (UUID), from nextagency_list_cases. |
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
nextagency_list_case_tasks List a case's tasks
The tasks of one case: title, stage, type, priority, due date and assignees.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The case id (UUID), from nextagency_list_cases. |
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
nextagency_get_case_task Get a case task
One task of a case by id.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The case id (UUID), from nextagency_list_cases. |
task_id * | string | The task id (UUID), from nextagency_list_case_tasks. |
nextagency_list_case_notes List a case's notes
The notes of one case: title, body, pinned flag, author and assignees. Use nextagency_get_case_note for one note.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The case id (UUID), from nextagency_list_cases. |
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
nextagency_get_case_note Get a case note
One note of a case by id, with its full body.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The case id (UUID), from nextagency_list_cases. |
note_id * | string | The note id (UUID), from nextagency_list_case_notes. |
nextagency_list_contacts List contacts
The agency's contacts, one page at a time: name, emails, phone numbers and addresses.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
nextagency_search_contacts Search contacts
Contacts whose name, email or details match the query, one page at a time.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search text, for example a full name. |
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
nextagency_find_contacts_by_phone Find contacts by phone number
The contacts that have this phone number. Enter the digits only, for example 5551234567.
| Parameter | Type | Description |
|---|---|---|
phone_number * | string | The phone number, digits only. |
nextagency_get_contact Get a contact
One contact by id: name, emails, phone numbers and addresses.
| Parameter | Type | Description |
|---|---|---|
contact_id * | string | The contact id (UUID), from nextagency_list_contacts or nextagency_search_contacts. |
nextagency_list_carriers List carriers
The insurance carriers in the agency's list: name, states and contact details.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
nextagency_list_sub_agents List sub-agents
The sub-agents (vendors and individual agents) of the agency.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Records per page, 1 to 50 (default 10). |
offset | integer | Records to skip (default 0). Use next_offset from the last page. |
nextagency_create_case Create a case
WRITE: create a new case. Give a name, or a first name for an individual (market_segment individual). The API checks the whole request first: an invalid request stores nothing. Returns the new case.
| Parameter | Type | Description |
|---|---|---|
email | string | |
first_name | string | First name (required for an individual). |
last_name | string | |
market_segment | string | |
name | string | The case name (required unless market_segment is individual). |
phone_number | string | |
sales_status | string | For example Prospect or Client. |
nextagency_create_case_note Add a case note
WRITE: add a note to one case. Use the title for a short label and the body for the text. Returns the new note.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The case id (UUID), from nextagency_list_cases. |
title * | string | The note title. |
body | string | The note text. |
pinned | boolean | Pin the note to the case summary. |
nextagency_create_case_task Add a case task
WRITE: add a task to one case. The due date uses the format of the vendor example: DD-MM-YYYY HH:MM AM UTC. assigned_to takes user ids from nextagency_list_users. Returns the new task.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The case id (UUID), from nextagency_list_cases. |
title * | string | The task title. |
assigned_to | array | User ids to assign. |
body | string | The task text (HTML allowed). |
due | string | The due date, DD-MM-YYYY HH:MM AM UTC. |
priority | integer | |
stage | string | The task stage, for example To Do. |
type | string | The task type, for example Other. |