Skip to main content
Glama
oviron

slack-personal-mcp

by oviron

slack_upload_file

Upload a local file to a Slack channel, DM, or thread as yourself, with an optional comment and title.

Instructions

Upload a local file to a Slack channel/DM AS THE USER, with an optional comment. Same style gate as slack_send_message applies to initial_comment and title. channel_id: C.../G.../D..., or a user id U... to upload into the DM with that person (your own id = your self-DM; needs im:write). thread_ts: upload as a thread reply. file_path: absolute path inside SLACK_FILE_ROOTS (default: home and temp folders; hidden files and ~/Library refused). title: file title, defaults to the filename.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
file_pathYes
thread_tsNo
workspaceYes
channel_idYes
allow_promiseNo
initial_commentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the description's job is to add context: it does, disclosing that the file is uploaded as the user, that a self-DM requires im:write, that filesystem access is sandboxed to SLACK_FILE_ROOTS, and that the message style gate applies. It omits size limits and failure behavior, so not a 5.

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?

Front-loads the action, then lists per-parameter guidance in a compact line-per-parameter layout with little waste. The cross-reference to slack_send_message's style gate assumes prior knowledge of a sibling, which costs a bit of clarity.

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 mutating, multi-parameter upload tool with an output schema and annotations, the description covers identity, scoping, threading, and path sandboxing. Gaps remain around the undocumented workspace/allow_promise parameters and any size or failure constraints, but nothing critical to calling it is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate and it largely does: channel_id formats, thread_ts semantics, file_path constraints, title default to filename, and initial_comment via the style gate. Two of seven parameters, workspace and allow_promise, are never explained.

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?

States a specific verb and resource (upload a local file to a Slack channel/DM) plus the identity it acts under (AS THE USER) and an optional comment. It is trivially distinguishable from slack_download_file and from the message-editing siblings.

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?

Gives concrete usage conditions: channel_id accepts C/G/D or a U id for a DM (with im:write caveat) and thread_ts turns the upload into a thread reply. It also states exclusions (hidden files and ~/Library are refused, path must be inside SLACK_FILE_ROOTS). It stops short of naming an alternative tool or when-not to upload.

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