Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

send_image

Sends an end-to-end encrypted image to a LINE chat, group, or room by encrypting and uploading it; requires a chat ID and one image source.

Instructions

Sends an E2EE image to a LINE conversation immediately (encrypt → upload to OBS → send). Works for 1:1/group/room; fails honestly if the key cannot be resolved or the upload is rejected. One send per call. Provide exactly one of image_path or image_base64.

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": {
      "chat_id": "<chat_id>"
    },
    "name": "send_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesLINE chat/group/room MID to send to, as returned by list_conversations.
image_pathNoLocal filesystem path to the image file. Mutually exclusive with image_base64.
image_base64NoBase64-encoded image bytes. Mutually exclusive with image_path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.7.2
    • removedInput schema / properties / chatId
      Removed value: -{
      -  "description": "LINE chat/group/room MID to send to, as returned by list_conversations.",
      -  "type": "string"
      -}
    • addedInput schema / properties / chat_id
      Added value: +{
      +  "description": "LINE chat/group/room MID to send to, as returned by list_conversations.",
      +  "type": "string"
      +}
    • removedInput schema / properties / imageBase64
      Removed value: -{
      -  "description": "Base64-encoded image bytes. Mutually exclusive with imagePath.",
      -  "type": "string"
      -}
    • removedInput schema / properties / imagePath
      Removed value: -{
      -  "description": "Local filesystem path to the image file. Mutually exclusive with imageBase64.",
      -  "type": "string"
      -}
    • addedInput schema / properties / image_base64
      Added value: +{
      +  "description": "Base64-encoded image bytes. Mutually exclusive with image_path.",
      +  "type": "string"
      +}
    • addedInput schema / properties / image_path
      Added value: +{
      +  "description": "Local filesystem path to the image file. Mutually exclusive with image_base64.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "chatId"
      -]New value: +[
      +  "chat_id"
      +]
  2. Addedv0.4.1
  3. Removedv0.3.0
  4. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the E2EE encryption/upload pipeline and that the call fails rather than silently degrading when the key can't be resolved or the upload is rejected. It still omits auth/permission requirements, size limits, and supported image formats.

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?

Three tight sentences: the action and pipeline come first, then the scope and failure behavior, then the parameter constraint. No filler 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 3-parameter mutation tool with no output schema and no annotations, the description covers what the tool does, its transport path, and its failure semantics. It leaves out what is returned on success (e.g., a message ID) and any size/format constraints, which an agent would likely want.

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 coverage is 100%, so the schema already documents chat_id, image_path, and image_base64, including their mutual exclusivity. The description's 'Provide exactly one of image_path or image_base64' reinforces the constraint but adds no syntax, format, or size detail beyond the schema — baseline 3.

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?

States a specific verb and resource ('Sends an E2EE image to a LINE conversation') plus the internal pipeline (encrypt → upload to OBS → send), which lets an agent distinguish it from send_file, send_video, and send_sticker without opening the schema.

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?

It says the tool works for 1:1/group/room and that there is one send per call, which implies repeated calls for batches, but it never names an alternative (e.g., send_file) or states when not to use it. Usage is implied rather than prescribed.

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