Skip to main content
Glama
Rubika MCP
by NabuxAi

Rubika (own account): search

rubika_web_search_messages
Read-onlyIdempotent

Search Rubika messages by text within a specific chat or across all chats, using a query and optional chat ID to locate relevant conversations.

Instructions

Search messages by text in one chat (chatId) or across all chats.

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": {
      "query": "<query>"
    },
    "name": "rubika_web_search_messages"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds the scope split (one chat vs all chats), but says nothing about result ordering, case sensitivity, default result count, or truncation behavior — relevant for an open-world search.

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?

A single efficient sentence with the scoping choice front and center and no redundant wording. It is terse to the point of omitting useful detail, but nothing in it is wasted.

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?

With three simple parameters and no output schema, the definition should still say what a result looks like or what limit defaults to. Annotations carry the safety story, but the description leaves the agent to guess at result shape and limit semantics.

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?

The description explains that chatId selects a single chat or all chats when omitted, which adds meaning. However, schema coverage is only 33% and limit (1-100) is undocumented in both schema and description, leaving default and effect of limit unstated.

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?

States a specific verb (search) plus resource (messages) and the two scoping modes (single chat via chatId, or across all chats). This distinguishes it from read_chat or get_unread without naming them, which is adequate but not sharp sibling differentiation.

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?

Implied usage is clear: use when you need to find messages by text rather than read a whole conversation, and passing chatId narrows scope. There is no explicit when-not guidance, no mention of pagination or how to follow up on results, and no named alternative.

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