Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

mark_read

Generates a visible LINE read receipt to mark a conversation read up to a given message or the latest one; use only on explicit user request.

Instructions

Send a LINE read receipt (mark a conversation read up to message_id, or the latest when omitted) — a real action the other party can see. Use ONLY when the user explicitly wants to mark a chat read; reading (get_chat_messages, get_unread_digest) and background capture never mark read. Fails honestly if there is nothing to mark.

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

Input Schema

NameRequiredDescriptionDefault
chat_idYesLINE chat/group/room MID to mark read, as returned by list_conversations.
message_idNoOptional message id to mark read up to. Omit to mark read up to the latest message.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.7.2
    • removedInput schema / properties / chatId
      Removed value: -{
      -  "description": "LINE chat/group/room MID to mark read, as returned by list_conversations.",
      -  "type": "string"
      -}
    • addedInput schema / properties / chat_id
      Added value: +{
      +  "description": "LINE chat/group/room MID to mark read, as returned by list_conversations.",
      +  "type": "string"
      +}
    • removedInput schema / properties / messageId
      Removed value: -{
      -  "description": "Optional message id to mark read up to. Omit to mark read up to the latest message.",
      -  "type": "string"
      -}
    • addedInput schema / properties / message_id
      Added value: +{
      +  "description": "Optional message id to mark read up to. Omit to mark read up to the latest message.",
      +  "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

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the externally visible side effect ('a real action the other party can see') and the failure mode ('fails honestly if there is nothing to mark'). It stops short of stating that read receipts are typically irreversible or what permissions/auth are needed, so not a 5.

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 compact sentences, front-loaded with the action and its consequence, then the usage constraint. The parenthetical qualification is a little dense but every clause carries information; nothing is filler.

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 two-parameter mutation tool with no annotations and no output schema, the description covers effect visibility, applicability, and failure behavior. Remaining gaps — reversibility and required permissions — are meaningful but secondary for a well-scoped read-receipt action.

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%, so chat_id and message_id semantics are already documented; the description only restates the optional-message_id default ('or the latest when omitted'). Baseline 3 applies since the schema does the heavy lifting and the description adds no format or sourcing detail beyond it.

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?

States a specific verb and resource — 'Send a LINE read receipt' — and defines scope precisely ('mark a conversation read up to `message_id`, or the latest when omitted'). It also distinguishes itself from read-path siblings by naming get_chat_messages and get_unread_digest, so an agent can route correctly without opening schemas.

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?

Gives an explicit gate: 'Use ONLY when the user explicitly wants to mark a chat read,' plus a negative rule that reading and background capture never mark read. That is a when-to-use, when-not-to-use, and named-alternative statement in one place.

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