Laposta MCP by usefulapi is an MCP server published by io.usefulapi, hosted at laposta.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 18 tools, including laposta_list_lists, laposta_get_list, laposta_list_fields, laposta_list_segments, laposta_list_members.
Read Laposta lists, members, campaigns and reports; add members and build campaigns.
4,406 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
List all mailing lists of the Laposta account with member counts (active, unsubscribed, cleaned). Use the list_id in the other tools.
No parameters.
{
"name": "laposta_list_lists",
"title": "List mailing lists",
"description": "List all mailing lists of the Laposta account with member counts (active, unsubscribed, cleaned). Use the list_id in the other tools.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List mailing lists",
"readOnlyHint": true,
"openWorldHint": true
}
}None yet. Changes appear after a server's second daily check.
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.
Get one mailing list: name, state, notification addresses and member counts.
| Parameter | Type | Description |
|---|---|---|
| list_id * | string | The list id (from laposta_list_lists). |
{
"name": "laposta_get_list",
"title": "Get a mailing list",
"description": "Get one mailing list: name, state, notification addresses and member counts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id"
],
"properties": {
"list_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The list id (from laposta_list_lists)."
}
}
},
"annotations": {
"title": "Get a mailing list",
"readOnlyHint": true,
"openWorldHint": true
}
}List the custom fields of a mailing list (name, custom_name used as the key in custom_fields, datatype, required, options). Call this before adding or updating a member.
| Parameter | Type | Description |
|---|---|---|
| list_id * | string | The list id (from laposta_list_lists). |
{
"name": "laposta_list_fields",
"title": "List a list's fields",
"description": "List the custom fields of a mailing list (name, custom_name used as the key in custom_fields, datatype, required, options). Call this before adding or updating a member.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id"
],
"properties": {
"list_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The list id (from laposta_list_lists)."
}
}
},
"annotations": {
"title": "List a list's fields",
"readOnlyHint": true,
"openWorldHint": true
}
}List the segments of a mailing list (a segment id can be a campaign recipient together with its list).
| Parameter | Type | Description |
|---|---|---|
| list_id * | string | The list id (from laposta_list_lists). |
{
"name": "laposta_list_segments",
"title": "List a list's segments",
"description": "List the segments of a mailing list (a segment id can be a campaign recipient together with its list).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id"
],
"properties": {
"list_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The list id (from laposta_list_lists)."
}
}
},
"annotations": {
"title": "List a list's segments",
"readOnlyHint": true,
"openWorldHint": true
}
}List the members (subscribers) of a mailing list, one page at a time. Filter by state, free-text search (email and field values) or label. Contains personal data: only fetch what the task needs.
| Parameter | Type | Description |
|---|---|---|
| label | string | Only members with this label (by name). |
| limit | integer | Items per page (default 25, max 100; a large page can be cut at 50,000 characters and lose its next_cursor). |
| order | string | Sort direction for order_by (default asc). |
| state | string | Only members in this state (default: all). |
| cursor | string | Cursor: pass the previous reply's next_cursor unchanged, with the same filters. |
| search | string | Only members containing this text in the email or any text/number/choice field. |
| list_id * | string | The list id (from laposta_list_lists). |
| order_by | string | email, signup_date, or a text field's custom_name (comma-separated for several). |
{
"name": "laposta_list_members",
"title": "List members of a list",
"description": "List the members (subscribers) of a mailing list, one page at a time. Filter by state, free-text search (email and field values) or label. Contains personal data: only fetch what the task needs.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id"
],
"properties": {
"label": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Only members with this label (by name)."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page (default 25, max 100; a large page can be cut at 50,000 characters and lose its next_cursor)."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction for order_by (default asc)."
},
"state": {
"enum": [
"active",
"unsubscribed",
"cleaned"
],
"type": "string",
"description": "Only members in this state (default: all)."
},
"cursor": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "Cursor: pass the previous reply's next_cursor unchanged, with the same filters."
},
"search": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Only members containing this text in the email or any text/number/choice field."
},
"list_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The list id (from laposta_list_lists)."
},
"order_by": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "email, signup_date, or a text field's custom_name (comma-separated for several)."
}
}
},
"annotations": {
"title": "List members of a list",
"readOnlyHint": true,
"openWorldHint": true
}
}Get one member of a list by member id or email address: state, signup/confirm dates and custom field values.
| Parameter | Type | Description |
|---|---|---|
| member * | string | The member id OR the member's email address. |
| list_id * | string | The list id (from laposta_list_lists). |
{
"name": "laposta_get_member",
"title": "Get a member",
"description": "Get one member of a list by member id or email address: state, signup/confirm dates and custom field values.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id",
"member"
],
"properties": {
"member": {
"type": "string",
"maxLength": 320,
"minLength": 1,
"description": "The member id OR the member's email address."
},
"list_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The list id (from laposta_list_lists)."
}
}
},
"annotations": {
"title": "Get a member",
"readOnlyHint": true,
"openWorldHint": true
}
}The event history of one member (subscribed, confirmed, opened, clicked, bounced, unsubscribed, automations ...), newest first by default. Optionally limited to one campaign or a date range. Paged by cursor.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Items per page (default 25, max 100; a large page can be cut at 50,000 characters and lose its next_cursor). |
| order | string | Sort by event date (default desc). |
| cursor | string | Cursor: pass the previous reply's next_cursor unchanged, with the same filters. |
| member * | string | The member id OR the member's email address. |
| list_id * | string | The list id (from laposta_list_lists). |
| campaign_id | string | Only events of this campaign. |
| event_date_to | string | Events before this moment, exclusive. |
| event_date_from | string | Events from this moment, inclusive. |
{
"name": "laposta_get_member_history",
"title": "Get a member's event history",
"description": "The event history of one member (subscribed, confirmed, opened, clicked, bounced, unsubscribed, automations ...), newest first by default. Optionally limited to one campaign or a date range. Paged by cursor.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id",
"member"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page (default 25, max 100; a large page can be cut at 50,000 characters and lose its next_cursor)."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort by event date (default desc)."
},
"cursor": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "Cursor: pass the previous reply's next_cursor unchanged, with the same filters."
},
"member": {
"type": "string",
"maxLength": 320,
"minLength": 1,
"description": "The member id OR the member's email address."
},
"list_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The list id (from laposta_list_lists)."
},
"campaign_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Only events of this campaign."
},
"event_date_to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}([ T]\\d{2}:\\d{2}:\\d{2}(Z|[+-]\\d{2}:\\d{2})?)?$",
"description": "Events before this moment, exclusive."
},
"event_date_from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}([ T]\\d{2}:\\d{2}:\\d{2}(Z|[+-]\\d{2}:\\d{2})?)?$",
"description": "Events from this moment, inclusive."
}
}
},
"annotations": {
"title": "Get a member's event history",
"readOnlyHint": true,
"openWorldHint": true
}
}List the account's campaigns (name, subject, sender, recipient lists, delivery moments). Use limit/offset to page.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Items to return (default 100, max 500). |
| offset | integer | Items to skip (default 0). Pass the previous reply's next_offset. |
{
"name": "laposta_list_campaigns",
"title": "List campaigns",
"description": "List the account's campaigns (name, subject, sender, recipient lists, delivery moments). Use limit/offset to page.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Items to return (default 100, max 500)."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Items to skip (default 0). Pass the previous reply's next_offset."
}
}
},
"annotations": {
"title": "List campaigns",
"readOnlyHint": true,
"openWorldHint": true
}
}Get one campaign: name, subject, preview text, sender, reply-to, recipients, delivery moments and web version URL.
| Parameter | Type | Description |
|---|---|---|
| campaign_id * | string | The campaign id (from laposta_list_campaigns). |
{
"name": "laposta_get_campaign",
"title": "Get a campaign",
"description": "Get one campaign: name, subject, preview text, sender, reply-to, recipients, delivery moments and web version URL.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id"
],
"properties": {
"campaign_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The campaign id (from laposta_list_campaigns)."
}
}
},
"annotations": {
"title": "Get a campaign",
"readOnlyHint": true,
"openWorldHint": true
}
}Get the plain-text content of a campaign (and its import_url if it was imported). Set include_html to also get the full HTML (large).
| Parameter | Type | Description |
|---|---|---|
| campaign_id * | string | The campaign id (from laposta_list_campaigns). |
| include_html | boolean | Also return the HTML body (default false). |
{
"name": "laposta_get_campaign_content",
"title": "Get a campaign's content",
"description": "Get the plain-text content of a campaign (and its import_url if it was imported). Set include_html to also get the full HTML (large).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id"
],
"properties": {
"campaign_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The campaign id (from laposta_list_campaigns)."
},
"include_html": {
"type": "boolean",
"description": "Also return the HTML body (default false)."
}
}
},
"annotations": {
"title": "Get a campaign's content",
"readOnlyHint": true,
"openWorldHint": true
}
}Recipient events of one campaign (delivered, opened, clicked, bounced, unsubscribed ...), newest first by default, optionally within a date range. Paged by cursor. For totals use laposta_get_report.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Items per page (default 25, max 100; a large page can be cut at 50,000 characters and lose its next_cursor). |
| order | string | Sort by event date (default desc). |
| cursor | string | Cursor: pass the previous reply's next_cursor unchanged, with the same filters. |
| campaign_id * | string | The campaign id (from laposta_list_campaigns). |
| event_date_to | string | Events before this moment, exclusive. |
| event_date_from | string | Events from this moment, inclusive. |
{
"name": "laposta_get_campaign_history",
"title": "Get a campaign's event history",
"description": "Recipient events of one campaign (delivered, opened, clicked, bounced, unsubscribed ...), newest first by default, optionally within a date range. Paged by cursor. For totals use laposta_get_report.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Items per page (default 25, max 100; a large page can be cut at 50,000 characters and lose its next_cursor)."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort by event date (default desc)."
},
"cursor": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "Cursor: pass the previous reply's next_cursor unchanged, with the same filters."
},
"campaign_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The campaign id (from laposta_list_campaigns)."
},
"event_date_to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}([ T]\\d{2}:\\d{2}:\\d{2}(Z|[+-]\\d{2}:\\d{2})?)?$",
"description": "Events before this moment, exclusive."
},
"event_date_from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}([ T]\\d{2}:\\d{2}:\\d{2}(Z|[+-]\\d{2}:\\d{2})?)?$",
"description": "Events from this moment, inclusive."
}
}
},
"annotations": {
"title": "Get a campaign's event history",
"readOnlyHint": true,
"openWorldHint": true
}
}Result figures of all campaigns: sent, accepted, opened, clicked, bounced, unsubscribed, with ratios. Use limit/offset to page.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Items to return (default 100, max 500). |
| offset | integer | Items to skip (default 0). Pass the previous reply's next_offset. |
{
"name": "laposta_list_reports",
"title": "List campaign reports",
"description": "Result figures of all campaigns: sent, accepted, opened, clicked, bounced, unsubscribed, with ratios. Use limit/offset to page.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Items to return (default 100, max 500)."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Items to skip (default 0). Pass the previous reply's next_offset."
}
}
},
"annotations": {
"title": "List campaign reports",
"readOnlyHint": true,
"openWorldHint": true
}
}Result figures of one campaign: sent, accepted, unique opens and clicks, bounces, complaints, unsubscribes and their ratios.
| Parameter | Type | Description |
|---|---|---|
| campaign_id * | string | The campaign id (from laposta_list_campaigns). |
{
"name": "laposta_get_report",
"title": "Get a campaign report",
"description": "Result figures of one campaign: sent, accepted, unique opens and clicks, bounces, complaints, unsubscribes and their ratios.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id"
],
"properties": {
"campaign_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The campaign id (from laposta_list_campaigns)."
}
}
},
"annotations": {
"title": "Get a campaign report",
"readOnlyHint": true,
"openWorldHint": true
}
}WRITE: add one email address to a mailing list (subscribe). On a double opt-in list Laposta sends the confirmation email to that address. The address must have given consent. With upsert, an existing active member's fields are overwritten; an unsubscribed member is re-activated unless suppress_reactivation is set.
| Parameter | Type | Description |
|---|---|---|
| ip * | string | IP address the signup came from (required by Laposta; use the signup source's address, or your own server's if it was entered by staff). |
| email * | string | |
| upsert | boolean | Overwrite the fields if the address is already an active member (default false: error). |
| list_id * | string | The list id (from laposta_list_lists). |
| source_url | string | URL the signup came from. |
| custom_fields | object | Custom field values keyed by the field's custom_name (the variable name shown by laposta_list_fields). Multi-choice fields take an array of option values. |
| suppress_reactivation | boolean | With upsert: do not re-activate an unsubscribed member. |
| suppress_email_notification | boolean | Do not send the list's signup notification email. |
{
"name": "laposta_add_member",
"title": "Add a member to a list",
"description": "WRITE: add one email address to a mailing list (subscribe). On a double opt-in list Laposta sends the confirmation email to that address. The address must have given consent. With upsert, an existing active member's fields are overwritten; an unsubscribed member is re-activated unless suppress_reactivation is set.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id",
"email",
"ip"
],
"properties": {
"ip": {
"type": "string",
"pattern": "^[0-9a-fA-F:.]+$",
"maxLength": 45,
"minLength": 3,
"description": "IP address the signup came from (required by Laposta; use the signup source's address, or your own server's if it was entered by staff)."
},
"email": {
"type": "string",
"pattern": "^[^\\s@]+@[^\\s@]+$",
"maxLength": 320,
"minLength": 3
},
"upsert": {
"type": "boolean",
"description": "Overwrite the fields if the address is already an active member (default false: error)."
},
"list_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The list id (from laposta_list_lists)."
},
"source_url": {
"type": "string",
"format": "uri",
"maxLength": 2000,
"description": "URL the signup came from."
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed by the field's custom_name (the variable name shown by laposta_list_fields). Multi-choice fields take an array of option values.",
"propertyNames": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 5000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 500
},
"maxItems": 100
}
]
}
},
"suppress_reactivation": {
"type": "boolean",
"description": "With upsert: do not re-activate an unsubscribed member."
},
"suppress_email_notification": {
"type": "boolean",
"description": "Do not send the list's signup notification email."
}
}
},
"annotations": {
"title": "Add a member to a list",
"openWorldHint": true,
"destructiveHint": true
}
}WRITE: change a member's custom field values and/or email address, or unsubscribe the member (state: unsubscribed). Only the fields you pass change. Re-subscribing a person is not offered here: do it in the Laposta app or with laposta_add_member upsert only when they asked for it.
| Parameter | Type | Description |
|---|---|---|
| string | A new email address for this member. | |
| state | string | Set to unsubscribed to unsubscribe the member. |
| member * | string | The member id OR the member's email address. |
| list_id * | string | The list id (from laposta_list_lists). |
| custom_fields | object | Custom field values keyed by the field's custom_name (the variable name shown by laposta_list_fields). Multi-choice fields take an array of option values. |
{
"name": "laposta_update_member",
"title": "Update a member",
"description": "WRITE: change a member's custom field values and/or email address, or unsubscribe the member (state: unsubscribed). Only the fields you pass change. Re-subscribing a person is not offered here: do it in the Laposta app or with laposta_add_member upsert only when they asked for it.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"list_id",
"member"
],
"properties": {
"email": {
"type": "string",
"pattern": "^[^\\s@]+@[^\\s@]+$",
"maxLength": 320,
"minLength": 3,
"description": "A new email address for this member."
},
"state": {
"type": "string",
"const": "unsubscribed",
"description": "Set to unsubscribed to unsubscribe the member."
},
"member": {
"type": "string",
"maxLength": 320,
"minLength": 1,
"description": "The member id OR the member's email address."
},
"list_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The list id (from laposta_list_lists)."
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed by the field's custom_name (the variable name shown by laposta_list_fields). Multi-choice fields take an array of option values.",
"propertyNames": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 5000
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 500
},
"maxItems": 100
}
]
}
}
}
},
"annotations": {
"title": "Update a member",
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: create a new regular campaign (a draft: it is NOT filled, scheduled or sent). Fill it with laposta_set_campaign_content, check it with laposta_send_test_email and send it in the Laposta app. The from_email must be an approved sender address of the account.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Internal campaign name. |
| subject * | string | Subject line. |
| list_ids * | array | Recipients: list ids and optionally segment ids. |
| reply_to | string | Reply-to address. |
| from_name * | string | Sender name. |
| from_email * | string | Sender email address (must be an approved sender in Laposta). |
| previewtext | string | Preview text (max 120 characters). |
| google_analytics | boolean | Link Google Analytics tracking. |
{
"name": "laposta_create_campaign",
"title": "Create a campaign draft",
"description": "WRITE: create a new regular campaign (a draft: it is NOT filled, scheduled or sent). Fill it with laposta_set_campaign_content, check it with laposta_send_test_email and send it in the Laposta app. The from_email must be an approved sender address of the account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"subject",
"from_name",
"from_email",
"list_ids"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Internal campaign name."
},
"subject": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Subject line."
},
"list_ids": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Laposta id (a short alphanumeric string, e.g. BaImMu3JZA)."
},
"maxItems": 50,
"minItems": 1,
"description": "Recipients: list ids and optionally segment ids."
},
"reply_to": {
"type": "string",
"pattern": "^[^\\s@]+@[^\\s@]+$",
"maxLength": 320,
"minLength": 3,
"description": "Reply-to address."
},
"from_name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Sender name."
},
"from_email": {
"type": "string",
"pattern": "^[^\\s@]+@[^\\s@]+$",
"maxLength": 320,
"minLength": 3,
"description": "Sender email address (must be an approved sender in Laposta)."
},
"previewtext": {
"type": "string",
"maxLength": 120,
"description": "Preview text (max 120 characters)."
},
"google_analytics": {
"type": "boolean",
"description": "Link Google Analytics tracking."
}
}
},
"annotations": {
"title": "Create a campaign draft",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}WRITE: replace a campaign's content with your HTML, or let Laposta import it from a URL (html wins if both are given). Does not send anything. The reply's report lists problems Laposta found (javascript, missing unsubscribe link, missing images).
| Parameter | Type | Description |
|---|---|---|
| html | string | The complete HTML of the email. |
| import_url | string | A public URL Laposta fetches the HTML from. |
| inline_css | boolean | Inline the CSS. |
| campaign_id * | string | The campaign id (from laposta_list_campaigns). |
{
"name": "laposta_set_campaign_content",
"title": "Set a campaign's content",
"description": "WRITE: replace a campaign's content with your HTML, or let Laposta import it from a URL (html wins if both are given). Does not send anything. The reply's report lists problems Laposta found (javascript, missing unsubscribe link, missing images).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id"
],
"properties": {
"html": {
"type": "string",
"maxLength": 2000000,
"minLength": 1,
"description": "The complete HTML of the email."
},
"import_url": {
"type": "string",
"format": "uri",
"maxLength": 2000,
"description": "A public URL Laposta fetches the HTML from."
},
"inline_css": {
"type": "boolean",
"description": "Inline the CSS."
},
"campaign_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The campaign id (from laposta_list_campaigns)."
}
}
},
"annotations": {
"title": "Set a campaign's content",
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: send a test copy of a campaign (it must have content and not be sent yet) to ONE email address. Does not send the campaign to its recipients.
| Parameter | Type | Description |
|---|---|---|
| email * | string | Where to send the test. |
| campaign_id * | string | The campaign id (from laposta_list_campaigns). |
{
"name": "laposta_send_test_email",
"title": "Send a campaign test email",
"description": "WRITE: send a test copy of a campaign (it must have content and not be sent yet) to ONE email address. Does not send the campaign to its recipients.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"campaign_id",
"email"
],
"properties": {
"email": {
"type": "string",
"pattern": "^[^\\s@]+@[^\\s@]+$",
"maxLength": 320,
"minLength": 3,
"description": "Where to send the test."
},
"campaign_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "The campaign id (from laposta_list_campaigns)."
}
}
},
"annotations": {
"title": "Send a campaign test email",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Tools for Laposta, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "How many active subscribers does each of my Laposta lists have?"; "Show the open and click rates of my last five newsletters."; "Find the subscriber maartje@example.com and show what she opened recently.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Laposta data. Free plan: 50 tool calls per month. Run laposta_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 laposta_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 laposta_upgrade without a plan: it returns both plans, each with a payment link for the user to open. laposta_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.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.