Skip to main content
Glama
zalo-mcp
by nhminhhh

zalo_send_image_message

Send an image message to a Zalo user using an uploaded attachment ID or public image URL, with optional caption text.

Instructions

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

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>"
    },
    "name": "zalo_send_image_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoOptional caption text
user_idYesRecipient Zalo user_id
image_urlNoPublic image URL (used if attachment_id is omitted)
attachment_idNoZalo media attachment_id from zalo_upload_image

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses only the dual-source input mode. It says nothing about auth/permission requirements, rate limits, delivery semantics, or what happens on invalid or inaccessible image sources, which matters for a message-sending mutation.

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 well-formed sentence with the action front-loaded and no filler. It is arguably too terse given the tool's mutation semantics, but nothing in it is wasted.

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?

The schema is fully annotated and there is no output schema to explain, but only user_id is required, so an agent could legally omit both image_url and attachment_id — the description never states that at least one image source is mandatory. That omission plus the lack of send-outcome or failure context leaves it only adequate.

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 four parameters are already documented, including the attachment_id provenance from zalo_upload_image and the URL fallback rule. The description restates the same either/or relationship without adding format, size, or precedence detail beyond the schema.

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 image message to a Zalo user') and names the two accepted image sources, which implicitly separates it from the text and file message siblings. It does not explicitly contrast with zalo_send_file_message or zalo_send_text_message, so differentiation is left partly to inference.

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?

The 'either an uploaded attachment_id or a public image URL' clause gives useful selection guidance between the two input modes, effectively pointing the agent to zalo_upload_image first. However, there is no guidance on when to pick this tool over zalo_send_file_message or the template/transaction variants, and no stated prerequisites.

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