Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

get_unread_digest

Retrieve a one-shot digest of all unread LINE conversations with recent messages and resolved sender names, without marking anything as read. Use it to review unread chats in one call.

Instructions

One-shot unread digest: every LINE conversation with unread messages (all pages of the inbox, newest activity first), each with its most recent messages (default 10), E2EE-decrypted, with resolved sender names. Saves calling list_conversations then get_chat_messages per chat. Read-only: never marks anything read, never touches the search index; denylist-excluded conversations are omitted. Returns an empty list when nothing is unread — never fabricated.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_unread_digest"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of unread conversations to return, most recently active first (default: all of them).
per_chatNoMaximum recent messages to include per unread conversation (default 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.7.2
    • removedInput schema / properties / perChat
      Removed value: -{
      -  "description": "Maximum recent messages to include per unread conversation (default 10).",
      -  "type": "number"
      -}
    • addedInput schema / properties / per_chat
      Added value: +{
      +  "description": "Maximum recent messages to include per unread conversation (default 10).",
      +  "type": "number"
      +}
  2. Changed1 schema field changedv0.6.2
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of conversations to scan for unread (default 20)."New value: +"Maximum number of unread conversations to return, most recently active first (default: all of them)."
  3. Addedv0.4.1
  4. Removedv0.3.0
  5. First observedv0.2.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it declares read-only semantics (never marks anything read, never touches the search index), discloses that denylist-excluded conversations are silently omitted, notes E2EE decryption and resolved sender names, and promises an empty list rather than fabricated results. These are exactly the side-effect and trust details an agent needs before invoking an unannotated tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

A single front-loaded sentence carries scope, contents, and the read-only guarantees, followed by two short sentences for the call-saving rationale and the empty-result contract. The parentheticals are dense but each one carries distinct 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-optional-parameter, no-output-schema tool, the description covers scope, contents, safety, and the empty case thoroughly. What remains thin is the returned item structure — the nesting of conversations and messages and which fields each carries is only sketched, which matters somewhat given there is no output schema.

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 both parameters are already documented with defaults and ordering. The description restates the per-chat default of 10 and the newest-first ordering, but adds no new constraints such as bounds, interaction between limit and per_chat, or how paging works. Baseline 3 is appropriate where the schema does the heavy lifting.

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 opens with a specific verb+resource ("One-shot unread digest") and then defines exactly what it contains: every unread conversation, each with its most recent messages. It explicitly contrasts itself with the composition of list_conversations and get_chat_messages, so an agent can distinguish it from siblings without opening a schema.

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 states the substitution case clearly ("Saves calling list_conversations then get_chat_messages per chat"), which tells the agent when this tool is preferred. It stops short of naming exclusions — e.g. when a caller wants full history rather than recent messages, or when they need only conversation metadata — so no explicit when-not guidance is given.

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