Skip to main content
Glama
yomi

yomi

Official
by RikaiDev

get_insight

Assembles a compact attention view from your local message index, ranking overdue replies and highlighting cross-chat connectors so you can decide what to read or respond to next.

Instructions

A compact "what needs my attention" context network over the local index — you make the final call, this assembles the evidence cheaply. Nodes: connectors (people across ≥2 of your chats, with structural bridges) and relationships (per-conversation engagement, reply rhythm, recency). open: conversations whose latest message is NOT yours, ranked by how overdue they are relative to your usual reply rhythm there, each with fromName (last speaker), a preview of the latest message, overdueRatio/typicality, and a lastMessageId pointer. It carries NO message threads and makes NO judgement about addressee, nicknames, or open-request vs closing-ack — those are language understanding you do by reading each preview (a group message may be addressed to someone else, who then owns it), fetching the full thread with get_chat_messages only for the few worth it. Reads across all conversations (denylist-excluded dropped). Empty only when the index is empty.

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

Input Schema

NameRequiredDescriptionDefault
chat_idNoOptional focus: restrict `relationships` and `pending` to this chat (as returned by list_conversations). Omit to scan all conversations.
since_hoursNoLookback window in hours, measured back from the newest captured message (not wall-clock). Default 504 (21 days).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.7.2
    • removedInput schema / properties / chatId
      Removed value: -{
      -  "description": "Optional focus: restrict `relationships` and `pending` to this chat (as returned by list_conversations). Omit to scan all conversations.",
      -  "type": "string"
      -}
    • addedInput schema / properties / chat_id
      Added value: +{
      +  "description": "Optional focus: restrict `relationships` and `pending` to this chat (as returned by list_conversations). Omit to scan all conversations.",
      +  "type": "string"
      +}
    • removedInput schema / properties / sinceHours
      Removed value: -{
      -  "description": "Lookback window in hours, measured back from the newest captured message (not wall-clock). Default 504 (21 days).",
      -  "type": "number"
      -}
    • addedInput schema / properties / since_hours
      Added value: +{
      +  "description": "Lookback window in hours, measured back from the newest captured message (not wall-clock). Default 504 (21 days).",
      +  "type": "number"
      +}
  2. Addedv0.4.1

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does substantial work: full-corpus read scope with denylist exclusions dropped, no thread payload, no semantic judgement, and the explicit rule that empty means an empty index rather than no pending items. It does not discuss cost/latency limits beyond the word 'cheaply', nor output ordering guarantees beyond the overdue ranking, leaving a small gap.

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 core framing ('what needs my attention', cheap evidence, you decide) is front-loaded and every clause carries information. It is dense to the point of being hard to parse in one pass, with heavy parenthetical nesting and backtick-laden field lists, 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?

With no output schema, the description must describe the return payload and largely does: node names, the overdue ranking rule, and per-item fields such as fromName, preview, overdueRatio, and lastMessageId. Terms like 'structural bridges' and 'typicality' remain under-explained, so an agent can call it confidently but may not fully anticipate the response.

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 both parameters are self-documenting, so the schema does the heavy lifting. The description adds nothing about since_hours semantics, and it introduces a naming mismatch: the schema says chat_id restricts 'relationships' and 'pending', while the description calls the node 'open' — an agent must guess these are the same thing.

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 the resource precisely (a 'what needs my attention' context network over the local index) and enumerates its three node types: connectors, relationships, and open. It explicitly separates itself from get_chat_messages by stating it carries NO message threads, so an agent can tell the two apart 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the intended division of labor: this tool assembles evidence cheaply and 'you make the final call', with full threads fetched via get_chat_messages 'only for the few worth it'. It also gives a negative usage rule — do not rely on it for addressee, nickname, or open-request vs closing-ack judgement — and explains the empty-result condition.

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