Skip to main content
Glama
eyalbarash
by eyalbarash

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CIGCHAT_RPSNoClient-side request rate limit.5
CIGCHAT_ALLOWNoWhich risk tiers to expose: read,write,send,broadcast,destructive.all tiers
CIGCHAT_DRY_RUNNotrue makes every write a no-op that echoes the request.false
CIGCHAT_BASE_URLNoOverride the API base URL.https://app.cig.chat/api
CIGCHAT_TOOLSETSNoWhich toolsets to expose: all, dynamic, or comma-separated list of toolset ids.all
CIGCHAT_API_TOKENYesRequired. Your bot-scoped token.
CIGCHAT_MAX_RETRIESNoRetry attempts for rate limits and server errors.3
CIGCHAT_CONFIRM_TIERSNoWhich tiers require a confirmation token.broadcast,destructive
CIGCHAT_MAX_RESPONSE_CHARSNoTruncate long responses instead of flooding context.20000
CIGCHAT_MAX_BROADCAST_RECIPIENTSNoRefuse broadcasts above this audience size.0

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
cigchat_whoamiA

Verify the configured cig.chat API token and return the account it belongs to. Call this first when anything returns 401, or to confirm which bot you are connected to. Remember: one token controls exactly one bot. [GET /me]

cigchat_resolveA

Look up the namespace id for a tag, flow, field, segment, agent or other entity by name — or list what is available. cig.chat identifies most things by opaque ids like "f123t456". Most tools accept a plain name and resolve it for you; use this when you want to show the human the available options, or to disambiguate when a name matched more than one thing.

cigchat_list_toolsetsA

List every toolset this server can expose, how many tools each holds, and whether it is currently enabled. Use this when a tool you expected is missing — the toolset may be off.

cigchat_enable_toolsetA

Switch a toolset on for the rest of this session, making its tools available immediately. Use after cigchat_list_toolsets shows the one you need is disabled.

cigchat_describe_whatsapp_templateA

Look up a WhatsApp template by name and return the variable keys it expects, its namespace and its language. Call this BEFORE cigchat_send_whatsapp_template or cigchat_broadcast_whatsapp_template_by_tag so you send the right variables — a template sent with wrong or missing keys is rejected, and for broadcasts that is an expensive way to find out. [POST /whatsapp-template/list]

cigchat_describe_fb_utility_templateA

Look up a Facebook utility message template by name and return the variable keys it expects, its namespace and its language. Call this BEFORE cigchat_send_fb_utility_template or cigchat_broadcast_fb_utility_template_by_tag so you send the right variables — a template sent with wrong or missing keys is rejected, and for broadcasts that is an expensive way to find out. [POST /facebook-utility-message-template/list]

cigchat_announcements_readB

Mark announcement as read [POST /announcements/read]

cigchat_broadcast_by_segmentA

Broadcast sub flow by segments, available types: EMAIL,SMS,WHATSAPP_TEMPLATE,FACEBOOK_NOTIFICATION [POST /subscriber/broadcast-by-segment] DANGEROUS: sends to many subscribers at once, costs money and cannot be undone. Call once without confirm to get an audience estimate, show it to the human, and only then re-call with the confirmation token. Requires the "Manage Flow" scope on the token.

cigchat_broadcast_by_tagA

Broadcast sub flow by tags, available types: EMAIL,SMS,WHATSAPP_TEMPLATE,FACEBOOK_NOTIFICATION [POST /subscriber/broadcast-by-tag] DANGEROUS: sends to many subscribers at once, costs money and cannot be undone. Call once without confirm to get an audience estimate, show it to the human, and only then re-call with the confirmation token. Requires the "Manage Flow" scope on the token.

cigchat_broadcast_by_user_idA

Broadcast sub flow by user ids, available types: EMAIL,SMS,WHATSAPP_TEMPLATE,FACEBOOK_NOTIFICATION [POST /subscriber/broadcast-by-user-id] DANGEROUS: sends to many subscribers at once, costs money and cannot be undone. Call once without confirm to get an audience estimate, show it to the human, and only then re-call with the confirmation token. Requires the "Manage Flow" scope on the token.

