Skip to main content
Glama
wasintoh

line-oa-mcp-ultimate

by wasintoh

Set / clear the account-wide default LINE rich menu

line_set_default_rich_menu
Idempotent

Set or clear the default rich menu for a LINE Official Account, shown to all followers unless a per-user menu is linked.

Instructions

Set or clear the OA's default rich menu — shown to every follower without a per-user menu linked (per-user links via line_link_rich_menu override it). mode 'set' (needs rich_menu_id) or 'clear'.

Returns { mode, rich_menu_id? }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
oaNoOptional OA id; defaults to active OA.
modeYesset: make a rich menu the account-wide default; clear: remove the default.
rich_menu_idNoRich menu ID to set as default. Required for mode='set'; ignored for clear.
Behavior4/5

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

Annotations already indicate idempotentHint=true and destructiveHint=false. Description adds that setting a new default replaces the previous one (implied by 'set or clear'), but does not explicitly state that. Still sufficient for a non-destructive, idempotent operation.

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 sentences with clear front-loading. Every sentence provides essential information without redundancy. Very efficient.

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

Completeness5/5

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

Given the tool's simplicity, good annotations, and full schema coverage, the description covers purpose, modes, prerequisites, return format, and relation to sibling tool. No gaps.

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 coverage is 100%, baseline 3. Description adds value by clarifying mode behavior ('set' needs rich_menu_id, 'clear' ignores it) and the optionality of oa. Provides more context than schema descriptions alone.

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?

Description clearly states the tool sets or clears the account-wide default rich menu and explains its scope (shown to every follower without per-user menu). It distinguishes from sibling line_link_rich_menu by mentioning override behavior.

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

Usage Guidelines5/5

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

Description explicitly covers both modes ('set' and 'clear') and their prerequisites (rich_menu_id required for set). It also notes that per-user links override the default, guiding when not to use this tool for per-user customization.

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