Skip to main content
Glama
zalo-mcp
by nhminhhh

zalo_send_transaction_message

Sends official Zalo OA transaction notifications for orders, billing, shipping, rewards, bookings, and accounts to a user via a selected template and elements.

Instructions

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

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": {
      "user_id": "<user_id>",
      "template_type": "<template_type>",
      "elements": "<elements>"
    },
    "name": "zalo_send_transaction_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
buttonsNoOptional action buttons
user_idYesRecipient Zalo user_id
elementsYesTransaction template elements
languageNoTemplate languageVI
template_typeYesZalo transaction template type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/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 only says 'official transaction notification ... via OA v3.0'. It does not mention that a pre-approved template type is required, whether sending is subject to OA quota/rate limits, whether delivery is synchronous, or what happens on failure.

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 front-loaded sentence with no filler; the action and channel ('via OA v3.0') come first. It is efficient, though it is arguably too terse for a send operation.

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

Completeness2/5

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

For a messaging send tool with no annotations and no output schema, the description omits template-registration requirements, quota behavior, and error outcomes that an agent needs before invoking it. The rich schema compensates for parameter detail but not for operational behavior.

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 all five parameters (user_id, template_type, elements, language, buttons) are already documented in the schema. The description adds only the general framing that the message is transactional, which loosely maps to the template_type enum but adds no syntax or constraint detail.

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 an official transaction notification message') and scopes it with examples (order, billing, shipping). It implies a distinction from the promotion/template siblings via the word 'transaction' but never names an alternative, so it is clear without being fully differentiating.

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

Usage Guidelines3/5

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

Usage is only implied: the parenthetical examples suggest this is for transactional notifications rather than marketing. There is no explicit statement of when to choose this over zalo_send_promotion_message, zalo_send_template_message, or zalo_zns_send_message, and no exclusions or prerequisites.

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