Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

send_video

Sends an end-to-end encrypted video immediately to a LINE chat, group, or room using a file path or Base64 data, with optional duration for the player scrubber.

Instructions

Sends an E2EE video to a LINE conversation immediately (same pipeline as send_file; uses LINE chunked video encryption so it plays and integrity-verifies on official clients). Provide exactly one of file_path or video_base64; optional duration_ms sets the scrubber length. Works for 1:1/group/room. One send per call.

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_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesLINE chat/group/room MID to send to, as returned by list_conversations.
file_nameNoOptional original filename (used for the upload name; defaults to the basename of file_path or video.mp4).
file_pathNoLocal filesystem path to the video file. Mutually exclusive with video_base64.
duration_msNoOptional video duration in milliseconds, for the recipient player scrubber.
video_base64NoBase64-encoded video bytes. Mutually exclusive with file_path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 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 / durationMs
      Removed value: -{
      -  "description": "Optional video duration in milliseconds, for the recipient player scrubber.",
      -  "type": "number"
      -}
    • addedInput schema / properties / duration_ms
      Added value: +{
      +  "description": "Optional video duration in milliseconds, for the recipient player scrubber.",
      +  "type": "number"
      +}
    • removedInput schema / properties / fileName
      Removed value: -{
      -  "description": "Optional original filename (used for the upload name; defaults to the basename of filePath or video.mp4).",
      -  "type": "string"
      -}
    • removedInput schema / properties / filePath
      Removed value: -{
      -  "description": "Local filesystem path to the video file. Mutually exclusive with videoBase64.",
      -  "type": "string"
      -}
    • addedInput schema / properties / file_name
      Added value: +{
      +  "description": "Optional original filename (used for the upload name; defaults to the basename of file_path or video.mp4).",
      +  "type": "string"
      +}
    • addedInput schema / properties / file_path
      Added value: +{
      +  "description": "Local filesystem path to the video file. Mutually exclusive with video_base64.",
      +  "type": "string"
      +}
    • removedInput schema / properties / videoBase64
      Removed value: -{
      -  "description": "Base64-encoded video bytes. Mutually exclusive with filePath.",
      -  "type": "string"
      -}
    • addedInput schema / properties / video_base64
      Added value: +{
      +  "description": "Base64-encoded video bytes. Mutually exclusive with file_path.",
      +  "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.1/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 well: it discloses E2EE, the chunked video encryption path, playback/integrity verification on official clients, immediate delivery, and the one-send-per-call limit. It omits practical constraints such as size limits, permission/auth requirements for the target chat, and failure behavior.

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 dense paragraph that front-loads the action and encryption guarantee, then the source-input rule, then addressing scope. Every sentence carries information, though the send_file cross-reference parenthetical is slightly crowded.

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 write-side media tool with no annotations and no output schema, the description covers encryption, container, source options, duration semantics, and chat-type scope. It leaves open limits and what the call returns (e.g., message ID), which an agent would still need for chaining.

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 both the mutual exclusivity of file_path/video_base64 and the scrubber purpose of duration_ms are already documented in the schema. The description restates those points rather than adding new meaning such as encoding limits, duration units edge cases, or filename fallback behavior. Baseline 3 applies.

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 video to a LINE conversation') and pins down its boundary against siblings by naming send_file and noting the video-specific chunked encryption pipeline. An agent can distinguish this from send_file, send_image, or send_message 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 Guidelines4/5

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

Gives clear operating guidance: 'exactly one of file_path or video_base64', 'Works for 1:1/group/room', and 'One send per call' (implying per-recipient looping). It does not explicitly say when to prefer this over send_file for a video file, but the 'same pipeline as send_file' framing implies the division of labor.

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