Skip to main content
Glama
karbassi

slack-mcp

by karbassi

files_upload_v2

Upload file content directly to Slack by providing the file contents as a string, with optional filename, title, channel, comment, and thread settings.

Instructions

Upload file content (v2).

Runs Slack's recommended upload flow (get upload URL, upload, complete) via the slack_sdk helper. Takes the file contents directly — it does not read from the host filesystem.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoTitle of the file shown in Slack.
channelNoID of the channel to share the uploaded file into (e.g. ``C0123``).
contentYesFile contents to upload as a string.
filenameNoName of the file (e.g. ``notes.txt``).
thread_tsNoTimestamp of the parent message to share the file into as a thread reply (e.g. ``1700000000.0001``).
snippet_typeNoSyntax type of a snippet being uploaded (e.g. ``python``).
initial_commentNoMessage text to post alongside the file.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must carry full behavioral transparency. It discloses the multi-step flow and that it does not read from the host filesystem, but lacks details on authentication requirements, size limits, rate limits, or potential side effects.

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?

Two sentences with clear front-loading of the main action. Every sentence adds value, though the second sentence could be more impactful if placed first.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (7 parameters, output schema exists), the description lacks context on when to choose this over siblings, prerequisites (e.g., authentication scope), and behavior details like file size limits. Output schema partially compensates, but overall incomplete.

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 coverage is 100%, and the description adds minimal value beyond the schema. The description's note about taking file contents directly aligns with the 'content' parameter but doesn't provide new context for other parameters.

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 clearly states the tool uploads file content and runs Slack's recommended upload flow. It distinguishes from reading from the filesystem, but does not explicitly differentiate from siblings like files_upload (v1) beyond the version number.

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?

Provides implicit guidance by stating it takes file contents directly, implying use when content is a string. However, no explicit when-to-use or when-not-to-use compared to siblings like files_upload or files_get_upload_url_external.

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/karbassi/slack-mcp'

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