Gallabox MCP by usefulapi
Read contacts, templates and message status; send WhatsApp messages in Gallabox.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen gallabox_list_whatsapp_templates
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"gallabox": {
"url": "https://gallabox.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://gallabox.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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).
Esquema de entrada
{
"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.
Esquema de entrada
{
"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=.
Esquema de entrada
{
"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}.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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}.
Esquema de entrada
{
"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).
Esquema de entrada
{
"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).
Esquema de entrada
{
"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.
Esquema de entrada
{
"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"
}Comunidad
Evidencia