Skip to main content
Glama
Rubika MCP
by NabuxAi

Rubika (own account): read chat

rubika_web_read_chat
Read-onlyIdempotent

Fetch recent messages from a Rubika chat, newest first, using a chat ID, @username, or "me" for Saved Messages. Pass the last message ID as beforeMessageId to page back through older messages.

Instructions

Recent messages of one chat, newest first. Pass nextBeforeMessageId as beforeMessageId for older ones.

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": {
      "chatId": "<chatId>"
    },
    "name": "rubika_web_read_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
chatIdYes"me" for Saved Messages, @username, or an object guid from messaging_web_list_chats
beforeMessageIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so safety is covered. The description adds the ordering guarantee (newest first) and the cursor-chaining behavior, which is real value. It does not mention default page size or what a returned message contains, and there is no output schema to cover that gap.

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?

Two short sentences, zero redundancy, with the ordering rule stated first and the pagination instruction second. Nothing could be removed without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool this covers identifying the target chat and paginating correctly, which is the core need. However, with no output schema it should say something about what a message record includes and what limit defaults to, since neither is otherwise discoverable.

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 only 33%; chatId is documented inside the schema and limit has bounds but no stated default. The description compensates meaningfully for the undocumented beforeMessageId by tying it to the nextBeforeMessageId value in the response, but says nothing about limit behavior, leaving one of three parameters unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource and scope precisely: recent messages of one chat, returned newest first. It is clear and specific, but it never distinguishes itself from siblings such as rubika_web_search_messages or rubika_web_get_unread, so an agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

It gives clear usage for pagination (feed nextBeforeMessageId back as beforeMessageId) but no when-to-use guidance relative to search_messages, get_unread, or get_chat_info. The reader learns how to continue, not when to choose this tool.

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