Skip to main content
Glama
GavinTomlins

rocketchat-mcp-server

by GavinTomlins

download_file

Read-only

Download a file from a Rocket.Chat server, returning it as an image, text, or base64 blob with SSRF protection and a 25 MB cap.

Instructions

Download a file from the configured Rocket.Chat server.

Returns an image, plain text, or a base64 blob depending on content type. Only fetches from the configured server host (SSRF-guarded, 25 MB cap).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
Behavior5/5

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

Annotations provide readOnlyHint=true, and the description adds significant behavioral context: it discloses SSRF protection and a 25 MB cap, which are beyond what annotations offer. There is no contradiction; the tool is indeed a read operation.

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?

The description is two sentences, front-loading the core purpose and return types. Every sentence adds value with no redundancy.

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?

Given the low complexity (one parameter, no output schema), the description covers purpose, return types, and constraints adequately. It does not mention error handling or invalid URLs, but the essential context is present.

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?

With 0% schema description coverage, the description must compensate for the lone 'url' parameter. It explains the URL must be from the configured server but does not specify format or how to obtain it (e.g., from list_room_files). This adds some meaning but leaves room for ambiguity.

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

Purpose5/5

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

The description clearly states the verb 'download' and the resource 'file from the configured Rocket.Chat server'. It also specifies return types (image, plain text, base64 blob), distinguishing it from siblings like send_file (upload) and list_room_files (list).

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?

The description implies usage for downloading files from the server and mentions constraints (SSRF-guarded, 25 MB cap). However, it does not explicitly state when not to use it or name alternative tools for uploading or listing files, though the context from sibling names provides some differentiation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GavinTomlins/rocketchat-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server