Skip to main content
Glama

upload_file

Upload files to Slack channels by providing file content, filename, and target channels. Share documents and data directly within your Slack workspace for team collaboration and file distribution.

Instructions

Upload a file to Slack

Input Schema

NameRequiredDescriptionDefault
channelsYesArray of channel IDs to share the file to
contentYesFile content
filenameYesFilename
initial_commentNoInitial comment
titleNoFile title

Input Schema (JSON Schema)

{ "properties": { "channels": { "description": "Array of channel IDs to share the file to", "items": { "type": "string" }, "type": "array" }, "content": { "description": "File content", "type": "string" }, "filename": { "description": "Filename", "type": "string" }, "initial_comment": { "description": "Initial comment", "type": "string" }, "title": { "description": "File title", "type": "string" } }, "required": [ "channels", "content", "filename" ], "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/Hais/slack-bot-mcp'

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