Skip to main content
Glama
wasintoh

line-oa-mcp-ultimate

by wasintoh

Build LINE audience from user IDs

line_build_audience_from_csv

Create a LINE retargeting audience by uploading user IDs or IFAs from a CSV. The audience indexes and becomes ready within minutes.

Instructions

Create a new LINE audience by uploading user IDs (or IFAs). After creation LINE indexes the audience for ~5-10 minutes — line_list_audiences will report status=IN_PROGRESS during that window, then READY.

This is the "CSV from Google Sheets → retargeting audience" flow most Thai SMBs need.

Args:

  • name: Audience name (≤120 chars).

  • user_ids: Array of LINE user IDs (max 10,000 per call).

  • is_ifa: True for IFA values instead of LINE user IDs (default false).

  • oa: optional OA id.

Returns: { audience_group_id, name, type, created_unix_ms }

Region note: Audience Management API is gated to JP / TW / TH OAs (+ premium).

Examples:

  • "สร้าง audience ลูกค้าเดือนก่อน" → { name: "buyers_last_month", user_ids: [...] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesAudience name as shown in LINE OA Manager (≤120 chars).
user_idsYesArray of LINE user IDs. Max 10,000 per call.
is_ifaNoTrue if values are Identifiers for Advertisers (IFAs) instead of LINE user IDs.
oaNo
Behavior4/5

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

The description discloses indexing time (~5-10 minutes) and status progression, adding to the annotations. No contradictions 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with Args and Returns sections, concise but informative. Slight redundancy in region note could be integrated.

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?

Covers creation, indexing delay, region gating, and provides an example. Despite no output schema, the return format is described, making it complete for this tool.

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 75%; description adds context for parameters (e.g., name max 120 chars, user_ids max 10k, is_ifa default false) and explains the return object, enhancing the 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 the tool creates a new LINE audience by uploading user IDs or IFAs, differentiating it from siblings like line_build_audience_from_engagement which uses engagement data.

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 provides context for Thai SMBs and mentions the typical use case, but does not explicitly state when not to use or mention alternatives like line_build_audience_from_engagement.

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