eSputnik MCP by usefulapi

Read contacts, segments, broadcasts and balances; add or update contacts in eSputnik.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
80%
Qualität der Benennung
77%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (3)

  • LOWTool 'esputnik_get_contact_subscriptions' name length outside 3-30 rangein esputnik_get_contact_subscriptions
  • LOWTool 'esputnik_get_contact_message_history' name length outside 3-30 rangein esputnik_get_contact_message_history
  • LOWTool 'esputnik_list_additional_fields' name length outside 3-30 rangein esputnik_list_additional_fields

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~4,016Tokens (Tool-Definitionen)
~1.3 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (3.14% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "esputnik": {
      "url": "https://esputnik.usefulapi.io/mcp"
    }
  }
}

Remote-Endpunkte

https://esputnik.usefulapi.io/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (22)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢esputnik_get_account_info

Get the eSputnik organisation id, organisation name and the user email of the login. Good first call to confirm which account is connected. API: GET /api/v1/account/info.

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_get_balance

Get the current organisation balance: money, credit limit, currency, reserved sender balances and bonus email and SMS counts. API: GET /api/v1/balance.

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_get_balance_history(dateFrom, dateTo)

Get the daily billing costs of the organisation between two dates (yyyy-mm-dd). Defaults: from the beginning of today to now. API: GET /api/v1/balance/history.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "dateFrom": {
      "description": "Start date, yyyy-mm-dd.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "dateTo": {
      "description": "End date, yyyy-mm-dd.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_list_subscriptions

List the subscription categories of the organisation with their keys, group ids and contact counts. API: GET /api/v1/subscriptions.

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_search_contacts(externalCustomerId, email, sms, firstname, lastname, ...)

Search contacts by external customer id, email, phone, first or last name. Returns at most 500 contacts per call; use startindex to page. API: GET /api/v1/contacts.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "externalCustomerId": {
      "description": "Your own customer id for the contact.",
      "type": "string"
    },
    "email": {
      "description": "Email address of the contact.",
      "type": "string"
    },
    "sms": {
      "description": "Phone number of the contact.",
      "type": "string"
    },
    "firstname": {
      "description": "First name.",
      "type": "string"
    },
    "lastname": {
      "description": "Last name.",
      "type": "string"
    },
    "startindex": {
      "description": "First row (1-based, default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "maxrows": {
      "description": "Rows per page (max 500).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 500
    },
    "sortBy": {
      "description": "Sort by contact id. Works only for searches without filters.",
      "type": "string",
      "enum": [
        "contactId"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_get_contact(id)

Get one contact by its eSputnik id: name, channels (email, sms, push), address, custom fields and segment groups. API: GET /api/v1/contact/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "eSputnik contact id."
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_get_contact_subscriptions(id)

Get the subscription data of one contact, as the vendor returns it (a subscription category object). API: GET /api/v1/contact/{id}/subscriptions.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "eSputnik contact id."
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_get_contact_activity(dateFrom, dateTo, email, sms, messageTag, ...)

List message activity per contact (delivered, read, clicked, unsubscribed, spam) between two dates. Dates are yyyy-mm-dd or yyyy-mm-ddTHH:mm. API: GET /api/v2/contacts/activity.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "dateFrom": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}([T ]\\d{2}:\\d{2})?$",
      "description": "Start of the period."
    },
    "dateTo": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}([T ]\\d{2}:\\d{2})?$",
      "description": "End of the period."
    },
    "email": {
      "description": "Filter by email address.",
      "type": "string"
    },
    "sms": {
      "description": "Filter by phone number.",
      "type": "string"
    },
    "messageTag": {
      "description": "Filter by message tag.",
      "type": "string"
    },
    "webPushToken": {
      "description": "Filter by web push token.",
      "type": "string"
    },
    "mobPushToken": {
      "description": "Filter by mobile push token.",
      "type": "string"
    },
    "telegramToken": {
      "description": "Filter by Telegram token.",
      "type": "string"
    },
    "activityStatus": {
      "description": "Filter by activity status.",
      "type": "string",
      "enum": [
        "DELIVERED",
        "UNDELIVERED",
        "READ",
        "UNSUBSCRIBED",
        "CLICKED",
        "SPAM"
      ]
    },
    "offset": {
      "description": "Offset returned by the previous page, as eSputnik sends it.",
      "type": "string"
    },
    "maxrows": {
      "description": "Rows per page (eSputnik default 25000).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "dateFrom",
    "dateTo"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_get_contact_message_history(dateFrom, dateTo, email, phone, contactId, ...)

List the messages sent to one contact between two dates, with channel, status and subject. Identify the contact by email, phone, contact id or your customer id. API: GET /api/v2/contacts/messages.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "dateFrom": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}([T ]\\d{2}:\\d{2})?$",
      "description": "Start of the period."
    },
    "dateTo": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}([T ]\\d{2}:\\d{2})?$",
      "description": "End of the period."
    },
    "email": {
      "description": "Email address of the contact.",
      "type": "string"
    },
    "phone": {
      "description": "Phone number of the contact.",
      "type": "string"
    },
    "contactId": {
      "description": "eSputnik contact id.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "externalCustomerId": {
      "description": "Your own customer id for the contact.",
      "type": "string"
    },
    "channelTypes": {
      "description": "Comma-separated channel types to include, as eSputnik names them.",
      "type": "string"
    },
    "offset": {
      "description": "Rows to skip (default 0).",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "maxrows": {
      "description": "Rows per page (eSputnik default 10, max 100).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    }
  },
  "required": [
    "dateFrom",
    "dateTo"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_list_segments(name, startindex, maxrows)

List the segments (contact groups) of the organisation, optionally filtered by name. API: GET /api/v1/groups.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Filter by segment name.",
      "type": "string"
    },
    "startindex": {
      "description": "First row (1-based, default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "maxrows": {
      "description": "Rows per page (max 500).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 500
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_get_segment_contacts(id, startindex, maxrows, orderByTs, asc)

List the contacts in one segment. Returns at most 500 per call; use startindex to page. API: GET /api/v1/group/{id}/contacts.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Segment id (from esputnik_list_segments)."
    },
    "startindex": {
      "description": "First row (1-based, default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "maxrows": {
      "description": "Rows per page (max 500).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 500
    },
    "orderByTs": {
      "description": "Order by the time the contact joined the segment.",
      "type": "boolean"
    },
    "asc": {
      "description": "Ascending order (default true).",
      "type": "boolean"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_list_workflows(name, startindex, maxrows)

List the automation workflows of the organisation with their status and tags, optionally filtered by name. API: GET /api/v1/workflows.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Filter by workflow name.",
      "type": "string"
    },
    "startindex": {
      "description": "First row (1-based, default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "maxrows": {
      "description": "Rows per page (max 500).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 500
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_list_broadcasts(startindex, maxrows)

List scheduled and sent broadcasts (campaigns) with their title, message, segment and start date. API: GET /api/v1/broadcasts.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "startindex": {
      "description": "First row (1-based, default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "maxrows": {
      "description": "Rows per page (eSputnik default 10, max 500).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 500
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_get_broadcast(broadcast_id)

Get one broadcast (campaign) by its id: title, message id, segment id, start date and batch settings. API: GET /api/v1/broadcast/{broadcast_id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "broadcast_id": {
      "type": "string",
      "minLength": 1,
      "description": "Broadcast id (from esputnik_list_broadcasts)."
    }
  },
  "required": [
    "broadcast_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_search_email_messages(search, startindex, maxrows)

Search the email message templates of the organisation by text. Returns subject, sender and HTML content. API: GET /api/v1/messages/email.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "search": {
      "description": "Part of the template name or a tag.",
      "type": "string"
    },
    "startindex": {
      "description": "First row (1-based, default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "maxrows": {
      "description": "Rows per page (max 500).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 500
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_get_email_message(id)

Get one email message template by id: name, sender, subject, HTML and CSS, and its translations. API: GET /api/v1/messages/email/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Email message id."
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_search_sms_messages(search, startindex, maxrows)

Search the SMS message templates of the organisation by text. API: GET /api/v1/messages/sms.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "search": {
      "description": "Part of the template name or a tag.",
      "type": "string"
    },
    "startindex": {
      "description": "First row (1-based, default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "maxrows": {
      "description": "Rows per page (max 500).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 500
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_get_message_status(ids)

Get the delivery status of one or more sent messages by their comma-separated ids. API: GET /api/v1/message/status.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "ids": {
      "description": "Comma-separated message ids.",
      "type": "string",
      "minLength": 1
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_get_import_status(sessionId)

Get the status of a contact import started through the API, by its session id (returned by the import call). API: GET /api/v1/importstatus/{sessionId}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "sessionId": {
      "type": "string",
      "minLength": 1,
      "description": "Import session id."
    }
  },
  "required": [
    "sessionId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_list_address_books

List the address books (contact catalogs) with their field groups. API: GET /api/v1/addressbooks.

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢esputnik_list_additional_fields

List the custom contact fields of the organisation, grouped by field list. Use the field ids in contact writes. API: GET /api/v1/additionalfields.

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴esputnik_upsert_contacts(contacts, dedupeOn, fieldId, contactFields, customFieldsIDs, ...)

Create or update contacts in bulk. dedupeOn decides which field finds an existing contact; that field is not updated. A contact with externalCustomerId is matched on it and dedupeOn is ignored. Requests above 200 per second get HTTP 429. Changes contact data: confirm with the user first. After an unclear reply, check the contacts before a retry. API: POST /api/v1/contacts.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "contacts": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "description": "eSputnik contact id (use with dedupeOn id).",
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "externalCustomerId": {
            "description": "Your own customer id.",
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "channels": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "email",
                    "sms",
                    "viber",
                    "mobilepush",
                    "webpush",
                    "appinbox",
                    "widget",
                    "inapp",
                    "telegrambot"
                  ]
                },
                "value": {
                  "type": "string",
                  "description": "Email address, phone number or push token."
                }
              },
              "required": [
                "type",
                "value"
              ]
            }
          },
          "languageCode": {
            "description": "Language code, for example en.",
            "type": "string"
          },
          "timeZone": {
            "description": "TZ database name, for example Europe/Prague.",
            "type": "string"
          },
          "addressBookId": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        }
      },
      "description": "Contacts to create or update."
    },
    "dedupeOn": {
      "type": "string",
      "enum": [
        "email",
        "sms",
        "push",
        "email_or_sms",
        "id",
        "externalCustomerId",
        "fieldId"
      ],
      "description": "Field that finds an existing contact. That field is not updated."
    },
    "fieldId": {
      "description": "Custom field id, used when dedupeOn is fieldId.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "contactFields": {
      "description": "Contact fields to update. Without it, eSputnik updates ALL fields and blanks those missing here (sets them to null).",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "customFieldsIDs": {
      "description": "Custom field ids to update. Required when existing contacts are updated.",
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": -9007199254740991,
        "maximum": 9007199254740991
      }
    },
    "groupNames": {
      "description": "Segment names to add the contacts to.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "groupNamesExclude": {
      "description": "Segment names to exclude the contacts from.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "restoreDeleted": {
      "description": "Restore contacts that were deleted before.",
      "type": "boolean"
    },
    "eventKeyForNewContacts": {
      "description": "Event type key. An event is generated per new contact. An unknown key creates a new event type in the account.",
      "type": "string",
      "maxLength": 100
    }
  },
  "required": [
    "contacts",
    "dedupeOn"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet22 Tools