Skip to main content
Glama
wasintoh

line-oa-mcp-ultimate

by wasintoh

Delete LINE Rich Menu

line_delete_rich_menu
DestructiveIdempotent

Delete a rich menu by ID with required confirmation to prevent accidental removal. Specify the rich_menu_id and set confirm=true to proceed.

Instructions

Delete a rich menu by ID. If the menu is currently linked to specific users, those links break silently — consider running line_audit_user_menu first.

Requires confirm=true to prevent accidental deletion via prompt drift.

Args:

  • rich_menu_id: The richMenuId (starts with 'richmenu-').

  • confirm: Must be true to proceed.

  • oa: optional OA id.

Returns: { success: true, deleted_id }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rich_menu_idYes
confirmNoRequired true. Deletion is irreversible.
oaNo
Behavior5/5

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

Beyond annotations (e.g., destructiveHint=true), the description reveals that linked users break silently, which annotations do not capture. It also details the requirement for confirm and the return format, providing rich behavioral context without contradicting 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 concise, front-loaded with the action and key warning. Every sentence adds value, and the Args/Returns section is structured clearly without redundancy.

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?

For a delete operation with annotations, the description covers return format ({ success: true, deleted_id }), the silent link-breaking behavior, and the confirm requirement. No output schema exists, but the description is sufficient.

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 low (33%), but the description compensates by explaining that rich_menu_id starts with 'richmenu-', confirm must be true, and oa is optional. This adds meaning beyond the schema, though more detail on oa could be provided.

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 'Delete a rich menu by ID' with a specific verb and resource. It also differentiates from the sibling tool line_audit_user_menu by suggesting its use as a pre-check. The purpose is unambiguous and well-scoped.

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?

It explicitly advises to consider running line_audit_user_menu first if the menu is linked to users, providing when-to-use and an alternative. It also mandates confirm=true to prevent accidental deletion, offering clear usage context.

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