Skip to main content
Glama
curzer1995-777

LINE Local MCP

Search LINE messages

search_messages
Read-only

Search sent and received LINE messages by text, with optional filters for chat and time range to locate specific conversations.

Instructions

Search message text across both sent and received LINE messages. Optionally restrict by chat and time. Official accounts are excluded by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoISO 8601 inclusive lower time bound.
limitNoMaximum matching messages.
queryYesLiteral text to find.
beforeNoISO 8601 exclusive upper time bound.
chat_idNoOptional chat ID restriction.
include_officialNoInclude official/business accounts.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint false. The description adds the behavioral fact that official accounts are excluded by default, and clarifies the scope as both sent and received messages. This goes beyond the structured 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 three short sentences that front-load the core purpose and quickly cover optional restrictions and default behavior. No unnecessary words.

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 schema fully documents all six parameters and an output schema exists, the description sufficiently covers purpose, scope, and default filtering. It doesn't need to explain return values, though it could have noted the literal-text behavior, which is in the schema anyway.

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 100%, so parameters are fully described in the schema. The description only restates 'chat and time' restrictions without adding new meaning to individual parameters, earning the baseline 3.

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 searches message text across both sent and received LINE messages, providing a specific verb and resource. It also notes the default exclusion of official accounts, which distinguishes it from more general message tools like get_messages.

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

Usage Guidelines3/5

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

The description does not explicitly say when to use this tool instead of siblings like get_messages or get_recent_activity. It implies use for text searching with optional filters, but lacks explicit exclusions or alternative recommendations.

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/curzer1995-777/line-local-mcp-user-key'

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