Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

exclude_chats

Add LINE chats to a privacy denylist and purge their indexed messages and embeddings now, while blocking future auto-collection and search indexing.

Instructions

Add conversations to Yomi's privacy denylist. Excluded chats are (1) skipped by future collect_messages/search_messages auto-collect — never fetched or indexed — and (2) PURGED now: their already-indexed messages and embeddings are deleted from the local index in the same call. A real privacy action, not just a future filter. Local-index operation; works without a live LINE session.

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_ids": "<chat_ids>"
    },
    "name": "exclude_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idsYesLINE chat/group/room MIDs to exclude, as returned by list_conversations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.7.2
    • removedInput schema / properties / chatIds
      Removed value: -{
      -  "description": "LINE chat/group/room MIDs to exclude, as returned by list_conversations.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / chat_ids
      Added value: +{
      +  "description": "LINE chat/group/room MIDs to exclude, as returned by list_conversations.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "chatIds"
      -]New value: +[
      +  "chat_ids"
      +]
  2. Addedv0.4.1
  3. Removedv0.3.0
  4. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does so well: it discloses that indexed messages and embeddings are deleted in the same call, that collection is skipped going forward, and that no live LINE session is required. It does not state whether the action is reversible (e.g., via include_chats) or what permissions/return value to expect, which keeps it short of 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?

The description is front-loaded with the action, then the two numbered consequences, then a scoping note — efficient and easy to parse. The numbering is slightly heavy for two effects, but every sentence carries substantive information.

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, no-output-schema tool, the description covers purpose, side effects, persistence scope, and environment requirements. The main omission is whether purging can be undone and what the call returns, but nothing essential for correct invocation is missing.

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% and the single parameter already documents that chat_ids are LINE chat/group/room MIDs from list_conversations, so the description adds essentially no new parameter meaning. The baseline of 3 applies when 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 names a specific verb and resource ("Add conversations to Yomi's privacy denylist") and immediately clarifies the dual effect: exclusion from future auto-collect and immediate purging of existing index data. That distinguishes it cleanly from a future-filter tool and implicitly from include_chats, the inverse operation.

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 gives clear conditions for use (privacy denylist, works without a live LINE session, local-index only) and explicitly warns that this is "not just a future filter," which prevents misuse by agents expecting a reversible preference toggle. It never names include_chats or list_excluded_chats as alternatives, so routing guidance is implied rather than explicit.

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