Skip to main content
Glama
Rubika MCP
by NabuxAi

Rubika (own account): pin/unpin

rubika_web_pin_message
Idempotent

Pin or unpin a Rubika Web chat message after explicit user approval, using chatId and messageId; requires confirm: true and an allowed chat with sending enabled.

Instructions

Pin a message, or unpin it with unpin: true. Needs confirm: true after the user approves, the chat in RUBIKA_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

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>",
      "messageId": "<messageId>",
      "confirm": "<confirm>"
    },
    "name": "rubika_web_pin_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
unpinNo
chatIdYes"me" for Saved Messages, @username, or an object guid from messaging_web_list_chats
confirmYesMust be true, and only after the user has explicitly approved this exact action.
messageIdYesmessageId from read_chat.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Adds real value beyond the annotations by exposing the confirmation workflow and the environment/allow-list gates that must hold before the call succeeds. However, it omits a key side effect for a pin operation: whether pinning replaces an existing pinned message in the chat, and what the response or failure mode looks like. Annotations already cover idempotency and the non-destructive hint, so the remaining gap is the missing replacement semantics.

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 front-loaded sentence: action first, then the alternate mode, then the approval and environment gates. Dense but readable; the allow-list and env-var clauses read as a slightly compressed run-on that could be split for scanability.

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?

Covers the majority of what an agent needs for a gated mutation: required confirm, approval sequencing, and environment preconditions. It lacks the pin-replacement behavior and any note on error/return shape (no output schema exists to carry that), which is a meaningful gap for a state-changing chat operation.

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 75%, and the undocumented parameter (unpin) is exactly the one the description explains, so it compensates for the coverage gap. chatId, messageId, and confirm are documented in the schema with their sources, so the description need not repeat them.

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?

Names a specific verb and resource ("Pin a message") and immediately discloses the second mode ("unpin it with unpin: true"). No sibling in the catalog does pinning, so there is nothing to disambiguate against, but the description itself leaves no ambiguity about what the call does.

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 preconditions for use: user approval before setting confirm: true, the chat must be in RUBIKA_WEB_ALLOWED_CHATS, and NABU_MESSAGING_ENABLE_SEND=1 must be set. It does not state when-not to use it or what to do if a message is already pinned, so it stops short of a full when/how-not statement.

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