Gallabox MCP by usefulapi
Read contacts, templates and message status; send WhatsApp messages in Gallabox.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin gallabox_list_whatsapp_templates
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
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": {
"gallabox": {
"url": "https://gallabox.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://gallabox.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (12)
🟢gallabox_list_users(limit)
List the people on the account with availability and team ids, and the WhatsApp channelIds each one can use. Use it to find a channelId before sending. API: GET /accounts/{accountId}/users.
Eingabe-Schema
{
"type": "object",
"properties": {
"limit": {
"description": "Results per page (1-100).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gallabox_list_webhooks
List the webhooks of the configured account: event names, target URL, enabled state and failure count. API: GET /webhooks (filtered to the account).
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gallabox_search_contacts(search, limit, page)
Search contacts by name, phone or email text. Returns matching contacts with their phones, emails and tags. API: GET /accounts/{accountId}/contacts/search.
Eingabe-Schema
{
"type": "object",
"properties": {
"search": {
"type": "string",
"minLength": 1,
"description": "Text to search for."
},
"limit": {
"description": "Results per page (1-100).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"search"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gallabox_get_contact_by_phone(phone)
Find the contact that has this phone number, with its tags and opt-in state. API: GET /accounts/{accountId}/contacts?phone=.
Eingabe-Schema
{
"type": "object",
"properties": {
"phone": {
"type": "string",
"pattern": "^\\d{6,15}$",
"description": "Phone number in international format, digits only (e.g. 917825877730)."
}
},
"required": [
"phone"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gallabox_get_contact(contact_id)
Get one contact by id: name, phones, emails, tags and opt-in state. API: GET /accounts/{accountId}/contacts/{contactId}.
Eingabe-Schema
{
"type": "object",
"properties": {
"contact_id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Gallabox object id (24-character hex)."
}
},
"required": [
"contact_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴gallabox_add_contact(name, phone, email, tags)
Create a contact with a name, phone numbers, emails and tags. Creates a new record on each call. API: POST /accounts/{accountId}/contacts.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Contact name."
},
"phone": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{6,15}$",
"description": "Phone number in international format, digits only (e.g. 917825877730)."
},
"description": "One or more phone numbers, international digits only."
},
"email": {
"description": "Optional email addresses.",
"type": "array",
"items": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
},
"tags": {
"description": "Optional tag names to attach.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"name",
"phone"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gallabox_get_message_status(message_id)
Check the delivery status of a sent message. Use the message id returned when the message was sent. API: GET /accounts/{accountId}/messages/{messageId}/status.
Eingabe-Schema
{
"type": "object",
"properties": {
"message_id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Gallabox object id (24-character hex)."
}
},
"required": [
"message_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gallabox_list_whatsapp_templates
List the WhatsApp message templates on the account with their approval status, language and category. API: GET /accounts/{accountId}/whatsappTemplates.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gallabox_get_whatsapp_template(template_id)
Get one WhatsApp template in full, including its components and variables. Read it before sending a template message. API: GET /accounts/{accountId}/whatsappTemplates/{templateId}.
Eingabe-Schema
{
"type": "object",
"properties": {
"template_id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Gallabox object id (24-character hex)."
}
},
"required": [
"template_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴gallabox_send_text_message(channel_id, recipient_name, phone, text)
Send a plain text WhatsApp message to a phone number from a channel. Free text works only inside the customer's 24-hour session window; otherwise send a template. Sends to a real person: check the text first. API: POST /messages/whatsapp (type text).
Eingabe-Schema
{
"type": "object",
"properties": {
"channel_id": {
"type": "string",
"minLength": 1,
"description": "WhatsApp channel id (from gallabox_list_users → channelIds)."
},
"recipient_name": {
"type": "string",
"minLength": 1,
"description": "Recipient name, as it shows in the chat."
},
"phone": {
"type": "string",
"pattern": "^\\d{6,15}$",
"description": "Phone number in international format, digits only (e.g. 917825877730)."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4096,
"description": "Message text."
}
},
"required": [
"channel_id",
"recipient_name",
"phone",
"text"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴gallabox_send_template_message(channel_id, recipient_name, phone, template_name, body_values)
Send an approved WhatsApp template to a phone number. Works outside the 24-hour window. Read the variable names with gallabox_get_whatsapp_template first. Sends to a real person: check the values first. API: POST /messages/whatsapp (type template).
Eingabe-Schema
{
"type": "object",
"properties": {
"channel_id": {
"type": "string",
"minLength": 1,
"description": "WhatsApp channel id (from gallabox_list_users → channelIds)."
},
"recipient_name": {
"type": "string",
"minLength": 1,
"description": "Recipient name, as it shows in the chat."
},
"phone": {
"type": "string",
"pattern": "^\\d{6,15}$",
"description": "Phone number in international format, digits only (e.g. 917825877730)."
},
"template_name": {
"type": "string",
"minLength": 1,
"description": "Approved template name (from gallabox_list_whatsapp_templates)."
},
"body_values": {
"description": "Template variable values, keyed by variable name as the template defines it.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"channel_id",
"recipient_name",
"phone",
"template_name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡gallabox_resolve_conversation(conversation_id)
Mark a conversation as resolved (closed) in the inbox. API: POST /accounts/{accountId}/conversations/{conversationId}/resolve.
Eingabe-Schema
{
"type": "object",
"properties": {
"conversation_id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Gallabox object id (24-character hex)."
}
},
"required": [
"conversation_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis