Skip to main content
Glama

LINE Bot MCP Server

by tndfame

gemini_command

Plan and execute LINE Bot actions using Gemini AI, including sending messages, managing rich menus, checking message quotas, and retrieving user profiles through natural language commands.

Instructions

Use Gemini to plan and execute one LINE action (get profile, get rich menu list, get message quota, push/broadcast text or flex).

Input Schema

NameRequiredDescriptionDefault
dbLimitNoMax rows to include from dbQuery in knowledge (default 100, max 200)
dbParamsNoOptional parameters for dbQuery (mapped to @name placeholders)
dbQueryNoOptional read-only SQL (SELECT/WITH) to fetch data from MSSQL and include as knowledge (Markdown table).
filePathNoOptional relative Markdown path (e.g., docs/data-learning/knowledge.md) to use as knowledge context
instructionYesNatural language command, e.g., 'ดึงโปรไฟล์ของผู้ใช้', 'ส่งข้อความว่า สวัสดี', 'ดูรายการ rich menu'
knowledgeSourceNoChoose knowledge source: 'file' (Markdown via filePath) or 'mssql' (database schema snapshot)file
modeNoMode: 'auto' (planner decides), 'actions' (force planner), 'qa' (answer from knowledge and push text)auto
modelNoGemini model name, e.g., gemini-2.0-flashgemini-2.0-flash
userIdNoOptional LINE userId to target. Overrides DESTINATION_USER_ID if provided.

Input Schema (JSON Schema)

{ "properties": { "dbLimit": { "default": 100, "description": "Max rows to include from dbQuery in knowledge (default 100, max 200)", "maximum": 200, "minimum": 1, "type": "integer" }, "dbParams": { "additionalProperties": {}, "description": "Optional parameters for dbQuery (mapped to @name placeholders)", "type": "object" }, "dbQuery": { "description": "Optional read-only SQL (SELECT/WITH) to fetch data from MSSQL and include as knowledge (Markdown table).", "type": "string" }, "filePath": { "description": "Optional relative Markdown path (e.g., docs/data-learning/knowledge.md) to use as knowledge context", "type": "string" }, "instruction": { "description": "Natural language command, e.g., 'ดึงโปรไฟล์ของผู้ใช้', 'ส่งข้อความว่า สวัสดี', 'ดูรายการ rich menu'", "minLength": 1, "type": "string" }, "knowledgeSource": { "default": "file", "description": "Choose knowledge source: 'file' (Markdown via filePath) or 'mssql' (database schema snapshot)", "enum": [ "file", "mssql" ], "type": "string" }, "mode": { "default": "auto", "description": "Mode: 'auto' (planner decides), 'actions' (force planner), 'qa' (answer from knowledge and push text)", "enum": [ "auto", "actions", "qa" ], "type": "string" }, "model": { "default": "gemini-2.0-flash", "description": "Gemini model name, e.g., gemini-2.0-flash", "type": "string" }, "userId": { "description": "Optional LINE userId to target. Overrides DESTINATION_USER_ID if provided.", "type": "string" } }, "required": [ "instruction" ], "type": "object" }

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/tndfame/mcp_management'

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