Skip to main content
Glama
zalo-mcp
by nhminhhh

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ZALO_APP_IDNoZalo App ID (required for OAuth v4 token refresh). Required together with ZALO_OA_REFRESH_TOKEN and ZALO_APP_SECRET when ZALO_OA_ACCESS_TOKEN is not provided.
ZALO_APP_SECRETNoZalo App Secret (required for OAuth v4 token refresh). Required together with ZALO_OA_REFRESH_TOKEN and ZALO_APP_ID when ZALO_OA_ACCESS_TOKEN is not provided.
ZALO_API_BASE_URLNoOA API base URL.https://openapi.zalo.me
ZALO_OAUTH_BASE_URLNoOAuth v4 base URL.https://oauth.zaloapp.com
ZALO_OA_ACCESS_TOKENNoZalo OA v2/v3 & ZNS access token. Can be omitted if all three OAuth v4 refresh variables (ZALO_OA_REFRESH_TOKEN, ZALO_APP_ID, ZALO_APP_SECRET) are provided.
ZALO_OA_REFRESH_TOKENNoOAuth v4 refresh token for automatic access-token renewal. Required together with ZALO_APP_ID and ZALO_APP_SECRET when ZALO_OA_ACCESS_TOKEN is not provided.
ZALO_REQUEST_TIMEOUT_MSNoHTTP request timeout in milliseconds.15000
ZALO_BUSINESS_API_BASE_URLNoZNS Business API base URL.https://business.openapi.zalo.me

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
zalo_get_oa_infoB

Retrieve profile information for the authenticated Zalo Official Account (OA), including OA ID, name, verification status, category, and follower count.

zalo_refresh_tokenA

Refresh the Zalo OA access token using OAuth v4. Uses ZALO_OA_REFRESH_TOKEN by default or an optional refresh_token override.

zalo_send_text_messageC

Send a customer service (CS) text message to a Zalo user via Official Account v3.0.

zalo_send_image_messageB

Send an image message to a Zalo user using either an uploaded attachment_id or a public image URL.

zalo_send_file_messageA

Send a file attachment message to a Zalo user using a file token from zalo_upload_file.

zalo_send_template_messageC

Send a structured interactive list or button template message to a Zalo user.

zalo_send_transaction_messageB

Send an official transaction notification message (order, billing, shipping, etc.) via OA v3.0.

zalo_send_promotion_messageC

Send a promotional message to a follower via OA v3.0.

zalo_get_followersA

List followers of the Zalo Official Account with pagination and optional tag filtering.

zalo_get_follower_profileB

Get detailed profile information for a Zalo OA follower by user_id.

zalo_update_follower_infoC

Update CRM/contact metadata for a Zalo OA follower (name, phone, address, city, district).

zalo_list_tagsB

List all follower tags configured in the Zalo Official Account.

zalo_tag_followerC

Assign a tag to a Zalo OA follower.

zalo_untag_followerC

Remove a tag from a Zalo OA follower.

zalo_remove_tagB

Delete a tag completely from the Zalo Official Account.

zalo_list_recent_chatsC

List recent conversations on the Zalo Official Account.

zalo_get_conversationB

Retrieve message history between the Zalo Official Account and a specific user.

zalo_upload_imageA

Upload a local image file (JPG/PNG, max 1MB) to Zalo OA and receive an attachment_id.

zalo_upload_fileB

Upload a local document/file (PDF, DOC, DOCX, max 5MB) to Zalo OA and receive a file token.

zalo_upload_gifA

Upload a local GIF file (max 5MB) to Zalo OA and receive an attachment_id.

zalo_get_articlesB

List articles published or drafted on the Zalo Official Account.

zalo_get_article_detailB

Get full details of a Zalo OA article by its article ID.

zalo_create_articleC

Create a new normal article on the Zalo Official Account.

zalo_remove_articleC

Delete an article from the Zalo Official Account by ID.

zalo_zns_send_messageC

Send a Zalo Notification Service (ZNS) template message to a recipient phone number (format: 84xxxxxxxxx).

zalo_zns_list_templatesA

List available Zalo Notification Service (ZNS) templates with pagination and status filtering.

zalo_zns_get_template_infoB

Get detailed schema, required parameters, and pricing for a specific ZNS template.

zalo_zns_get_message_statusB

Check delivery status of a previously sent ZNS message.

Prompts

Interactive templates invoked by user choice

NameDescription
zalo_draft_customer_replyDraft a polite, context-aware customer support response for a Zalo OA conversation.
zalo_zns_campaign_checkInspect ZNS templates and prepare a parameter-validated ZNS notification payload.

Resources

Contextual data attached and managed by the client

NameDescription
oa-profileLive profile metadata for the authenticated Zalo Official Account.
oa-tagsAll follower segmentation tags configured on the Zalo Official Account.
zns-templatesCatalog of Zalo Notification Service (ZNS) templates.

TDQS

B3.1/5.0

Scored across 28 tools

Disambiguation4/5

Most tools map to a distinct resource and action, such as articles, followers, tags, chats, uploads, and OA info. The main ambiguity is among the six send_* OA message tools and ZNS vs OA template messaging, where an agent must read descriptions to choose correctly.

Naming Consistency4/5

All names are snake_case with a zalo_ prefix and generally follow verb_noun order. Minor deviations include collection retrieval using both get_* (get_followers, get_articles) and list_* (list_tags, list_recent_chats), plus the zalo_zns_ sub-prefix.

Tool Count2/5

28 tools is above the comfortable range and creates noticeable selection overhead for an agent. The set is logically grouped by OA subdomain, so most tools earn their place, but the raw count is still heavy.

Completeness4/5

The surface covers article creation/listing/detail/deletion, ZNS messaging, CS messaging, follower management, tags, chats, uploads, and token refresh. Minor gaps remain: no article update/edit operation and no tag creation endpoint, though agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues