Skip to main content
Glama
Rubika MCP
by NabuxAi

Rubika bot: delete

rubika_bot_delete_message
DestructiveIdempotent

Delete a message the bot previously sent in a Rubika chat, group, or channel. Irreversible; requires explicit confirmation, an allowlisted chat, and sending enabled before it runs.

Instructions

Delete a message the bot sent. Cannot be undone. Needs confirm: true, the chat in RUBIKA_ALLOWED_CHAT_IDS 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_bot_delete_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatIdYesRubika chat, group or channel id for the bot.
confirmYesMust be true, and only after the user has explicitly approved this exact action.
messageIdYesId of a message this bot sent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description still adds non-obvious operational context — the allowlist membership requirement and the messaging send-flag gate — that the agent cannot learn from annotations alone. "Cannot be undone" reinforces rather than contradicts destructiveHint, and the confirm-approval requirement is spelled out.

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?

Three short sentences, front-loaded with the action and its irreversibility before the prerequisites. Slight redundancy: "Needs confirm: true" restates a schema constraint, though doing so is defensible for a destructive operation.

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?

For a destructive, no-output-schema tool, the description covers what is destroyed, that it is irreversible, and what gates must pass. It never states what a successful or failed call returns, which is the only notable gap for an agent that may need to report the outcome.

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 schema already documents all three parameters and the baseline is 3. The description earns the extra point by adding an external constraint on chatId (it must be an allowed chat) that the schema does not mention.

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?

"Delete a message the bot sent" gives a specific verb and resource with a meaningful scope qualifier (bot-sent messages only), which implicitly separates it from the sibling rubika_web_delete_messages. It stops short of naming that alternative, but an agent can still tell the two apart.

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?

The description supplies concrete preconditions for use (chat present in RUBIKA_ALLOWED_CHAT_IDS, NABU_MESSAGING_ENABLE_SEND=1, confirm: true), which is genuine when-to-use guidance. It does not, however, address when to prefer this over rubika_bot_edit_message or the web-session delete path, so alternatives remain implicit.

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