Skip to main content
Glama

upload_file

Upload text content or disk files to one or more Slack channels. Optionally set a title, filename, or attach to a thread.

Instructions

Upload a file to one or more Slack channels. Provide either 'content' (UTF-8 text only) or 'file_path' (disk path for binary or text files), not both.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoOptional display title for the file
contentNoFile content as text (mutually exclusive with file_path)
channelsYesList of channel IDs to share the file in (max 100)
filenameYesName for the uploaded file
file_pathNoPath to file on disk (mutually exclusive with content)
thread_tsNoOptional thread timestamp to attach upload to a thread

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.8

TDQS

A3.6/5.0
Behavior2/5

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

There are no annotations, so the description carries the full burden of behavioral disclosure. It mentions the action and the content/file_path constraint, but does not disclose required permissions, file size limits, side effects such as file visibility to channel members, or what happens on failure. This is a write operation with minimal safety or side-effect context.

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 a single, tightly constructed sentence that front-loads the core action and then delivers the most important parameter constraint. There is no redundant wording or filler.

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 straightforward upload tool with a fully described schema, the description covers the critical usage decision (content vs file_path) and the destination. It could add auth requirements or output details, but the essential information needed to invoke the tool correctly is present.

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 coverage is 100%, so the baseline is 3, but the description adds meaningful semantic detail beyond the schema: content must be UTF-8 text only, while file_path accepts binary or text files, and the two are mutually exclusive. This directly helps the agent choose the correct parameter.

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 identifies the operation ('Upload a file'), the resource ('file'), and the destination ('one or more Slack channels'). It is distinct from sibling tools like share_file or list_files because it explicitly says 'upload,' which signals creating/uploading a new file.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not mention when to use this tool versus alternatives, particularly the close sibling share_file. It provides no exclusion criteria such as 'use share_file for sharing an existing file,' leaving the agent to infer the distinction from the tool name alone.

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