Skip to main content
Glama
wasintoh

line-oa-mcp-ultimate

by wasintoh

Manage LINE OA coupons

line_manage_coupon

Create, list, get, or discontinue coupons for your LINE Official Account. Manage coupon lifecycle with simple commands.

Instructions

Coupon CRUD on a LINE OA. Four modes:

  • create: Make a new coupon. Requires data: { title, description, valid_from, valid_to, ... }

  • list: List all coupons.

  • get: Fetch a specific coupon by coupon_id.

  • discontinue: End a live coupon (irreversible — requires confirm=true).

Rate limit: shared bucket 200 req/sec with multicast.

Args (varies by mode):

  • mode: 'create' | 'list' | 'get' | 'discontinue'

  • coupon_id: required for get / discontinue.

  • data: required for create.

  • confirm: required true for discontinue.

  • oa: optional OA id.

Examples:

  • "สร้าง coupon ส่วนลด 20% MOM20 ใช้ได้ถึง 31 ส.ค." → { mode: "create", data: { title: "คูปองวันแม่", coupon_code: "MOM20", valid_from: "2026-08-01", valid_to: "2026-08-31" } }

  • "ดู coupons ทั้งหมด" → { mode: "list" }

  • "ปิด coupon C123" → { mode: "discontinue", coupon_id: "C123", confirm: true }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYescreate: make a new coupon; list: list all coupons; get: fetch one; discontinue: end one (irreversible).
coupon_idNoRequired for mode='get' or 'discontinue'.
dataNoRequired for mode='create'.
confirmNoRequired true for mode='discontinue'.
oaNo
response_formatNomarkdown
Behavior4/5

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

Discloses rate limit (200 req/sec) and that discontinue is irreversible with confirm=true. No contradiction with annotations; destructiveHint=false is acceptable as only one mode is destructive and is flagged.

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?

Well-structured with overview, mode list, rate limit, args, and examples. Concise, no fluff, every sentence adds value.

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?

Covers all aspects: modes, required params, examples, rate limit, irreversible action. Lacks return format info, but not mandatory per rules.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers 67% of params; description adds context for oa (optional OA id) and gives examples for each mode, enhancing understanding beyond schema.

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?

Clearly states it's 'Coupon CRUD on a LINE OA' and lists four modes with brief explanations. Distinguishes from sibling tools like line_get_coupon_stats.

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?

Provides when to use each mode with examples. Could explicitly mention alternatives like line_get_coupon_stats for stats, but usage is clear.

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/wasintoh/line-oa-mcp-ultimate'

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