cigchat_broadcast_fb_utility_template_by_tagA

Broadcast Facebook utility message template by tags [POST /subscriber/broadcast-facebook-utility-message-template-by-tag] DANGEROUS: sends to many subscribers at once, costs money and cannot be undone. Call once without confirm to get an audience estimate, show it to the human, and only then re-call with the confirmation token. Requires the "Manage Flow" scope on the token.

cigchat_broadcast_fb_utility_template_by_user_idA

Broadcast Facebook utility message template by user ids [POST /subscriber/broadcast-facebook-utility-message-template-by-user-id] DANGEROUS: sends to many subscribers at once, costs money and cannot be undone. Call once without confirm to get an audience estimate, show it to the human, and only then re-call with the confirmation token. Requires the "Manage Flow" scope on the token.

cigchat_broadcast_to_listA

Broadcast sub flow by user ns list, available types: EMAIL,SMS,WHATSAPP_TEMPLATE,FACEBOOK_NOTIFICATION [POST /subscriber/broadcast] DANGEROUS: sends to many subscribers at once, costs money and cannot be undone. Call once without confirm to get an audience estimate, show it to the human, and only then re-call with the confirmation token. Requires the "Manage Flow" scope on the token.

cigchat_broadcast_whatsapp_template_by_tagA

Broadcast whatsapp template by tags, you can find the namespace, name, lang, params from /api/whatapp-template/list, use use_default_values or params for wa_template [POST /subscriber/broadcast-whatsapp-template-by-tag] DANGEROUS: sends to many subscribers at once, costs money and cannot be undone. Call once without confirm to get an audience estimate, show it to the human, and only then re-call with the confirmation token. Requires the "Manage Flow" scope on the token.

cigchat_broadcast_whatsapp_template_by_user_idA

Broadcast whatsapp template by user ids, you can find the namespace, name, lang, params from /api/whatapp-template/list, use use_default_values or params for wa_template [POST /subscriber/broadcast-whatsapp-template-by-user-id] DANGEROUS: sends to many subscribers at once, costs money and cannot be undone. Call once without confirm to get an audience estimate, show it to the human, and only then re-call with the confirmation token. Requires the "Manage Flow" scope on the token.

cigchat_clear_integration_ainventedA

Clear the config of Ainvented integration [DELETE /integration/ainvented] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Team" scope on the token.

cigchat_clear_integration_caludeA

Clear the config of CaludeAi integration [DELETE /integration/calude] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Team" scope on the token.

cigchat_clear_integration_dropiA

Clear the config of Dropi integration [DELETE /integration/dropi] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Team" scope on the token.

cigchat_clear_integration_meta_conversions_apiA

Clear the config of Meta Conversions Api integration [DELETE /integration/meta-conversions-api] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Team" scope on the token.

cigchat_clear_integration_openaiA

Clear the config of OpenAi integration [DELETE /integration/openai] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Team" scope on the token.

cigchat_clear_integration_s3storageA

Clear the config of S3 Storage integration [DELETE /integration/s3storage] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Team" scope on the token.

cigchat_clear_integration_shopifyA

Clear the config of shopify integration [DELETE /integration/shopify] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Team" scope on the token.

cigchat_clear_integration_woocommerceA

Clear the config of WooCommerce integration [DELETE /integration/woocommerce] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Team" scope on the token.

cigchat_clear_integration_xaiA

Clear the config of XAi integration [DELETE /integration/xai] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Team" scope on the token.

cigchat_create_product_tagB

Create new tag [POST /shop/product-tags/create] Requires the "Manage Team" scope on the token.

cigchat_delete_product_tagA

Delete tag [DELETE /shop/product-tags/{tagId}/delete] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Team" scope on the token.

cigchat_facebook_utility_message_template_createB

Create Facebook utility message template [POST /facebook-utility-message-template/create] Requires the "Manage Flow" scope on the token.

cigchat_facebook_utility_message_template_deleteA

Delete Facebook utility message template [DELETE /facebook-utility-message-template/delete] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Flow" scope on the token.

cigchat_facebook_utility_message_template_listA

List Facebook utility message templates [POST /facebook-utility-message-template/list] Requires the "Manage Flow" scope on the token.

