Skip to main content
Glama

RSpace MCP Server

Official
by rspace-os

uploadAndAttachFile

Upload a file to RSpace and attach it directly to a document as a file attachment, supporting all file types including images, PDFs, and data files.

Instructions

Uploads a file to RSpace and attaches it to a document as a proper file attachment

Usage: One-step process to upload any file and attach it to an RSpace document File types: Supports all file types (images, PDFs, data files, protocols, etc.) Attachment: Creates proper RSpace file attachment, not just a link

Parameters:

  • document_id: RSpace document ID (numeric or global ID like "SD12345")

  • file_path: Path to the file to upload (e.g., "data/results.pdf")

  • caption: Optional caption that appears with the attachment

  • description: Optional description for the uploaded file

Returns: Upload confirmation and document update information

Input Schema

NameRequiredDescriptionDefault
captionNo
descriptionNo
document_idYes
file_pathYes

Input Schema (JSON Schema)

{ "properties": { "caption": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Caption" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "document_id": { "anyOf": [ { "type": "integer" }, { "type": "string" } ], "title": "Document Id" }, "file_path": { "title": "File Path", "type": "string" } }, "required": [ "document_id", "file_path" ], "type": "object" }

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/rspace-os/rspace-mcp'

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