Skip to main content
Glama
wasintoh

line-oa-mcp-ultimate

by wasintoh

Test LINE Webhook Endpoint

line_test_webhook
Idempotent

Ping your LINE Official Account webhook from LINE servers to verify HTTP status, latency, and signature verification. Debug common failures like timeout, SSL errors, or unauthorized replies.

Instructions

Ping the OA's webhook URL from LINE servers and report HTTP status + latency. LINE checks that the endpoint returns 200 within their timeout AND that signature verification works (when secret is configured).

Args:

  • override_endpoint: optional public HTTPS URL to test instead of the configured one.

  • oa: optional OA id.

Returns: { success: boolean, status_code: number, latency_ms?: number, reason: string, // LINE's human-readable result detail?: string, configured_endpoint?: string, tested_endpoint: string }

Common failure modes (LINE returns them via 'reason'):

  • INVALID_REPLY: webhook responded but the response shape is unexpected

  • UNAUTHORIZED: signature verification failed (your code uses wrong channel_secret)

  • SERVER_ERROR: webhook returned 5xx

  • TIMEOUT: webhook took >10s

  • SSL_ERROR: HTTPS cert problem

Use this whenever a bot stops responding before debugging anything else.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
override_endpointNoTest a specific URL instead of the OA's currently configured webhook URL.
oaNo
Behavior5/5

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

Annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true) are provided, and the description adds significant detail: it explains that LINE checks for a 200 response and signature verification, lists common failure modes with reasons, and describes the return payload. No contradiction with 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 yet thorough, structured with clear sections for purpose, arguments, return value, and common failure modes. Every sentence adds value, and the most critical information is front-loaded.

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 simple tool with 2 optional parameters, the description covers all essential aspects: what it does, how it works, what to expect in return, and typical error scenarios. No output schema exists, but the detailed return format compensates.

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

Parameters3/5

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

Schema coverage is 50% (override_endpoint has description, oa does not). The description's Args section adds minimal context: override_endpoint is clarified as 'optional public HTTPS URL to test instead of the configured one,' and oa is simply 'optional OA id.' While the description adds some meaning, it does not fully compensate for the missing schema description for oa.

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 the action: 'Ping the OA's webhook URL from LINE servers and report HTTP status + latency.' It explicitly distinguishes this from sibling tools like line_send_message or line_get_oa_status by focusing on webhook debugging.

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?

The description ends with a strong usage directive: 'Use this whenever a bot stops responding before debugging anything else.' This provides clear when-to-use guidance, though it does not elaborate on when not to use or list specific 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