AgencyZoom MCP by usefulapi is an MCP server published by io.usefulapi, hosted at agencyzoom.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 28 tools, including agencyzoom_search_leads, agencyzoom_get_lead, agencyzoom_get_lead_notes, agencyzoom_get_lead_tasks, agencyzoom_get_lead_opportunities.
Read leads, customers, policies and tasks; add notes, tasks and leads in AgencyZoom.
4,413 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Search sales leads in AgencyZoom with filters; returns name, contact details, status, pipeline stage, source, assigned producer, quoted and sold premium (in cents) and dates, paged. Names, e-mail and phone match by prefix. Use agencyzoom_list_pipelines for workflow/stage ids and agencyzoom_list_employees for producer ids. POST /v1/api/leads/list.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 0 (default 0). Pass the previous reply's next_page. |
| sort | string | Sort field (default lastEnterStageDate). |
| order | string | Sort direction. |
| status | integer | Lead status: 0 new, 1 quoted, 2 won, 3 lost, 4 contacted, 5 expired. |
| page_size | integer | Results per page, 1-100 (default 25). |
| created_to | string | Lead created on or before this date, yyyy-mm-dd. |
| assigned_to | integer | Producer/agent id the lead is assigned to. |
| sold_period | string | Only leads sold in this period. |
| workflow_id | integer | Pipeline (workflow) id. |
| created_from | string | Lead created on or after this date, yyyy-mm-dd. |
| customer_name | string | Name prefix. |
| customer_email | string | E-mail prefix. |
| customer_phone | string | Phone number prefix, e.g. (123) 456-7890. |
| lead_source_id | integer | Lead source id. |
| last_activity_to | string | Last activity on or before this date, yyyy-mm-dd. |
| workflow_stage_id | string | Stage id; several stage ids can be separated by '/'. |
| last_activity_from | string | Last activity on or after this date, yyyy-mm-dd. |
{
"name": "agencyzoom_search_leads",
"title": "Search leads",
"description": "Search sales leads in AgencyZoom with filters; returns name, contact details, status, pipeline stage, source, assigned producer, quoted and sold premium (in cents) and dates, paged. Names, e-mail and phone match by prefix. Use agencyzoom_list_pipelines for workflow/stage ids and agencyzoom_list_employees for producer ids. POST /v1/api/leads/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "Page number, starting at 0 (default 0). Pass the previous reply's next_page."
},
"sort": {
"enum": [
"firstname",
"lastname",
"lastEnterStageDate",
"lastActivityDate"
],
"type": "string",
"description": "Sort field (default lastEnterStageDate)."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction."
},
"status": {
"type": "integer",
"maximum": 5,
"minimum": 0,
"description": "Lead status: 0 new, 1 quoted, 2 won, 3 lost, 4 contacted, 5 expired."
},
"page_size": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"created_to": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Lead created on or before this date, yyyy-mm-dd."
},
"assigned_to": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Producer/agent id the lead is assigned to.",
"exclusiveMinimum": 0
},
"sold_period": {
"enum": [
"today",
"yesterday",
"mtd",
"lastmonth",
"ytd",
"lastyear"
],
"type": "string",
"description": "Only leads sold in this period."
},
"workflow_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Pipeline (workflow) id.",
"exclusiveMinimum": 0
},
"created_from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Lead created on or after this date, yyyy-mm-dd."
},
"customer_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Name prefix."
},
"customer_email": {
"type": "string",
"maxLength": 254,
"minLength": 1,
"description": "E-mail prefix."
},
"customer_phone": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Phone number prefix, e.g. (123) 456-7890."
},
"lead_source_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Lead source id.",
"exclusiveMinimum": 0
},
"last_activity_to": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Last activity on or before this date, yyyy-mm-dd."
},
"workflow_stage_id": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Stage id; several stage ids can be separated by '/'."
},
"last_activity_from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Last activity on or after this date, yyyy-mm-dd."
}
}
},
"annotations": {
"title": "Search leads",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One lead by id with full details: contact data, address, status, stage, source, assigned producer and CSR, premiums (cents), dates and custom fields. GET /v1/api/leads/{leadId}.
| Parameter | Type | Description |
|---|---|---|
| lead_id * | integer | AgencyZoom lead id. |
{
"name": "agencyzoom_get_lead",
"title": "Get lead",
"description": "One lead by id with full details: contact data, address, status, stage, source, assigned producer and CSR, premiums (cents), dates and custom fields. GET /v1/api/leads/{leadId}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"lead_id"
],
"properties": {
"lead_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom lead id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get lead",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The activity notes of a lead: type (note, e-mail, creation...), date, author, title and body. GET /v1/api/leads/{leadId}/notes.
| Parameter | Type | Description |
|---|---|---|
| lead_id * | integer | AgencyZoom lead id. |
{
"name": "agencyzoom_get_lead_notes",
"title": "Get lead notes",
"description": "The activity notes of a lead: type (note, e-mail, creation...), date, author, title and body. GET /v1/api/leads/{leadId}/notes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"lead_id"
],
"properties": {
"lead_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom lead id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get lead notes",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The tasks linked to a lead (open, done, cancelled) with due date, assignees and notes. GET /v1/api/leads/{leadId}/tasks.
| Parameter | Type | Description |
|---|---|---|
| lead_id * | integer | AgencyZoom lead id. |
{
"name": "agencyzoom_get_lead_tasks",
"title": "Get lead tasks",
"description": "The tasks linked to a lead (open, done, cancelled) with due date, assignees and notes. GET /v1/api/leads/{leadId}/tasks.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"lead_id"
],
"properties": {
"lead_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom lead id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get lead tasks",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The opportunities (quoted lines of business) of a lead: carrier, product line, premium, items, status and property address. GET /v1/api/leads/{leadId}/opportunities.
| Parameter | Type | Description |
|---|---|---|
| lead_id * | integer | AgencyZoom lead id. |
{
"name": "agencyzoom_get_lead_opportunities",
"title": "Get lead opportunities",
"description": "The opportunities (quoted lines of business) of a lead: carrier, product line, premium, items, status and property address. GET /v1/api/leads/{leadId}/opportunities.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"lead_id"
],
"properties": {
"lead_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom lead id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get lead opportunities",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Search customers (clients with at least one written policy) with filters; returns contact details, address, source, agent and a policy summary, paged. First/last name match partially. POST /v1/api/customers.
| Parameter | Type | Description |
|---|---|---|
| city | string | City. |
| page | integer | Page number, starting at 0 (default 0). Pass the previous reply's next_page. |
| string | E-mail address. | |
| phone | string | Phone number. |
| state | string | Two-letter US state code. |
| status | integer | 1 active customers, 0 inactive, -1 all (default). |
| agent_id | integer | Agent id assigned to the policy. |
| lastname | string | Last name (partial match). |
| firstname | string | First name (partial match). |
| full_name | string | Full name. |
| page_size | integer |
One customer by id with full details: contact data, address, source, agent, CSR, custom fields and policy summary. GET /v1/api/customers/{customerId}.
| Parameter | Type | Description |
|---|---|---|
| customer_id * | integer | AgencyZoom customer id. |
{
"name": "agencyzoom_get_customer",
"title": "Get customer",
"description": "One customer by id with full details: contact data, address, source, agent, CSR, custom fields and policy summary. GET /v1/api/customers/{customerId}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id"
],
"properties": {
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom customer id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get customer",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The policies written through AgencyZoom for a customer: type, carrier, policy number, premium (cents), items, sold/effective/expiry dates, agent, CSR and status (0 cancelled, 1 active, 3 upcoming, 4 renewed, 10-13 active variants). GET /v1/api/customers/{customerId}/policies.
| Parameter | Type | Description |
|---|---|---|
| customer_id * | integer | AgencyZoom customer id. |
{
"name": "agencyzoom_get_customer_policies",
"title": "Get customer policies",
"description": "The policies written through AgencyZoom for a customer: type, carrier, policy number, premium (cents), items, sold/effective/expiry dates, agent, CSR and status (0 cancelled, 1 active, 3 upcoming, 4 renewed, 10-13 active variants). GET /v1/api/customers/{customerId}/policies.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id"
],
"properties": {
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom customer id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get customer policies",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The tasks linked to a customer (open, done, cancelled) with due date, assignees and notes. GET /v1/api/customers/{customerId}/tasks.
| Parameter | Type | Description |
|---|---|---|
| customer_id * | integer | AgencyZoom customer id. |
{
"name": "agencyzoom_get_customer_tasks",
"title": "Get customer tasks",
"description": "The tasks linked to a customer (open, done, cancelled) with due date, assignees and notes. GET /v1/api/customers/{customerId}/tasks.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id"
],
"properties": {
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom customer id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get customer tasks",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Search tasks across the agency: by status (open/completed), assignee, period (today, past due, next week...), type and creation date; returns title, due date, assignees, linked customer or lead and notes, paged. POST /v1/api/tasks/list.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 0 (default 0). Pass the previous reply's next_page. |
| type | string | Task type. |
| period | string | Predefined due period. |
| status | integer | 0 open, 1 completed. |
| page_size | integer | Results per page, 1-200 (default 25). |
| created_to | string | Created on or before this date, yyyy-mm-dd. |
| assignee_id | integer | Assignee (employee) id; see agencyzoom_list_employees. |
| created_from | string | Created on or after this date, yyyy-mm-dd. |
| lead_source_id | integer | Lead source id. |
One task by id: title, status, due date, assignees, notes and the customer or lead it belongs to. GET /v1/api/tasks/{taskId}.
| Parameter | Type | Description |
|---|---|---|
| task_id * | integer | AgencyZoom task id. |
{
"name": "agencyzoom_get_task",
"title": "Get task",
"description": "One task by id: title, status, due date, assignees, notes and the customer or lead it belongs to. GET /v1/api/tasks/{taskId}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom task id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get task",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Search service tickets (client service requests) by household name, status, category, priority, policy number and created/completed dates, paged. POST /v1/api/serviceTicket/service-tickets/list.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 0 (default 0). Pass the previous reply's next_page. |
| status | integer | Service ticket status code. |
| category | integer | Category id; see agencyzoom_list_service_ticket_options. |
| priority | integer | Priority id; see agencyzoom_list_service_ticket_options. |
| full_name | string | Household name. |
| page_size | integer | Results per page, 1-100 (default 25). |
| created_to | string | Created on or before this date, yyyy-mm-dd. |
| workflow_id | integer | Service pipeline id; see agencyzoom_list_pipelines with type 'service'. |
| completed_to | string | Completed on or before this date, yyyy-mm-dd. |
| created_from | string |
The dashboard sales summary for the agency or one producer: goals, month-to-date and today's sales, trending, and daily premium/revenue/items/policies for the period. Amounts are in cents. Read-only (a POST in AgencyZoom). POST /v1/api/dashboard-data/sales-data.
| Parameter | Type | Description |
|---|---|---|
| period | string | Predefined period (default: the dashboard's default). |
| end_date | string | Custom period end, yyyy-mm-dd. |
| location | string | Agency location code. |
| carrier_id | integer | Only this carrier id. |
| start_date | string | Custom period start, yyyy-mm-dd (use with end_date instead of period). |
| producer_id | integer | Only this producer (employee id). |
{
"name": "agencyzoom_get_sales_summary",
"title": "Get sales summary",
"description": "The dashboard sales summary for the agency or one producer: goals, month-to-date and today's sales, trending, and daily premium/revenue/items/policies for the period. Amounts are in cents. Read-only (a POST in AgencyZoom). POST /v1/api/dashboard-data/sales-data.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"period": {
"enum": [
"today",
"yesterday",
"thisweek",
"lastweek",
"lastmonth",
"mtd",
"qtd",
"ytd"
],
"type": "string",
"description": "Predefined period (default: the dashboard's default)."
},
"end_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Custom period end, yyyy-mm-dd."
},
"location": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Agency location code."
},
"carrier_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this carrier id.",
"exclusiveMinimum": 0
},
"start_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Custom period start, yyyy-mm-dd (use with end_date instead of period)."
},
"producer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this producer (employee id).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get sales summary",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The sales (lead) or service pipelines with their stages and ids. Needed to create leads or service tickets and to move a lead between stages. GET /v1/api/pipelines-and-stages.
| Parameter | Type | Description |
|---|---|---|
| type | string | Pipeline type (default: all). |
{
"name": "agencyzoom_list_pipelines",
"title": "List pipelines and stages",
"description": "The sales (lead) or service pipelines with their stages and ids. Needed to create leads or service tickets and to move a lead between stages. GET /v1/api/pipelines-and-stages.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"enum": [
"lead",
"service"
],
"type": "string",
"description": "Pipeline type (default: all)."
}
}
},
"annotations": {
"title": "List pipelines and stages",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The agency's employees: id, name, e-mail, phone, whether producer, active or owner. Use the ids to assign leads and tasks. GET /v1/api/employees.
No parameters.
{
"name": "agencyzoom_list_employees",
"title": "List employees",
"description": "The agency's employees: id, name, e-mail, phone, whether producer, active or owner. Use the ids to assign leads and tasks. GET /v1/api/employees.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List employees",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The lead sources (id, name, category, whether sales from it count as sales). GET /v1/api/lead-sources.
No parameters.
{
"name": "agencyzoom_list_lead_sources",
"title": "List lead sources",
"description": "The lead sources (id, name, category, whether sales from it count as sales). GET /v1/api/lead-sources.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List lead sources",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The insurance carriers configured in the agency (id, name, standard carrier code). GET /v1/api/carriers.
No parameters.
{
"name": "agencyzoom_list_carriers",
"title": "List carriers",
"description": "The insurance carriers configured in the agency (id, name, standard carrier code). GET /v1/api/carriers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List carriers",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The policy types / product lines (id, name, category, standard product line code), for policy filters. GET /v1/api/product-lines.
No parameters.
{
"name": "agencyzoom_list_product_lines",
"title": "List product lines",
"description": "The policy types / product lines (id, name, category, standard product line code), for policy filters. GET /v1/api/product-lines.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List product lines",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The tags defined in the agency (id, name). GET /v1/api/tags.
No parameters.
{
"name": "agencyzoom_list_tags",
"title": "List tags",
"description": "The tags defined in the agency (id, name). GET /v1/api/tags.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List tags",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The service ticket categories and priorities (id, name), needed to create a service ticket. GET /v1/api/service-categories and GET /v1/api/service-priorities.
No parameters.
{
"name": "agencyzoom_list_service_ticket_options",
"title": "List service ticket categories and priorities",
"description": "The service ticket categories and priorities (id, name), needed to create a service ticket. GET /v1/api/service-categories and GET /v1/api/service-priorities.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List service ticket categories and priorities",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: create a new sales lead in a pipeline stage. AgencyZoom requires the pipeline and stage (agencyzoom_list_pipelines), first name, e-mail, lead source, assigned producer and country. Creating a lead can trigger the agency's own automations (assignment, tasks, e-mails) in AgencyZoom. Not idempotent: calling twice creates two leads, so search first (agencyzoom_search_leads by e-mail or phone). POST /v1/api/leads/create.
| Parameter | Type | Description |
|---|---|---|
| zip | string | Postal code. |
| city | string | City. |
| email * | string | E-mail address. |
| notes | string | Note stored with the lead. |
| phone | string | Phone number. |
| state | string | State. |
| csr_id | integer | CSR id. |
| country * | string | Country of the lead, e.g. USA. |
| lastname | string | Last name. |
| stage_id * | integer | Stage id inside that pipeline. |
WRITE: add a note to a lead's activity feed (visible to the agency's users; AgencyZoom does not send it to the customer). Not idempotent: calling twice adds two notes. POST /v1/api/leads/{leadId}/notes.
| Parameter | Type | Description |
|---|---|---|
| note * | string | The note text. |
| lead_id * | integer | AgencyZoom lead id. |
{
"name": "agencyzoom_add_lead_note",
"title": "Add lead note",
"description": "WRITE: add a note to a lead's activity feed (visible to the agency's users; AgencyZoom does not send it to the customer). Not idempotent: calling twice adds two notes. POST /v1/api/leads/{leadId}/notes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"lead_id",
"note"
],
"properties": {
"note": {
"type": "string",
"maxLength": 10000,
"minLength": 1,
"description": "The note text."
},
"lead_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom lead id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Add lead note",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}WRITE: add a note to a customer's activity feed (visible to the agency's users; AgencyZoom does not send it to the customer). Not idempotent: calling twice adds two notes. POST /v1/api/customers/{customerId}/notes.
| Parameter | Type | Description |
|---|---|---|
| note * | string | The note text. |
| customer_id * | integer | AgencyZoom customer id. |
{
"name": "agencyzoom_add_customer_note",
"title": "Add customer note",
"description": "WRITE: add a note to a customer's activity feed (visible to the agency's users; AgencyZoom does not send it to the customer). Not idempotent: calling twice adds two notes. POST /v1/api/customers/{customerId}/notes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id",
"note"
],
"properties": {
"note": {
"type": "string",
"maxLength": 10000,
"minLength": 1,
"description": "The note text."
},
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom customer id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Add customer note",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}WRITE: create a task (to-do, call, e-mail or meeting) linked to a lead or customer, optionally assigned to an employee. The assignee may be notified by AgencyZoom. Link it with lead_id or customer_id (or contact_email, which AgencyZoom matches to a lead or customer). Not idempotent: calling twice creates two tasks. POST /v1/api/tasks.
| Parameter | Type | Description |
|---|---|---|
| due * | string | Due date (yyyy-mm-dd) or date and time (yyyy-mm-dd hh:mm), in the agency's local time. |
| type | string | Task type (default todo). |
| title * | string | Task title. |
| lead_id | integer | Lead the task belongs to. |
| comments | string | Task notes. |
| assignee_id | integer | Employee id to assign the task to; see agencyzoom_list_employees. |
| customer_id | integer | Customer the task belongs to. |
| contact_email | string | E-mail of the lead/customer, used to find the match when no id is given. |
| time_specific | boolean | True when the time part of `due` matters (default: the whole day). |
WRITE: mark a task as completed. Repeated calls may repeat notifications or automations; undo with agencyzoom_reopen_task. PUT /v1/api/tasks/{taskId}/completed.
| Parameter | Type | Description |
|---|---|---|
| task_id * | integer | AgencyZoom task id. |
{
"name": "agencyzoom_complete_task",
"title": "Complete task",
"description": "WRITE: mark a task as completed. Repeated calls may repeat notifications or automations; undo with agencyzoom_reopen_task. PUT /v1/api/tasks/{taskId}/completed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom task id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Complete task",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: reopen a completed task, optionally with a comment. Repeated calls may repeat notifications or automations. PUT /v1/api/tasks/{taskId}/reopened.
| Parameter | Type | Description |
|---|---|---|
| task_id * | integer | AgencyZoom task id. |
| comments | string | Why it was reopened. |
{
"name": "agencyzoom_reopen_task",
"title": "Reopen task",
"description": "WRITE: reopen a completed task, optionally with a comment. Repeated calls may repeat notifications or automations. PUT /v1/api/tasks/{taskId}/reopened.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom task id.",
"exclusiveMinimum": 0
},
"comments": {
"type": "string",
"maxLength": 5000,
"minLength": 1,
"description": "Why it was reopened."
}
}
},
"annotations": {
"title": "Reopen task",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: move an active lead (a status check refuses leads already won, lost or x-dated) to another stage of a lead pipeline (workflow_id and workflow_stage_id from agencyzoom_list_pipelines). The lead stays active: it does not mark the lead won, lost or x-dated. Moving into a stage can trigger the agency's automations. The read and update are not atomic: a concurrent status change can be overwritten and reactivate a lead. Do not use while another process changes the same lead. Automations may repeat on repeated calls. PUT /v1/api/leads/{leadId}/stage.
| Parameter | Type | Description |
|---|---|---|
| lead_id * | integer | AgencyZoom lead id. |
| workflow_id * | integer | Pipeline (workflow) id. |
| workflow_stage_id * | integer | Target stage id. |
{
"name": "agencyzoom_move_lead_stage",
"title": "Move lead to a stage",
"description": "WRITE: move an active lead (a status check refuses leads already won, lost or x-dated) to another stage of a lead pipeline (workflow_id and workflow_stage_id from agencyzoom_list_pipelines). The lead stays active: it does not mark the lead won, lost or x-dated. Moving into a stage can trigger the agency's automations. The read and update are not atomic: a concurrent status change can be overwritten and reactivate a lead. Do not use while another process changes the same lead. Automations may repeat on repeated calls. PUT /v1/api/leads/{leadId}/stage.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"lead_id",
"workflow_id",
"workflow_stage_id"
],
"properties": {
"lead_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom lead id.",
"exclusiveMinimum": 0
},
"workflow_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Pipeline (workflow) id.",
"exclusiveMinimum": 0
},
"workflow_stage_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Target stage id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Move lead to a stage",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: open a service ticket for a customer in a service pipeline stage. Needs the pipeline and stage (agencyzoom_list_pipelines with type 'service'), a priority and a category (agencyzoom_list_service_ticket_options). The assigned CSR may be notified, and the agency's service automations can run. Not idempotent: calling twice opens two tickets. POST /v1/api/serviceTicket/service-tickets/create.
| Parameter | Type | Description |
|---|---|---|
| csr_id | integer | CSR (employee) id to assign. |
| subject * | string | Ticket summary. |
| due_date | string | Due date, yyyy-mm-dd. |
| policy_ids | array | Policy ids (from agencyzoom_get_customer_policies) the ticket is about. |
| category_id * | integer | Category id. |
| customer_id * | integer | AgencyZoom customer id. |
| description | string | Ticket description. |
| priority_id * | integer | Priority id. |
| workflow_id * | integer |
Tools for AgencyZoom, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Show the new leads from this week and who they are assigned to."; "Which tasks are past due and who owns them?"; "Find the customer Maria Lopez and list her active policies.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes AgencyZoom data. Free plan: 50 tool calls per month. Run agencyzoom_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run agencyzoom_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run agencyzoom_upgrade without a plan: it returns both plans, each with a payment link for the user to open. agencyzoom_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| Results per page, 1-100 (default 25). |
| created_to | string | Customer created on or before this date, yyyy-mm-dd. |
| policy_type | integer | Policy type (product line) id; see agencyzoom_list_product_lines. |
| created_from | string | Customer created on or after this date, yyyy-mm-dd. |
| policy_number | string | Policy number (written and AMS-synced policies). |
| lead_source_id | integer | Lead source id. |
{
"name": "agencyzoom_search_customers",
"title": "Search customers",
"description": "Search customers (clients with at least one written policy) with filters; returns contact details, address, source, agent and a policy summary, paged. First/last name match partially. POST /v1/api/customers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"city": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "City."
},
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "Page number, starting at 0 (default 0). Pass the previous reply's next_page."
},
"email": {
"type": "string",
"maxLength": 254,
"minLength": 1,
"description": "E-mail address."
},
"phone": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Phone number."
},
"state": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Two-letter US state code."
},
"status": {
"type": "integer",
"maximum": 1,
"minimum": -1,
"description": "1 active customers, 0 inactive, -1 all (default)."
},
"agent_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Agent id assigned to the policy.",
"exclusiveMinimum": 0
},
"lastname": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Last name (partial match)."
},
"firstname": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "First name (partial match)."
},
"full_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Full name."
},
"page_size": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"created_to": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Customer created on or before this date, yyyy-mm-dd."
},
"policy_type": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Policy type (product line) id; see agencyzoom_list_product_lines.",
"exclusiveMinimum": 0
},
"created_from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Customer created on or after this date, yyyy-mm-dd."
},
"policy_number": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Policy number (written and AMS-synced policies)."
},
"lead_source_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Lead source id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Search customers",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}{
"name": "agencyzoom_search_tasks",
"title": "Search tasks",
"description": "Search tasks across the agency: by status (open/completed), assignee, period (today, past due, next week...), type and creation date; returns title, due date, assignees, linked customer or lead and notes, paged. POST /v1/api/tasks/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "Page number, starting at 0 (default 0). Pass the previous reply's next_page."
},
"type": {
"enum": [
"sales",
"onboarding"
],
"type": "string",
"description": "Task type."
},
"period": {
"enum": [
"past-due-rotting",
"past-due",
"remainder-week",
"next-week",
"today"
],
"type": "string",
"description": "Predefined due period."
},
"status": {
"type": "integer",
"maximum": 1,
"minimum": 0,
"description": "0 open, 1 completed."
},
"page_size": {
"type": "integer",
"maximum": 200,
"description": "Results per page, 1-200 (default 25).",
"exclusiveMinimum": 0
},
"created_to": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Created on or before this date, yyyy-mm-dd."
},
"assignee_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Assignee (employee) id; see agencyzoom_list_employees.",
"exclusiveMinimum": 0
},
"created_from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Created on or after this date, yyyy-mm-dd."
},
"lead_source_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Lead source id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Search tasks",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}| Created on or after this date, yyyy-mm-dd. |
| policy_number | string | Policy number. |
| completed_from | string | Completed on or after this date, yyyy-mm-dd. |
| workflow_stage_id | integer | Stage id. |
{
"name": "agencyzoom_search_service_tickets",
"title": "Search service tickets",
"description": "Search service tickets (client service requests) by household name, status, category, priority, policy number and created/completed dates, paged. POST /v1/api/serviceTicket/service-tickets/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "Page number, starting at 0 (default 0). Pass the previous reply's next_page."
},
"status": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Service ticket status code."
},
"category": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Category id; see agencyzoom_list_service_ticket_options.",
"exclusiveMinimum": 0
},
"priority": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Priority id; see agencyzoom_list_service_ticket_options.",
"exclusiveMinimum": 0
},
"full_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Household name."
},
"page_size": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100 (default 25).",
"exclusiveMinimum": 0
},
"created_to": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Created on or before this date, yyyy-mm-dd."
},
"workflow_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Service pipeline id; see agencyzoom_list_pipelines with type 'service'.",
"exclusiveMinimum": 0
},
"completed_to": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Completed on or before this date, yyyy-mm-dd."
},
"created_from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Created on or after this date, yyyy-mm-dd."
},
"policy_number": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Policy number."
},
"completed_from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Completed on or after this date, yyyy-mm-dd."
},
"workflow_stage_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Stage id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Search service tickets",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}| assign_to * | integer | Producer/agent (employee) id to assign the lead to; see agencyzoom_list_employees. |
| firstname * | string | First name. |
| tag_names | string | Tag names separated by ';'. |
| pipeline_id * | integer | Lead pipeline (workflow) id. |
| lead_source_id * | integer | Lead source id; see agencyzoom_list_lead_sources. |
| street_address | string | Street address. |
{
"name": "agencyzoom_create_lead",
"title": "Create lead",
"description": "WRITE: create a new sales lead in a pipeline stage. AgencyZoom requires the pipeline and stage (agencyzoom_list_pipelines), first name, e-mail, lead source, assigned producer and country. Creating a lead can trigger the agency's own automations (assignment, tasks, e-mails) in AgencyZoom. Not idempotent: calling twice creates two leads, so search first (agencyzoom_search_leads by e-mail or phone). POST /v1/api/leads/create.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pipeline_id",
"stage_id",
"firstname",
"email",
"lead_source_id",
"assign_to",
"country"
],
"properties": {
"zip": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "Postal code."
},
"city": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "City."
},
"email": {
"type": "string",
"maxLength": 254,
"minLength": 3,
"description": "E-mail address."
},
"notes": {
"type": "string",
"maxLength": 5000,
"minLength": 1,
"description": "Note stored with the lead."
},
"phone": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Phone number."
},
"state": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "State."
},
"csr_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "CSR id.",
"exclusiveMinimum": 0
},
"country": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Country of the lead, e.g. USA."
},
"lastname": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Last name."
},
"stage_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Stage id inside that pipeline.",
"exclusiveMinimum": 0
},
"assign_to": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Producer/agent (employee) id to assign the lead to; see agencyzoom_list_employees.",
"exclusiveMinimum": 0
},
"firstname": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "First name."
},
"tag_names": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Tag names separated by ';'."
},
"pipeline_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Lead pipeline (workflow) id.",
"exclusiveMinimum": 0
},
"lead_source_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Lead source id; see agencyzoom_list_lead_sources.",
"exclusiveMinimum": 0
},
"street_address": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Street address."
}
}
},
"annotations": {
"title": "Create lead",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| duration_minutes |
| integer |
| Duration in minutes. |
{
"name": "agencyzoom_create_task",
"title": "Create task",
"description": "WRITE: create a task (to-do, call, e-mail or meeting) linked to a lead or customer, optionally assigned to an employee. The assignee may be notified by AgencyZoom. Link it with lead_id or customer_id (or contact_email, which AgencyZoom matches to a lead or customer). Not idempotent: calling twice creates two tasks. POST /v1/api/tasks.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"title",
"due"
],
"properties": {
"due": {
"type": "string",
"description": "Due date (yyyy-mm-dd) or date and time (yyyy-mm-dd hh:mm), in the agency's local time."
},
"type": {
"enum": [
"todo",
"email",
"call",
"meeting"
],
"type": "string",
"description": "Task type (default todo)."
},
"title": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "Task title."
},
"lead_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Lead the task belongs to.",
"exclusiveMinimum": 0
},
"comments": {
"type": "string",
"maxLength": 5000,
"minLength": 1,
"description": "Task notes."
},
"assignee_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Employee id to assign the task to; see agencyzoom_list_employees.",
"exclusiveMinimum": 0
},
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Customer the task belongs to.",
"exclusiveMinimum": 0
},
"contact_email": {
"type": "string",
"maxLength": 254,
"minLength": 3,
"description": "E-mail of the lead/customer, used to find the match when no id is given."
},
"time_specific": {
"type": "boolean",
"description": "True when the time part of `due` matters (default: the whole day)."
},
"duration_minutes": {
"type": "integer",
"maximum": 1440,
"description": "Duration in minutes.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Create task",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Service pipeline id. |
| workflow_stage_id * | integer | Stage id inside that pipeline. |
{
"name": "agencyzoom_create_service_ticket",
"title": "Create service ticket",
"description": "WRITE: open a service ticket for a customer in a service pipeline stage. Needs the pipeline and stage (agencyzoom_list_pipelines with type 'service'), a priority and a category (agencyzoom_list_service_ticket_options). The assigned CSR may be notified, and the agency's service automations can run. Not idempotent: calling twice opens two tickets. POST /v1/api/serviceTicket/service-tickets/create.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id",
"workflow_id",
"workflow_stage_id",
"subject",
"priority_id",
"category_id"
],
"properties": {
"csr_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "CSR (employee) id to assign.",
"exclusiveMinimum": 0
},
"subject": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "Ticket summary."
},
"due_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Due date, yyyy-mm-dd."
},
"policy_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 50,
"description": "Policy ids (from agencyzoom_get_customer_policies) the ticket is about."
},
"category_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Category id.",
"exclusiveMinimum": 0
},
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyZoom customer id.",
"exclusiveMinimum": 0
},
"description": {
"type": "string",
"maxLength": 10000,
"minLength": 1,
"description": "Ticket description."
},
"priority_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Priority id.",
"exclusiveMinimum": 0
},
"workflow_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Service pipeline id.",
"exclusiveMinimum": 0
},
"workflow_stage_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Stage id inside that pipeline.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Create service ticket",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}