Skip to main content
Glama
Rubika MCP
by NabuxAi

Rubika (own account): download media

rubika_web_download_media

Save a photo, video, or file from a specific Rubika message to the downloads folder and return its path.

Instructions

Save one message's photo, video or file under NABU_MESSAGING_FILE_ROOT/downloads/ and return its path.

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>"
    },
    "name": "rubika_web_download_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatIdYes"me" for Saved Messages, @username, or an object guid from messaging_web_list_chats
messageIdYesmessageId from read_chat.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

The description discloses the concrete side effect the annotations leave opaque: a file is written under NABU_MESSAGING_FILE_ROOT/downloads/, and the call returns that path. This complements readOnlyHint=false and destructiveHint=false by showing the write is local and non-destructive. It does not explain the non-idempotent behavior (idempotentHint=false), e.g. whether repeated calls create duplicate files or overwrite.

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?

A single sentence that front-loads the action and resource before the destination path and return value. Every clause carries information; there is no 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?

For a two-required-parameter tool with no output schema, the description covers what it does, where the artifact lands, and that the path is returned, which is enough to invoke it correctly. Missing are failure semantics (message without media, oversized file) and auth/prerequisite context.

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 description coverage is 100%, with both chatId and messageId documented in the schema, so the description is not required to carry parameter meaning. Saying 'one message's' reinforces that messageId scopes the call but adds no format or edge-case detail beyond the schema.

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 states a specific verb ('Save') and resource ('one message's photo, video or file'), plus the destination root, so an agent knows exactly what the call produces. It does not name the contrasting sibling (e.g. rubika_web_send_file for the upload direction), leaving differentiation to be inferred from the read/save framing.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no alternative is named; the only hint is 'one message's', which implies a prior message lookup. Nothing says what to do if the message contains no media, or how this differs from the other file-oriented tools in the sibling list.

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