Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

get_group_members

Lists members of a LINE group by chat ID, returning each member's MID and display name, and reports an error for ad-hoc rooms lacking a group record instead of returning a false empty list.

Instructions

List the members of one LINE group (mid + display_name each). Resolves persistent groups (c...); ad-hoc rooms (r...) without a group record return an honest error, never a fabricated empty list.

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>"
    },
    "name": "get_group_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesLINE group chat MID, 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 chat MID, as returned by list_conversations.",
      -  "type": "string"
      -}
    • addedInput schema / properties / chat_id
      Added value: +{
      +  "description": "LINE group chat MID, as returned by list_conversations.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "chatId"
      -]New value: +[
      +  "chat_id"
      +]
  2. Addedv0.4.1
  3. Removedv0.3.0
  4. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose one important behavioral trait: the tool returns an explicit error rather than a fabricated empty list when no group record exists. It omits other relevant behavior for a read tool, such as ordering, pagination/limits, or permission requirements, leaving meaningful gaps.

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?

Two tight sentences, front-loaded with the core action and follow-up scope detail, with no filler. The parenthetical return-value note is compact and informative.

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?

For a one-parameter read tool with no output schema and no annotations, the definition covers purpose, valid input domain, return fields, and failure semantics. Only secondary details like result ordering or size limits are absent.

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% for the single chat_id parameter, so the schema already defines it, and no other parameters exist. The description adds one useful constraint – that the MID must belong to a persistent `c...` group rather than an `r...` room – but beyond that it only restates the schema's meaning.

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 gives a specific verb and resource ("List the members of one LINE group") plus the return shape ("mid + display_name each"), which is enough to separate it from list_contacts or list_conversations. It never names a sibling tool explicitly, so the differentiation is inferred from scope rather than stated.

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?

It supplies a clear applicability condition – the chat_id must be a persistent group (`c...`), and ad-hoc rooms (`r...`) are excluded with a defined failure mode. It does not, however, point to any alternative tool to use when the target is a room without a group record.

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