Skip to main content
Glama
wasintoh

line-oa-mcp-ultimate

by wasintoh

List LINE Rich Menus

line_list_rich_menus
Read-onlyIdempotent

List all rich menus and identify the default one to prevent exceeding the 1,000-menu cap when building new menus.

Instructions

List all rich menus on an OA + identify which one is the account-wide default. OAs can hold up to 1,000 rich menus — use line_delete_rich_menu to clean up.

Args:

  • oa: optional OA id.

  • response_format: 'markdown' (default) | 'json'.

Returns: { total: number, default_id?: string, rich_menus: [{ rich_menu_id, name, chat_bar_text?, size?, is_default, is_selected }] }

Use this before line_build_rich_menu to avoid hitting the 1,000-menu cap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
oaNo
response_formatNomarkdown
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description doesn't need to reiterate safety. It adds behavioral context about the default identification and the 1,000-menu limit, which is valuable beyond annotations.

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 efficiently structured with a clear first sentence, followed by structured parameter and return info. Every sentence serves a purpose without redundancy.

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?

Given the tool's simplicity (2 optional params, no output schema), the description provides return structure and practical guidance. It might lack pagination details for large lists, but that's a minor gap.

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 0%, so the description bears the full burden. It explains 'oa' as optional OA id and 'response_format' with default and enum values. This adds necessary meaning missing from the bare 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?

The description clearly states it lists rich menus and identifies the default, which is a specific verb-resource combination. It distinguishes from siblings like line_delete_rich_menu and line_build_rich_menu by mentioning the purpose.

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?

The description explicitly says to use this before line_build_rich_menu to avoid the 1,000-menu cap, and suggests line_delete_rich_menu for cleanup. This gives clear when-to-use and alternatives.

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