cigchat_facebook_utility_message_template_syncC

Sync Facebook utility message templates [POST /facebook-utility-message-template/sync] Requires the "Manage Flow" scope on the token.

cigchat_flow_agent_activity_log_dataA

Get the flow agent activity log data [GET /flow/agent-activity-log/data] Requires the "Manage Flow" scope on the token.

cigchat_flow_agent_summaryC

Get the flow agent summary [GET /flow-agent-summary] Requires the "Manage Team" scope on the token.

cigchat_flow_agentsB

Get list of agents [GET /flow/agents] Requires the "Manage Flow" scope on the token.

cigchat_flow_ai_agent_infoA

View Ai Agent details, including description, prompts, ai function list and more [POST /flow/ai-agent-info] Requires the "Manage Flow" scope on the token.

cigchat_flow_ai_agentsB

Get list of ai agents by flow [GET /flow/ai-agents] Requires the "Manage Flow" scope on the token.

cigchat_flow_ai_task_infoA

View Ai Task details [POST /flow/ai-task-info] Requires the "Manage Flow" scope on the token.

cigchat_flow_ai_tasksA

Get list of ai tasks by flow [GET /flow/ai-tasks] Requires the "Manage Flow" scope on the token.

cigchat_flow_bot_fieldsA

Get list of bot fields by flow [GET /flow/bot-fields] Requires the "Manage Flow" scope on the token.

cigchat_flow_bot_users_countB

Get count of bot users status [GET /flow/bot-users-count] Requires the "Manage Flow" scope on the token.

cigchat_flow_chat_button_widgetsA

Get list of chat button widgets [GET /flow/chat-button-widgets] Requires the "Manage Flow" scope on the token.

cigchat_flow_conversations_dataA

Get the flow conversation data, only return the closed conversations [GET /flow/conversations/data] Requires the "Manage Flow" scope on the token.

cigchat_flow_create_bot_fieldC

create new bot field [POST /flow/create-bot-field] Requires the "Manage Flow" scope on the token.

cigchat_flow_create_closing_noteA

Create a closing note for the current flow [POST /flow/create-closing-note] Requires the "Manage Flow" scope on the token.

cigchat_flow_create_shortcutB

Create a shortcut for the current flow [POST /flow/create-shortcut] Requires the "Manage Flow" scope on the token.

cigchat_flow_create_tagC

create new tag [POST /flow/create-tag] Requires the "Manage Flow" scope on the token.

cigchat_flow_create_user_fieldA

create new user field [POST /flow/create-user-field] Requires the "Manage Flow" scope on the token.

cigchat_flow_custom_events_dataB

Get the flow custom event data [GET /flow/custom-events/data] Requires the "Manage Flow" scope on the token.

cigchat_flow_custom_events_summaryB

Get the flow custom event summary [GET /flow/custom-events/summary] Requires the "Manage Flow" scope on the token.

cigchat_flow_delete_bot_fieldA

Delete bot field [DELETE /flow/delete-bot-field] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Flow" scope on the token.

cigchat_flow_delete_bot_field_by_nameA

Delete bot field by name [DELETE /flow/delete-bot-field-by-name] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Flow" scope on the token.

cigchat_flow_delete_closing_noteA

Delete a closing note from the current flow [DELETE /flow/delete-closing-note] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Flow" scope on the token.

cigchat_flow_delete_shortcutA

Delete a shortcut from the current flow [DELETE /flow/delete-shortcut] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Flow" scope on the token.

cigchat_flow_delete_sub_flowA

Delete sub flow [DELETE /flow/delete-sub-flow] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Flow" scope on the token.

cigchat_flow_delete_tagA

Delete tag [DELETE /flow/delete-tag] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Flow" scope on the token.

cigchat_flow_delete_tag_by_nameA

Delete tag by tag name [DELETE /flow/delete-tag-by-name] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Flow" scope on the token.

cigchat_flow_delete_user_fieldA

Delete user field [DELETE /flow/delete-user-field] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Flow" scope on the token.

cigchat_flow_delete_user_field_by_nameA

