Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

accept_invitation

Accepts a pending LINE group or chat invitation using its chat_id, joining the invited conversation. Call once per invitation to add your account to that chat.

Instructions

Accepts a group/chat invitation for your LINE account — you join the chat. Use for a group you were invited to (its chat_id appears with invited status). One accept per call.

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": "accept_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesLINE group/room MID whose invitation to accept, 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 whose invitation to accept, as returned by list_conversations.",
      -  "type": "string"
      -}
    • addedInput schema / properties / chat_id
      Added value: +{
      +  "description": "LINE group/room MID whose invitation to accept, 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.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the visible effect (account joins the chat), the prerequisite (invited status), and the one-invitation-per-call constraint. It omits failure modes (expired/revoked invitations), whether the accept is idempotent, and what the call returns or changes for other members.

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 short sentences, front-loaded with the action and effect, then the usage condition and call cardinality. The em-dash gloss 'you join the chat' is mildly redundant with 'accepts an invitation' but earns its place by making the side effect explicit.

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 single-parameter tool with no output schema and no annotations, the description covers purpose, precondition, and per-call cardinality — enough to invoke it correctly. Only return-value and error behavior are absent, which is a modest gap at this complexity.

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 100% and chat_id is fully documented, so the baseline is 3; the description adds meaningful qualifying semantics by tying the value to a chat whose chat_id appears with 'invited status' in list_conversations. That extra condition helps an agent pick the correct ID rather than just any chat.

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?

States a specific verb+resource ('Accepts a group/chat invitation') and the resulting effect ('you join the chat'), so the action is unambiguous. It does not name a contrasting sibling (e.g., create_group, leave_group), but the invited-status qualifier implicitly separates it from those.

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?

Gives a concrete selection condition — use it for a group you were invited to, identifiable because its chat_id carries 'invited status' — plus the cardinality rule 'One accept per call.' It stops short of stating when not to use it or naming an explicit alternative, so it is clear context rather than full routing guidance.

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