Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

invite_member

Invite members to a LINE group using the group or room MID and contact MIDs; invitees must accept before joining. Send one call per invite batch.

Instructions

Invites members into a LINE group immediately. Invitees must accept before joining. Provide mids (from find_contact or get_group_members). One call per invite batch.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chat_id": "<chat_id>",
      "mids": "<mids>"
    },
    "name": "invite_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
midsYesMIDs of the people to invite.
chat_idYesLINE group/room MID to invite into, as returned by list_conversations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.7.2
    • removedInput schema / properties / chatId
      Removed value: -{
      -  "description": "LINE group/room MID to invite into, as returned by list_conversations.",
      -  "type": "string"
      -}
    • addedInput schema / properties / chat_id
      Added value: +{
      +  "description": "LINE group/room MID to invite into, as returned by list_conversations.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "chatId",
      -  "mids"
      -]New value: +[
      +  "chat_id",
      +  "mids"
      +]
  2. Addedv0.4.1
  3. Removedv0.3.0
  4. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose useful behavior: the invite is sent immediately, membership only takes effect after the invitee accepts, and multiple MIDs go in one call. It omits caller permission requirements (must the caller be a group member/admin?), what happens to already-invited or blocked users, and error behavior.

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?

Three short sentences, front-loaded with the action and the acceptance caveat before parameter guidance. The closing phrase 'One call per invite batch' is a little ambiguous but takes almost no space and is not padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter tool this is nearly adequate, but there is no output schema and the description says nothing about what a successful invite returns or looks like (e.g. per-MID success/failure, pending vs. joined status). That gap plus the missing permission context keeps it at minimum-viable.

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 already 100%, so baseline is 3; the description adds provenance for `mids` (from find_contact or get_group_members) and clarifies the batching intent of the array ('one call per invite batch'), which goes slightly beyond the schema's own wording.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Invites members into a LINE group') plus the key semantic that the invite is immediate but membership is pending acceptance. It does not explicitly name a sibling it differs from (e.g. add_friend), so it stops short of a 5.

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?

It implies when to use it (when you have a group chat_id and target MIDs) and points to find_contact / get_group_members as sources for mids, but those are parameter sources rather than task-level alternatives. It never says when not to use it or how it relates to kick_member/leave_group or to inviting vs. adding friends.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.