Skip to main content
Glama
wasintoh

line-oa-mcp-ultimate

by wasintoh

Build retargeting audience from prior engagement

line_build_audience_from_engagement

Build a LINE audience from users who engaged with a previous broadcast or narrowcast. Use the source request ID to target by clicks or opens, then retarget via line_send_message.

Instructions

Create a LINE audience from people who clicked or opened a previous broadcast/narrowcast — retarget without a CRM. source_request_id is the request_id returned by a prior line_send_message; type 'clicks' (default, optional click_url filter) or 'opens'. The source message must be ≥24h old before the audience is reliable, needs ~50+ users to be usable in narrowcast, and is region-gated to JP/TW/TH (+premium). Feed the resulting audience back into line_send_message target.audience.

Returns { audience_group_id, name, type }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
oaNo
nameYes
typeNo'clicks' = audience of users who clicked any link in the source message; 'opens' = users who saw it.clicks
click_urlNoIf 'clicks' and you only want users who clicked a specific URL, set it here.
source_request_idYesThe request_id returned by a prior line_send_message (narrowcast/multicast/push/broadcast).
Behavior4/5

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

Annotations indicate mutation and non-idempotency; description adds critical behavioral constraints (age requirement, minimum user count, region gate) and explains return format, going beyond annotation hints.

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?

Three sentences: front-loaded purpose, then key details, then return format. No redundant words; each sentence adds value.

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 5 parameters and no output schema, the description covers purpose, parameters, constraints, integration, and return format, making it fully self-contained for an agent.

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 covers 60% of parameters with descriptions; the description adds context for source_request_id (linking to prior message) and type (specifying default and click_url filter), though 'oa' parameter is not explained.

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 tool's purpose: 'Create a LINE audience from people who clicked or opened a previous broadcast/narrowcast' and differentiates it from sibling tools like line_build_audience_from_csv by specifying the engagement source.

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?

Provides explicit guidance: when to use (retarget without CRM), constraints (source message ≥24h old, needs ~50+ users, region-gated), and how to integrate (feed audience into line_send_message).

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