Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

get_action_items

Analyze conversations to determine who needs to act next, returning ball-in-court ownership, confidence, last relevant message, and unread counts for triaging replies.

Instructions

Analyze conversations for ball-in-court ownership (who likely needs to act next). For each conversation returns ball=mine|theirs|team|none|unknown with heuristic reasons and confidence, the last relevant message, and unread count. Read-only (never marks read). Use to triage what needs my reply/action vs what I am waiting on; treat as evidence in groups or when messages are ambiguous/encrypted. Defaults to all non-excluded conversations; set unread_only/include_read to focus unread, or chat_id for one chat.

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_action_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum conversations to analyze, most recently active first (default: all).
chat_idNoAnalyze a single chat MID instead of scanning conversations.
per_chatNoRecent messages inspected per conversation (default 20, min 5, max 50).
unread_onlyNoIf true, analyze only conversations with unread messages.
include_readNoIf false, same as unread_only=true (backward-friendly); default analyzes all conversations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.7.2
    • removedInput schema / properties / chatId
      Removed value: -{
      -  "description": "Analyze a single chat MID instead of scanning conversations.",
      -  "type": "string"
      -}
    • addedInput schema / properties / chat_id
      Added value: +{
      +  "description": "Analyze a single chat MID instead of scanning conversations.",
      +  "type": "string"
      +}
    • removedInput schema / properties / includeRead
      Removed value: -{
      -  "description": "If false, same as unreadOnly=true (backward-friendly); default analyzes all conversations.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / include_read
      Added value: +{
      +  "description": "If false, same as unread_only=true (backward-friendly); default analyzes all conversations.",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / perChat
      Removed value: -{
      -  "description": "Recent messages inspected per conversation (default 20, min 5, max 50).",
      -  "type": "number"
      -}
    • addedInput schema / properties / per_chat
      Added value: +{
      +  "description": "Recent messages inspected per conversation (default 20, min 5, max 50).",
      +  "type": "number"
      +}
    • removedInput schema / properties / unreadOnly
      Removed value: -{
      -  "description": "If true, analyze only conversations with unread messages.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / unread_only
      Added value: +{
      +  "description": "If true, analyze only conversations with unread messages.",
      +  "type": "boolean"
      +}
  2. Addedv0.6.17

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 declares read-only behavior ('never marks read'), describes the per-conversation return payload including heuristic reasons, confidence, last relevant message, and unread count, and notes ambiguity/encryption caveats. What's missing is cost/behavior when scanning all conversations by default (no mention of latency or limits on total volume).

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?

Front-loads the core purpose and the classification vocabulary, then stacks behavior, usage, and parameter guidance in a tight sequence. It is dense and slightly crammed into two long sentences, but no sentence 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?

There is no output schema, and the description compensates by describing the returned fields and the meaning of each ball value. It also covers scope defaults and single-chat mode. The remaining gap is that 'non-excluded' and how exclusions are configured is never explained for an agent unfamiliar with the sibling exclude_chats tool.

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%, so the baseline is 3, but the description adds meaning beyond the schema: it introduces the 'non-excluded conversations' default (the exclusion concept is not in the schema) and frames unread_only/include_read as equivalent ways to focus unread, plus chat_id for single-chat mode. That is genuine added interpretation of how the parameters interact.

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: analyze conversations for ball-in-court ownership, and immediately defines the output vocabulary (ball=mine|theirs|team|none|unknown). This is clearly distinguishable from siblings like get_unread_digest or get_chat_messages, which do not classify ownership.

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 concrete when-to-use guidance: 'Use to triage what needs my reply/action vs what I am waiting on' and 'treat as evidence in groups or when messages are ambiguous/encrypted.' It also explains the default scope and how to narrow it. It does not explicitly contrast with a named sibling, keeping it at 4 rather than 5.

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