Skip to main content
Glama
line

LINE Bot MCP Server

Official
by line

Push Flex Message

push_flex_message
Destructive

Send highly customizable flex messages to LINE users, supporting both bubble and carousel layouts.

Instructions

Push a highly customizable flex message to a user via LINE. Supports both bubble (single container) and carousel (multiple swipeable bubbles) layouts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdNoThe user ID to receive a message. Defaults to DESTINATION_USER_ID.
messageYes
Behavior2/5

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

Annotations indicate destructiveHint=true, so the description should add behavioral context beyond mutation. It mentions high customizability and layout types, but omits important details like rate limits, recipient requirements, or validation errors.

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?

Two concise sentences with no superfluous information. The description is front-loaded with the primary action and key distinguishing feature (layout types).

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

Completeness2/5

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

Despite the tool's complexity (large nested schema), the description is very brief. It omits critical information like required altText, recipient constraints, error handling, and references to official documentation.

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 50%. The description adds value by explaining the two layout types (bubble and carousel), which helps understand the nested message.contents structure. The userId parameter is already well-documented in the schema. Baseline 3 with partial compensation.

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 clearly states the verb 'push' and resource 'flex message', and specifies two layout types (bubble and carousel). However, it does not explicitly differentiate from sibling tools like push_text_message or broadcast_flex_message, but the distinction is implicit.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives (e.g., push_text_message for simple text, broadcast_flex_message for broadcasting). No prerequisites or context provided.

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/line/line-bot-mcp-server'

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