AgencyBloc MCP by usefulapi is an MCP server published by io.usefulapi, hosted at agencybloc.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 22 tools, including agencybloc_search_individuals, agencybloc_get_individual, agencybloc_search_groups, agencybloc_get_group, agencybloc_search_policies.
Read and update AgencyBloc individuals, groups, policies and agents; log activities and notes.
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 individuals (clients and contacts) in AgencyBloc. All filters are optional and combine; with none you get the first records. Returns id, name, email, birth date, phones and last-updated time (national ids such as SSN are never returned). Use updated_since to find recently changed people. POST individuals/search.
| Parameter | Type | Description |
|---|---|---|
| string | ||
| limit | integer | Most records to return, 1-500 (default 50). There is no paging: narrow with filters if more may exist. |
| phone | string | Matches the home, cell or business phone. |
| group_id | integer | Only members of this group. |
| last_name | string | |
| first_name | string | |
| updated_since | string | Only records updated on/after this (inclusive); results then run oldest update first. |
| updated_before | string | Only records updated before this (exclusive). |
{
"name": "agencybloc_search_individuals",
"title": "Search individuals",
"description": "Search individuals (clients and contacts) in AgencyBloc. All filters are optional and combine; with none you get the first records. Returns id, name, email, birth date, phones and last-updated time (national ids such as SSN are never returned). Use updated_since to find recently changed people. POST individuals/search.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"email": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"limit": {
"type": "integer",
"maximum": 500,
"description": "Most records to return, 1-500 (default 50). There is no paging: narrow with filters if more may exist.",
"exclusiveMinimum": 0
},
"phone": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Matches the home, cell or business phone."
},
"group_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only members of this group.",
"exclusiveMinimum": 0
},
"last_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"first_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"updated_since": {
"type": "string",
"description": "Only records updated on/after this (inclusive); results then run oldest update first."
},
"updated_before": {
"type": "string",
"description": "Only records updated before this (exclusive)."
}
}
},
"annotations": {
"title": "Search individuals",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One individual by id, with addresses, policies and custom fields (and activities when include_activities is true). National ids are removed. POST individuals/detail.
| Parameter | Type | Description |
|---|---|---|
| individual_id * | integer | |
| include_activities | boolean | Also return the activities (default false). |
{
"name": "agencybloc_get_individual",
"title": "Get individual",
"description": "One individual by id, with addresses, policies and custom fields (and activities when include_activities is true). National ids are removed. POST individuals/detail.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"individual_id"
],
"properties": {
"individual_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"include_activities": {
"type": "boolean",
"description": "Also return the activities (default false)."
}
}
},
"annotations": {
"title": "Get individual",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Search groups (employer / business accounts) in AgencyBloc by name, type or phone. Returns id, name, type and phone. POST groups/search.
| Parameter | Type | Description |
|---|---|---|
| type | string | The group type as configured in the account. |
| limit | integer | Most records to return, 1-500 (default 50). There is no paging: narrow with filters if more may exist. |
| group_name | string | |
| updated_since | string | Only groups modified on/after this date. |
| business_phone | string |
{
"name": "agencybloc_search_groups",
"title": "Search groups",
"description": "Search groups (employer / business accounts) in AgencyBloc by name, type or phone. Returns id, name, type and phone. POST groups/search.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The group type as configured in the account."
},
"limit": {
"type": "integer",
"maximum": 500,
"description": "Most records to return, 1-500 (default 50). There is no paging: narrow with filters if more may exist.",
"exclusiveMinimum": 0
},
"group_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"updated_since": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Only groups modified on/after this date."
},
"business_phone": {
"type": "string",
"maxLength": 40,
"minLength": 1
}
}
},
"annotations": {
"title": "Search groups",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One group by id, with addresses, policies and custom fields (and activities when include_activities is true). POST groups/detail.
| Parameter | Type | Description |
|---|---|---|
| group_id * | integer | |
| include_activities | boolean | Also return the activities (default false). |
{
"name": "agencybloc_get_group",
"title": "Get group",
"description": "One group by id, with addresses, policies and custom fields (and activities when include_activities is true). POST groups/detail.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"group_id"
],
"properties": {
"group_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"include_activities": {
"type": "boolean",
"description": "Also return the activities (default false)."
}
}
},
"annotations": {
"title": "Get group",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Search policies by number, coverage type, carrier, holder, servicing agent, application date or last update. Returns id, holder, policy number, carrier, status, coverage type, effective and renewal dates. Use submitted_after/updated_since for recent business. POST policies/search.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Most records to return, 1-500 (default 50). There is no paging: narrow with filters if more may exist. |
| carrier | string | Carrier name. |
| entity_id | integer | Holder id (group or individual id); give entity_type too. |
| entity_type | string | Whether entity_id is a Group or an Individual. |
| coverage_type | string | Coverage type as configured in the account (e.g. Medicare Supplement). |
| policy_number | string | |
| updated_since | string | Only records updated on/after this (inclusive); results then run oldest update first. |
| updated_before | string | Only records updated before this (exclusive). |
| submitted_after | string | Application submitted on/after this date. |
One policy by id: holder, agent, carrier, status, dates, premium, coverages and custom fields. POST policies/detail.
| Parameter | Type | Description |
|---|---|---|
| policy_id * | integer |
{
"name": "agencybloc_get_policy",
"title": "Get policy",
"description": "One policy by id: holder, agent, carrier, status, dates, premium, coverages and custom fields. POST policies/detail.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"policy_id"
],
"properties": {
"policy_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get policy",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Search agents (producers) by name, email or phone. Returns id, name, email and phones. POST agents/search.
| Parameter | Type | Description |
|---|---|---|
| string | ||
| limit | integer | Most records to return, 1-500 (default 50). There is no paging: narrow with filters if more may exist. |
| phone | string | Matches the home, cell or business phone. |
| last_name | string | |
| first_name | string |
{
"name": "agencybloc_search_agents",
"title": "Search agents",
"description": "Search agents (producers) by name, email or phone. Returns id, name, email and phones. POST agents/search.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"email": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"limit": {
"type": "integer",
"maximum": 500,
"description": "Most records to return, 1-500 (default 50). There is no paging: narrow with filters if more may exist.",
"exclusiveMinimum": 0
},
"phone": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Matches the home, cell or business phone."
},
"last_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"first_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"annotations": {
"title": "Search agents",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One agent by id, with agencies, addresses and custom fields (and activities when include_activities is true). POST agents/detail.
| Parameter | Type | Description |
|---|---|---|
| agent_id * | integer | |
| include_activities | boolean | Also return the activities (default false). |
{
"name": "agencybloc_get_agent",
"title": "Get agent",
"description": "One agent by id, with agencies, addresses and custom fields (and activities when include_activities is true). POST agents/detail.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"agent_id"
],
"properties": {
"agent_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"include_activities": {
"type": "boolean",
"description": "Also return the activities (default false)."
}
}
},
"annotations": {
"title": "Get agent",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Search insurance carriers by name or phone. Returns id, name, abbreviation and phones. POST carriers/search.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Most records to return, 1-500 (default 50). There is no paging: narrow with filters if more may exist. |
| phone | string | Matches any carrier phone. |
| carrier_name | string |
{
"name": "agencybloc_search_carriers",
"title": "Search carriers",
"description": "Search insurance carriers by name or phone. Returns id, name, abbreviation and phones. POST carriers/search.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 500,
"description": "Most records to return, 1-500 (default 50). There is no paging: narrow with filters if more may exist.",
"exclusiveMinimum": 0
},
"phone": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Matches any carrier phone."
},
"carrier_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"annotations": {
"title": "Search carriers",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}All activities (tasks, calls, renewals) logged on one group, individual, agent, carrier or lead: date, subject, notes, status, type, method, priority and follow-up. There is no paging. POST activities/list.
| Parameter | Type | Description |
|---|---|---|
| entity_id * | integer | Id of the record. |
| entity_type * | string | one of ["Group","Individual","Agent","Carrier","Lead"] |
{
"name": "agencybloc_list_activities",
"title": "List activities of a record",
"description": "All activities (tasks, calls, renewals) logged on one group, individual, agent, carrier or lead: date, subject, notes, status, type, method, priority and follow-up. There is no paging. POST activities/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"entity_id",
"entity_type"
],
"properties": {
"entity_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Id of the record.",
"exclusiveMinimum": 0
},
"entity_type": {
"enum": [
"Group",
"Individual",
"Agent",
"Carrier",
"Lead"
],
"type": "string"
}
}
},
"annotations": {
"title": "List activities",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Activities by id (1-50 ids), e.g. the ids shown on a policy or individual. POST activity/list.
| Parameter | Type | Description |
|---|---|---|
| activity_ids * | array |
{
"name": "agencybloc_get_activities",
"title": "Get activities by id",
"description": "Activities by id (1-50 ids), e.g. the ids shown on a policy or individual. POST activity/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"activity_ids"
],
"properties": {
"activity_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 50,
"minItems": 1
}
}
},
"annotations": {
"title": "Get activities",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Notes (subject, body, author, dates, pinned flag, attachment names) on one agent, group, individual or policy, newest change first. There is no paging. POST notes/list.
| Parameter | Type | Description |
|---|---|---|
| entity_id * | integer | Id of the record. |
| entity_type * | string | one of ["Agent","Group","Individual","Policy"] |
{
"name": "agencybloc_list_notes",
"title": "List notes of a record",
"description": "Notes (subject, body, author, dates, pinned flag, attachment names) on one agent, group, individual or policy, newest change first. There is no paging. POST notes/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"entity_id",
"entity_type"
],
"properties": {
"entity_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Id of the record.",
"exclusiveMinimum": 0
},
"entity_type": {
"enum": [
"Agent",
"Group",
"Individual",
"Policy"
],
"type": "string"
}
}
},
"annotations": {
"title": "List notes",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Find Sales Enablement records (leads) by phone number; the search is by phone only. Only accounts with the Sales Enablement module have them. POST salesEnablement/leads/searchphone.
| Parameter | Type | Description |
|---|---|---|
| phone * | string | Phone number to look up. |
{
"name": "agencybloc_search_leads_by_phone",
"title": "Search sales records (leads) by phone",
"description": "Find Sales Enablement records (leads) by phone number; the search is by phone only. Only accounts with the Sales Enablement module have them. POST salesEnablement/leads/searchphone.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"phone"
],
"properties": {
"phone": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Phone number to look up."
}
}
},
"annotations": {
"title": "Search leads by phone",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One Sales Enablement record (lead) by record id. POST salesEnablement/Leads/detail.
| Parameter | Type | Description |
|---|---|---|
| record_id * | integer |
{
"name": "agencybloc_get_lead",
"title": "Get sales record (lead)",
"description": "One Sales Enablement record (lead) by record id. POST salesEnablement/Leads/detail.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"record_id"
],
"properties": {
"record_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get lead",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: create a new individual (client or contact) in AgencyBloc. Needs first and last name; everything else is optional. It does not check for duplicates: search first. Returns the new individualID. POST individuals/create.
| Parameter | Type | Description |
|---|---|---|
| zip | string | |
| city | string | |
| tags | string | Tags (replaces existing tags on update; an empty string clears them). |
| type | string | Type as configured in the account; an unknown value is created. |
| string | ||
| state | string | Two-letter state abbreviation. |
| gender | string | |
| status | string | Status as configured in the account; an unknown value is created. |
| street1 | string | |
| street2 | string | |
| group_id | integer | Group the individual belongs to. |
| last_name |
WRITE: change fields of an existing individual; fields you leave out are not sent. Tags are replaced (empty string clears them). Addresses are not changed here. Returns the individualID. POST individuals/update.
| Parameter | Type | Description |
|---|---|---|
| tags | string | Tags (replaces existing tags on update; an empty string clears them). |
| type | string | Type as configured in the account; an unknown value is created. |
| string | ||
| gender | string | |
| status | string | Status as configured in the account; an unknown value is created. |
| group_id | integer | Group the individual belongs to. |
| birth_date | string | A date, yyyy-mm-dd. |
| cell_phone | string | |
| home_phone | string | |
| lead_source | string | |
| custom_fields |
WRITE: create a new group (employer / business account) in AgencyBloc. It does not check for duplicates: search first. Returns the new groupID. POST groups/create.
| Parameter | Type | Description |
|---|---|---|
| dba | string | Doing-business-as name. |
| zip | string | |
| city | string | |
| type | string | Group type as configured in the account. |
| state | string | Two-letter state abbreviation. |
| status | string | |
| street1 | string | |
| street2 | string | |
| website | string | |
| industry | string | |
| employees | integer | Number of employees. |
| group_name * | string | |
WRITE: change fields of an existing group (including its name); fields you leave out are not sent. Returns the groupID. POST groups/update.
| Parameter | Type | Description |
|---|---|---|
| dba | string | Doing-business-as name. |
| type | string | Group type as configured in the account. |
| website | string | |
| group_id * | integer | |
| industry | string | |
| employees | integer | Number of employees. |
| group_name | string | |
| description | string | |
| custom_fields | object | Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||. |
| business_phone | string | |
| account_manager |
WRITE: create a policy on an existing group or individual. Needs the holder (entity_id + entity_type), coverage type, status and the carrier's full name; unknown coverage types / statuses are created in the account. carrier_product also creates a coverage (and the carrier product if unknown). effective_date and premium are policy-level fields, not coverage fields. Returns the new policyID. POST policies/create.
| Parameter | Type | Description |
|---|---|---|
| lives | integer | Number of covered lives. |
| notes | string | The policy's own notes field. |
| status * | string | |
| carrier * | string | The carrier's full name. |
| premium | number | Policy-level premium amount; does not set a coverage premium. |
| entity_id * | integer | The groupID or individualID that holds the policy. |
| term_date | string | A date, yyyy-mm-dd. |
| entity_type * | string | one of ["Group","Individual"] |
| renewal_date | string | A date, yyyy-mm-dd. |
WRITE: change fields of an existing policy (status, carrier, dates, premium ...); fields you leave out are not sent. carrier_product requires carrier and first reads the policy: it creates the first coverage or changes the sole existing coverage, but refuses multiple coverages to avoid adding an unintended one. effective_date and premium remain policy-level fields. Returns the policyID. POST policies/update.
| Parameter | Type | Description |
|---|---|---|
| lives | integer | Number of covered lives. |
| notes | string | The policy's own notes field. |
| status | string | |
| carrier | string | |
| premium | number | Policy-level premium amount; does not set a coverage premium. |
| policy_id * | integer | |
| term_date | string | A date, yyyy-mm-dd. |
| renewal_date | string | A date, yyyy-mm-dd. |
| coverage_type | string | |
| custom_fields | object |
WRITE: log an activity (call, task, renewal reminder) on a group, individual, agent, carrier or lead. Status, type, method and priority are the text values of the account's dropdowns (My Agency Settings > Data Administration); unknown values are created. When the status is not Complete the activity is a follow-up: give follow_up_user_id and follow_up_date (and start/end times), and AgencyBloc assigns it to that user. Nothing is sent to the customer. Activities cannot be edited or deleted through the API. Returns the new activityID. POST activities/create.
| Parameter | Type | Description |
|---|---|---|
| type * | string | Activity type, e.g. Renewal. |
| notes * | string | The activity text. |
| method * | string | Activity method, e.g. Phone or Email. |
| status * | string | e.g. Complete or In Progress. |
| subject * | string | |
| priority * | string | e.g. Low, Medium or High. |
| entity_id * | integer | Id of the record. |
| entity_type * | string |
WRITE: add one note (subject + body) to an agent, group, individual or policy. AgencyBloc never allows notes to be edited or deleted through the API (audit rule), so the note is permanent. Pinning a note unpins the previously pinned one. Returns the new note id. POST notes/create.
| Parameter | Type | Description |
|---|---|---|
| body * | string | |
| pinned | boolean | Pin the note (unpins any other pinned note). Default false. |
| subject * | string | |
| entity_id * | integer | Id of the record. |
| entity_type * | string | one of ["Agent","Group","Individual","Policy"] |
{
"name": "agencybloc_create_note",
"title": "Add note",
"description": "WRITE: add one note (subject + body) to an agent, group, individual or policy. AgencyBloc never allows notes to be edited or deleted through the API (audit rule), so the note is permanent. Pinning a note unpins the previously pinned one. Returns the new note id. POST notes/create.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"entity_id",
"entity_type",
"subject",
"body"
],
"properties": {
"body": {
"type": "string",
"maxLength": 8000,
"minLength": 1
},
"pinned": {
"type": "boolean",
"description": "Pin the note (unpins any other pinned note). Default false."
},
"subject": {
"type": "string",
"maxLength": 250,
"minLength": 1
},
"entity_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Id of the record.",
"exclusiveMinimum": 0
},
"entity_type": {
"enum": [
"Agent",
"Group",
"Individual",
"Policy"
],
"type": "string"
}
}
},
"annotations": {
"title": "Add note",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Tools for AgencyBloc, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Find the individual named Maria Lopez and show her policies."; "Which policies were submitted in the last 14 days and what are their carriers?"; "Show the coverages on policy 48213, then set its carrier product to Health Plus for the existing carrier if it has only one coverage.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes AgencyBloc data. Free plan: 50 tool calls per month. Run agencybloc_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 agencybloc_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 agencybloc_upgrade without a plan: it returns both plans, each with a payment link for the user to open. agencybloc_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.
| submitted_before | string | Application submitted on/before this date (AgencyBloc includes the date itself). |
| servicing_agent_id | integer |
{
"name": "agencybloc_search_policies",
"title": "Search policies",
"description": "Search policies by number, coverage type, carrier, holder, servicing agent, application date or last update. Returns id, holder, policy number, carrier, status, coverage type, effective and renewal dates. Use submitted_after/updated_since for recent business. POST policies/search.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 500,
"description": "Most records to return, 1-500 (default 50). There is no paging: narrow with filters if more may exist.",
"exclusiveMinimum": 0
},
"carrier": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Carrier name."
},
"entity_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Holder id (group or individual id); give entity_type too.",
"exclusiveMinimum": 0
},
"entity_type": {
"enum": [
"Group",
"Individual"
],
"type": "string",
"description": "Whether entity_id is a Group or an Individual."
},
"coverage_type": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Coverage type as configured in the account (e.g. Medicare Supplement)."
},
"policy_number": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"updated_since": {
"type": "string",
"description": "Only records updated on/after this (inclusive); results then run oldest update first."
},
"updated_before": {
"type": "string",
"description": "Only records updated before this (exclusive)."
},
"submitted_after": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Application submitted on/after this date."
},
"submitted_before": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Application submitted on/before this date (AgencyBloc includes the date itself)."
},
"servicing_agent_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Search policies",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}| string |
| birth_date | string | A date, yyyy-mm-dd. |
| cell_phone | string |
| first_name * | string |
| home_phone | string |
| lead_source | string |
| address_type | string | Address label (e.g. Home, Business, Mailing); used with the address fields below. |
| custom_fields | object | Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||. |
| business_phone | string |
| middle_initial | string |
| servicing_agent_id | integer |
{
"name": "agencybloc_create_individual",
"title": "Create individual",
"description": "WRITE: create a new individual (client or contact) in AgencyBloc. Needs first and last name; everything else is optional. It does not check for duplicates: search first. Returns the new individualID. POST individuals/create.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"first_name",
"last_name"
],
"properties": {
"zip": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"city": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"tags": {
"type": "string",
"maxLength": 500,
"description": "Tags (replaces existing tags on update; an empty string clears them)."
},
"type": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Type as configured in the account; an unknown value is created."
},
"email": {
"type": "string",
"maxLength": 254,
"minLength": 3
},
"state": {
"type": "string",
"maxLength": 2,
"minLength": 1,
"description": "Two-letter state abbreviation."
},
"gender": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Status as configured in the account; an unknown value is created."
},
"street1": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"street2": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"group_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Group the individual belongs to.",
"exclusiveMinimum": 0
},
"last_name": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"birth_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "A date, yyyy-mm-dd."
},
"cell_phone": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"first_name": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"home_phone": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"lead_source": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"address_type": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "Address label (e.g. Home, Business, Mailing); used with the address fields below."
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||.",
"propertyNames": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 2000
}
},
"business_phone": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"middle_initial": {
"type": "string",
"maxLength": 5,
"minLength": 1
},
"servicing_agent_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Create individual",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| object |
| Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||. |
| individual_id * | integer |
| business_phone | string |
| middle_initial | string |
| servicing_agent_id | integer |
{
"name": "agencybloc_update_individual",
"title": "Update individual",
"description": "WRITE: change fields of an existing individual; fields you leave out are not sent. Tags are replaced (empty string clears them). Addresses are not changed here. Returns the individualID. POST individuals/update.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"individual_id"
],
"properties": {
"tags": {
"type": "string",
"maxLength": 500,
"description": "Tags (replaces existing tags on update; an empty string clears them)."
},
"type": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Type as configured in the account; an unknown value is created."
},
"email": {
"type": "string",
"maxLength": 254,
"minLength": 3
},
"gender": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"status": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Status as configured in the account; an unknown value is created."
},
"group_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Group the individual belongs to.",
"exclusiveMinimum": 0
},
"birth_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "A date, yyyy-mm-dd."
},
"cell_phone": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"home_phone": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"lead_source": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||.",
"propertyNames": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 2000
}
},
"individual_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"business_phone": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"middle_initial": {
"type": "string",
"maxLength": 5,
"minLength": 1
},
"servicing_agent_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Update individual",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| description |
| string |
| address_type | string | Address label (e.g. Home, Business, Mailing); used with the address fields below. |
| custom_fields | object | Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||. |
| business_phone | string |
| account_manager | string | A user id or the exact user name in AgencyBloc. |
| servicing_agent_id | integer |
{
"name": "agencybloc_create_group",
"title": "Create group",
"description": "WRITE: create a new group (employer / business account) in AgencyBloc. It does not check for duplicates: search first. Returns the new groupID. POST groups/create.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"group_name"
],
"properties": {
"dba": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Doing-business-as name."
},
"zip": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"city": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"type": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Group type as configured in the account."
},
"state": {
"type": "string",
"maxLength": 2,
"minLength": 1,
"description": "Two-letter state abbreviation."
},
"status": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"street1": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"street2": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"website": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"industry": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"employees": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Number of employees."
},
"group_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"address_type": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "Address label (e.g. Home, Business, Mailing); used with the address fields below."
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||.",
"propertyNames": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 2000
}
},
"business_phone": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"account_manager": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "A user id or the exact user name in AgencyBloc."
},
"servicing_agent_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Create group",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| string |
| A user id or the exact user name in AgencyBloc. |
| servicing_agent_id | integer |
{
"name": "agencybloc_update_group",
"title": "Update group",
"description": "WRITE: change fields of an existing group (including its name); fields you leave out are not sent. Returns the groupID. POST groups/update.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"group_id"
],
"properties": {
"dba": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Doing-business-as name."
},
"type": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Group type as configured in the account."
},
"website": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"group_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"industry": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"employees": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Number of employees."
},
"group_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||.",
"propertyNames": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 2000
}
},
"business_phone": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"account_manager": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "A user id or the exact user name in AgencyBloc."
},
"servicing_agent_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Update group",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| coverage_type * | string |
| custom_fields | object | Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||. |
| pay_frequency | string | Payment frequency as configured in the account (e.g. Monthly). |
| policy_number | string |
| effective_date | string | Policy-level effective date, yyyy-mm-dd; does not set a coverage effective date. |
| app_submit_date | string | A date, yyyy-mm-dd. |
| carrier_product | string | Carrier product name for a policy coverage. Requires carrier. Creates a coverage on policy creation; on update, creates the first coverage or changes the sole existing one. Updates refuse policies with multiple coverages. An unknown product name is created for the carrier. Does not set coverage-leve… |
| servicing_agent_id | integer |
{
"name": "agencybloc_create_policy",
"title": "Create policy",
"description": "WRITE: create a policy on an existing group or individual. Needs the holder (entity_id + entity_type), coverage type, status and the carrier's full name; unknown coverage types / statuses are created in the account. carrier_product also creates a coverage (and the carrier product if unknown). effective_date and premium are policy-level fields, not coverage fields. Returns the new policyID. POST policies/create.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"entity_id",
"entity_type",
"coverage_type",
"status",
"carrier"
],
"properties": {
"lives": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Number of covered lives."
},
"notes": {
"type": "string",
"maxLength": 4000,
"minLength": 1,
"description": "The policy's own notes field."
},
"status": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"carrier": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "The carrier's full name."
},
"premium": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "Policy-level premium amount; does not set a coverage premium."
},
"entity_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The groupID or individualID that holds the policy.",
"exclusiveMinimum": 0
},
"term_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "A date, yyyy-mm-dd."
},
"entity_type": {
"enum": [
"Group",
"Individual"
],
"type": "string"
},
"renewal_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "A date, yyyy-mm-dd."
},
"coverage_type": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||.",
"propertyNames": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 2000
}
},
"pay_frequency": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "Payment frequency as configured in the account (e.g. Monthly)."
},
"policy_number": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"effective_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Policy-level effective date, yyyy-mm-dd; does not set a coverage effective date."
},
"app_submit_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "A date, yyyy-mm-dd."
},
"carrier_product": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Carrier product name for a policy coverage. Requires carrier. Creates a coverage on policy creation; on update, creates the first coverage or changes the sole existing one. Updates refuse policies with multiple coverages. An unknown product name is created for the carrier. Does not set coverage-level dates or premium."
},
"servicing_agent_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Create policy",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||. |
| pay_frequency | string | Payment frequency as configured in the account (e.g. Monthly). |
| policy_number | string |
| effective_date | string | Policy-level effective date, yyyy-mm-dd; does not set a coverage effective date. |
| app_submit_date | string | A date, yyyy-mm-dd. |
| carrier_product | string | Carrier product name for a policy coverage. Requires carrier. Creates a coverage on policy creation; on update, creates the first coverage or changes the sole existing one. Updates refuse policies with multiple coverages. An unknown product name is created for the carrier. Does not set coverage-leve… |
| servicing_agent_id | integer |
{
"name": "agencybloc_update_policy",
"title": "Update policy",
"description": "WRITE: change fields of an existing policy (status, carrier, dates, premium ...); fields you leave out are not sent. carrier_product requires carrier and first reads the policy: it creates the first coverage or changes the sole existing coverage, but refuses multiple coverages to avoid adding an unintended one. effective_date and premium remain policy-level fields. Returns the policyID. POST policies/update.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"policy_id"
],
"properties": {
"lives": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Number of covered lives."
},
"notes": {
"type": "string",
"maxLength": 4000,
"minLength": 1,
"description": "The policy's own notes field."
},
"status": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"carrier": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"premium": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "Policy-level premium amount; does not set a coverage premium."
},
"policy_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"term_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "A date, yyyy-mm-dd."
},
"renewal_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "A date, yyyy-mm-dd."
},
"coverage_type": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||.",
"propertyNames": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 2000
}
},
"pay_frequency": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"description": "Payment frequency as configured in the account (e.g. Monthly)."
},
"policy_number": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"effective_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Policy-level effective date, yyyy-mm-dd; does not set a coverage effective date."
},
"app_submit_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "A date, yyyy-mm-dd."
},
"carrier_product": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Carrier product name for a policy coverage. Requires carrier. Creates a coverage on policy creation; on update, creates the first coverage or changes the sole existing one. Updates refuse policies with multiple coverages. An unknown product name is created for the carrier. Does not set coverage-level dates or premium."
},
"servicing_agent_id": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Update policy",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| one of ["Group","Individual","Agent","Carrier","Lead"] |
| activity_date | string | Defaults to today. |
| follow_up_date | string | A date, yyyy-mm-dd. |
| follow_up_all_day | boolean |
| follow_up_user_id | integer | AgencyBloc user the follow-up is assigned to. |
| related_policy_id | integer | A policy of this group or individual. |
| follow_up_end_time | string | 24-hour HH:MM or HH:MM:SS. |
| follow_up_start_time | string | 24-hour HH:MM or HH:MM:SS. |
{
"name": "agencybloc_create_activity",
"title": "Create activity",
"description": "WRITE: log an activity (call, task, renewal reminder) on a group, individual, agent, carrier or lead. Status, type, method and priority are the text values of the account's dropdowns (My Agency Settings > Data Administration); unknown values are created. When the status is not Complete the activity is a follow-up: give follow_up_user_id and follow_up_date (and start/end times), and AgencyBloc assigns it to that user. Nothing is sent to the customer. Activities cannot be edited or deleted through the API. Returns the new activityID. POST activities/create.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"entity_id",
"entity_type",
"subject",
"notes",
"status",
"type",
"method",
"priority"
],
"properties": {
"type": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Activity type, e.g. Renewal."
},
"notes": {
"type": "string",
"maxLength": 8000,
"minLength": 1,
"description": "The activity text."
},
"method": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Activity method, e.g. Phone or Email."
},
"status": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "e.g. Complete or In Progress."
},
"subject": {
"type": "string",
"maxLength": 250,
"minLength": 1
},
"priority": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "e.g. Low, Medium or High."
},
"entity_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Id of the record.",
"exclusiveMinimum": 0
},
"entity_type": {
"enum": [
"Group",
"Individual",
"Agent",
"Carrier",
"Lead"
],
"type": "string"
},
"activity_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Defaults to today."
},
"follow_up_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "A date, yyyy-mm-dd."
},
"follow_up_all_day": {
"type": "boolean"
},
"follow_up_user_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "AgencyBloc user the follow-up is assigned to.",
"exclusiveMinimum": 0
},
"related_policy_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "A policy of this group or individual.",
"exclusiveMinimum": 0
},
"follow_up_end_time": {
"type": "string",
"description": "24-hour HH:MM or HH:MM:SS."
},
"follow_up_start_time": {
"type": "string",
"description": "24-hour HH:MM or HH:MM:SS."
}
}
},
"annotations": {
"title": "Create activity",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}