Skip to main content
Glama
zients

@zients/line-mcp-server

by zients

Push Flex Message

push_flex_message

Send a Flex Message with rich layout to a LINE user, group, or room. Provide the Flex container as JSON and alt text for push notifications.

Instructions

Send a Flex Message (rich layout) to a LINE user, group, or room. Pass the Flex container as a JSON string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoTarget ID — User ID (U…), Group ID (C…), or Room ID (R…). If omitted, falls back to the DEFAULT_UID environment variable.
altTextYesAlternative text shown in push notifications (max 400 chars)
contentsYesFlex Message container JSON string (bubble or carousel)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing side effects. It mentions 'send' but does not describe potential outcomes like delivery failures, rate limits, or message validation issues, leaving the agent uninformed about behavioral consequences.

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?

The description is concise and to the point, using two short sentences that cover the primary action, target, and key input without any redundant or extraneous text.

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?

Given the context of many sibling push tools, the description fails to provide sufficient context for an agent to decide when to choose this Flex Message tool over alternatives. It also does not mention any output or return behavior, though the schema lacks an output schema, so that omission is partly mitigated.

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?

The schema already provides descriptions for all three parameters ('to', 'altText', 'contents'). The tool description adds the detail that 'contents' is a Flex container in JSON string form, but this is minimally additive since the schema's description already states the JSON nature and allowed values.

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 the action ('Send') and the specific resource ('Flex Message'), which distinguishes it from sibling tools like push_text_message or push_image_message. The phrase 'rich layout' further clarifies the nature of the content.

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?

The description does not explicitly state when to use this tool over the many sibling push options (e.g., text, image, sticker). It relies on the reader's understanding of Flex Messages, but offers no comparative guidance or conditions for selection.

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

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

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