Skip to main content
Glama
zalo-mcp
by nhminhhh

zalo_zns_send_message

Send a Zalo Notification Service (ZNS) template message to a recipient phone number. Use it to deliver transactional or service notifications through an approved template.

Instructions

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "phone": "<phone>",
      "template_id": "<template_id>",
      "template_data": "<template_data>"
    },
    "name": "zalo_zns_send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoSet to 'development' to test without charging quota (only works for OA admins)
phoneYesRecipient phone number in international format without + (e.g. 84912345678)
template_idYesApproved ZNS template ID
tracking_idNoOptional client tracking ID for reconciliation
template_dataYesKey-value parameters required by the ZNS template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden, yet it discloses almost nothing beyond the send action. It does not mention quota charging (the dev mode hint lives only in the schema), idempotency, delivery behavior, or what happens on invalid/unregistered numbers—despite quota cost being the key operational risk for this tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single tight sentence with no waste and the resource front-loaded. It is efficient, though the brevity is partly the cause of the missing guidance rather than a virtue in itself.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 5 parameters, a nested template_data object, an enum mode, and no annotations or output schema, the definition is thin on the operational side. The schema fills in parameter details well, but an agent gets no signal about quota cost, template approval requirements, or failure modes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3; every parameter including mode, tracking_id, and template_data is already documented in the schema. The description only reinforces the phone format and adds no meaning beyond it, such as how template_data keys must match the approved template.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Send a Zalo Notification Service (ZNS) template message') and includes the recipient format, distinguishing it from siblings like zalo_send_text_message or zalo_send_promotion_message by channel type. It does not explicitly name the sibling alternatives to contrast with, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no prerequisites such as needing an approved template or OA credentials are mentioned. The agent must infer that this is the ZNS channel rather than the regular Zalo message tools from the name and acronym alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.