Skip to main content
Glama

send_image_as_user

Send an image to a chat as the logged-in user using a previously uploaded image key. Requires chat ID and image key.

Instructions

[User Identity, v1.3.9] Send an image as the logged-in user (NOT bot). Requires image_key from a prior upload_image call. Cookie-protobuf wire format requires both imageKey + thumbnailKey — when no separate thumbnail is provided, plugin defaults thumbnailKey to imageKey (Feishu accepts this for messenger-uploaded images). Width/height/mime/size are optional metadata; Feishu auto-derives display sizing on its side.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesTarget chat ID. Numeric preferred; oc_xxx is auto-resolved (v1.3.7 C1.4).
image_keyYesImage key from upload (img_v2_xxx or img_v3_xxx)
thumbnail_keyNoOptional separate thumbnail image key. Defaults to image_key when omitted.
widthNoOptional image width in pixels.
heightNoOptional image height in pixels.
mimeNoOptional MIME type (e.g. "image/png").
sizeNoOptional file size in bytes.
root_idNoThread root message ID (optional)
Behavior4/5

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

Discloses internal wire format and auto-deriving of display sizing; no annotations present, so description carries burden. Doesn't cover permissions or error cases, but adds technical detail beyond schema.

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

Conciseness3/5

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

Three sentences with version header; front-loaded with identity but includes internal details. Could be trimmed slightly without losing meaning.

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?

No output schema, and description does not mention return values or success/error indicators. Adequate for usage but missing post-call behavior.

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

Parameters4/5

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

Adds context: chat_id numeric preferred, thumbnail defaults to image_key, width/height/mime/size optional metadata. All parameters have schema descriptions, but description enriches them.

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

Purpose5/5

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

The description clearly states 'Send an image as the logged-in user (NOT bot)' with specific verb and resource, and distinguishes from sending messages as bot or other file types.

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

Usage Guidelines4/5

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

Explicitly requires image_key from a prior upload_image call, and explains thumbnail key defaulting. Does not explicitly list when not to use, but context implies user vs bot distinction via sibling tool names.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EthanQC/feishu-user-plugin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server