Skip to main content
Glama
zalo-mcp
by nhminhhh

zalo_upload_gif

Upload a local GIF file up to 5MB to Zalo OA and receive an attachment_id for use in Zalo messaging workflows.

Instructions

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

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": {
      "file_path": "<file_path>"
    },
    "name": "zalo_upload_gif"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute or relative path to the local GIF file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful behavioral facts beyond the schema: the 5MB size ceiling and the returned attachment_id, but it says nothing about auth requirements, network/upload failure behavior, or whether the returned ID expires.

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

Conciseness5/5

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

A single sentence that front-loads the action, embeds the key constraint, and states the return value. Nothing extraneous and nothing buried.

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

Completeness4/5

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

For a one-parameter upload tool with no output schema, the definition covers the input type, size limit, and return value, which is most of what an agent needs. It falls short only on operational context such as permissions or error conditions.

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?

There is only one parameter and the schema already documents it at 100% coverage ("Absolute or relative path to the local GIF file"). The description adds no detail about path resolution or remote-URL rejection, so the baseline 3 applies.

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 names a specific verb and resource ("Upload a local GIF file") plus the resulting artifact ("attachment_id"), so the operation is unambiguous. It does not explicitly contrast itself with sibling tools like zalo_upload_image or zalo_upload_file, though the GIF-only restriction implicitly scopes it.

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: an agent can infer this is the tool for GIFs rather than other media from the file-type constraint. There is no explicit statement of when to prefer this over zalo_upload_image/zalo_upload_file, nor any prerequisite or failure guidance.

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