Skip to main content
Glama

get_message_image

Retrieve an image from a LINE chat message by its message ID so AI can view the picture directly.

Instructions

ดึงรูปภาพจากข้อความที่มี ID ระบุ เพื่อให้ AI มองเห็นรูปภาพนั้นโดยตรง

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatMidYesMID ของห้องแชท
messageIdYesID ของข้อความที่เป็นรูปภาพ

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does add one meaningful behavioral fact: the tool returns something the model can observe visually, not just a file path. It omits error behavior (non-image message, missing image), size/format limits, and permission needs.

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 that names the resource and the ID-based lookup with no padding. It is efficient, though very brief for a tool with zero annotation support.

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?

For a 2-parameter read tool with no output schema and no annotations, the description covers the core purpose but leaves return format and failure modes unstated. It is minimally sufficient rather than complete.

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% with both chatMid and messageId documented in the schema, so the baseline is 3. The description adds no format or syntax detail beyond what the schema already provides.

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?

States a specific verb and resource: fetching the image from a message identified by ID, and adds the intent (so the AI can view it directly). This distinguishes it reasonably from download_message_file and send_image, though it never names those siblings explicitly.

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 phrase 'so the AI can see the image directly' implies the use case (vision/inspection rather than saving a file), but there is no explicit when-to-use guidance and no comparison against download_message_file, which an agent could easily confuse it with.

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