Delete user field by name [DELETE /flow/delete-user-field-by-name] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Flow" scope on the token.

cigchat_flow_inbound_webhooksA

Get list of inbound webhooks by flow [GET /flow/inbound-webhooks] Requires the "Manage Flow" scope on the token.

cigchat_flow_set_bot_fieldC

update bot field value [PUT /flow/set-bot-field] Requires the "Manage Flow" scope on the token.

cigchat_flow_set_bot_field_by_nameA

update bot field value by bot field name [PUT /flow/set-bot-field-by-name] Requires the "Manage Flow" scope on the token.

cigchat_flow_set_bot_fieldsA

update multiple bot fields value, up to 20 bot fields [PUT /flow/set-bot-fields] Requires the "Manage Flow" scope on the token.

cigchat_flow_set_bot_fields_by_nameA

update multiple bot fields value by field name, up to 20 bot fields [PUT /flow/set-bot-fields-by-name] Requires the "Manage Flow" scope on the token.

cigchat_flow_set_default_start_flowA

Set default bot start flow, use main to reset the start flow to main flow [POST /flow/set-default-start-flow] Requires the "Manage Flow" scope on the token.

cigchat_flow_set_web_chat_widget_default_start_flowA

Set default start flow for web chat widget, use main to set the start flow to main flow [POST /flow/set-web-chat-widget-default-start-flow] Requires the "Manage Flow" scope on the token.

cigchat_flow_settings_get_default_ai_providerA

Get default ai provider and model, available ai_provider: openai, deepseek, xai, claude, gemini, groq, ainvented [GET /flow/settings/get-default-ai-provider] Requires the "Manage Flow" scope on the token.

cigchat_flow_settings_set_audio_transcriptionA

Set audio transcription, available values: none,whisper-1,gpt-4o-transcribe,gpt-4o-mini-transcribe,whisper-large-v3-turbo,gemini-2.5-flash,gemini-3-flash-preview [POST /flow/settings/set-audio-transcription] Requires the "Manage Flow" scope on the token.

cigchat_flow_settings_set_default_ai_providerA

Set default ai provider and model, available ai_provider: openai, deepseek, xai, claude, gemini, groq, ainvented [POST /flow/settings/set-default-ai-provider] Requires the "Manage Flow" scope on the token.

cigchat_flow_summaryB

Get the flow summary [GET /flow-summary] Requires the "Manage Team" scope on the token.

cigchat_flow_template_installsA

Get list of template installs in this flow [GET /flow/template-installs] Requires the "Manage Flow" scope on the token.

cigchat_flow_update_ai_agent_providerA

update Ai Agent provider and model, available ai_provider: openai, openai-responses, deepseek, xai, xai-responses, claude, gemini, groq, ainvented [POST /flow/update-ai-agent-provider] Requires the "Manage Flow" scope on the token.

cigchat_flow_update_ai_task_providerA

update Ai Task provider and model, available ai_provider: openai, deepseek, xai, claude, gemini, groq, ainvented [POST /flow/update-ai-task-provider] Requires the "Manage Flow" scope on the token.

cigchat_flow_update_closing_noteA

Update a closing note in the current flow [PUT /flow/update-closing-note] Requires the "Manage Flow" scope on the token.

cigchat_flow_update_shortcutB

Update a shortcut in the current flow [PUT /flow/update-shortcut] Requires the "Manage Flow" scope on the token.

cigchat_flow_update_user_fieldA

Update user field name or display_type [POST /flow/update-user-field] Requires the "Manage Flow" scope on the token.

cigchat_flow_user_fieldsA

Get list of user fields by flow [GET /flow/user-fields] Requires the "Manage Flow" scope on the token.

cigchat_get_closing_noteB

Get a closing note from the current flow [GET /flow/closing-notes/{id}] Requires the "Manage Flow" scope on the token.

cigchat_get_integration_ainventedA

Get the config of Ainvented integration [GET /integration/ainvented] Requires the "Manage Team" scope on the token.

cigchat_get_integration_dropiA

Get the config of Dropi integration [GET /integration/dropi] Requires the "Manage Team" scope on the token.

cigchat_get_integration_meta_conversions_apiA

Get the config of Meta Conversions Api integration [GET /integration/meta-conversions-api] Requires the "Manage Team" scope on the token.

cigchat_get_integration_openaiA

Get the config of OpenAi integration [GET /integration/openai] Requires the "Manage Team" scope on the token.

cigchat_get_integration_s3storageA

Get the config of S3 Storage integration [GET /integration/s3storage] Requires the "Manage Team" scope on the token.

cigchat_get_integration_shopifyA

Get the config of shopify integration [GET /integration/shopify] Requires the "Manage Team" scope on the token.

cigchat_get_integration_woocommerceA

Get the config of WooCommerce integration [GET /integration/woocommerce] Requires the "Manage Team" scope on the token.

cigchat_get_integration_xaiA

Get the config of XAi integration [GET /integration/xai] Requires the "Manage Team" scope on the token.

cigchat_get_product_tagA

Get tag info [GET /shop/product-tags/{tagId}/get-info] Requires the "Manage Team" scope on the token.

cigchat_get_shortcutA

Get a shortcut from the current flow [GET /flow/shortcuts/{id}] Requires the "Manage Flow" scope on the token.

cigchat_get_subscriberB

Get subscriber info [GET /subscriber/get-info] Requires the "Manage Flow" scope on the token.

cigchat_get_subscriber_by_user_idA

Get subscriber info by user unique id from channel, e.g. Facebook user id, WhatsApp user id, WeChat user id... [GET /subscriber/get-info-by-user-id] Requires the "Manage Flow" scope on the token.

cigchat_installed_mini_app_listA

Get the list of installed mini apps [GET /installed-mini-app/list] Requires the "Manage Team" scope on the token.

cigchat_installed_mini_app_update_api_keyA

Update the config of Installed mini app, only for the mini app with auth type apikey [POST /installed-mini-app/update-api-key/{app_id}] Requires the "Manage Team" scope on the token.

cigchat_integration_claudeA

Get the config of CaludeAi integration [GET /integration/claude] Requires the "Manage Team" scope on the token.

cigchat_list_closing_notesA

Get closing notes for the current flow [GET /flow/closing-notes] Requires the "Manage Flow" scope on the token.

cigchat_list_custom_eventsB

Get list of custom events by flow [GET /flow/custom-events] Requires the "Manage Flow" scope on the token.

cigchat_list_discount_codesB

Get list of discount codes [GET /shop/discount-codes] Requires the "Manage Team" scope on the token.

cigchat_list_ordersB

Get list of orders [GET /shop/orders] Requires the "Manage Team" scope on the token.

cigchat_list_product_tagsA

Get list of product tags [GET /shop/product-tags] Requires the "Manage Team" scope on the token.

cigchat_list_product_typesA

Get list of product types [GET /shop/product-types] Requires the "Manage Team" scope on the token.

cigchat_list_product_vendorsA

Get list of product vendors [GET /shop/product-vendors] Requires the "Manage Team" scope on the token.

cigchat_list_productsA

Get list of products [GET /shop/products] Requires the "Manage Team" scope on the token.

cigchat_list_segmentsA

Get list of segments by flow [GET /flow/segments] Requires the "Manage Flow" scope on the token.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
cigchat-tagsAll tags in this bot as {name, ns} pairs.
cigchat-user_fieldsAll user_fields in this bot as {name, ns} pairs.
cigchat-bot_fieldsAll bot_fields in this bot as {name, ns} pairs.
cigchat-flowsAll flows in this bot as {name, ns} pairs.
cigchat-segmentsAll segments in this bot as {name, ns} pairs.
cigchat-custom_eventsAll custom_events in this bot as {name, ns} pairs.
cigchat-ai_agentsAll ai_agents in this bot as {name, ns} pairs.
cigchat-ai_tasksAll ai_tasks in this bot as {name, ns} pairs.
cigchat-agentsAll agents in this bot as {name, ns} pairs.
cigchat-agent_groupsAll agent_groups in this bot as {name, ns} pairs.
cigchat-labelsAll labels in this bot as {name, ns} pairs.
cigchat-productsAll products in this bot as {name, ns} pairs.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eyalbarash/cig-chat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server