Skip to main content
Glama

files_upload

Uploads a file from the server filesystem to a Slack channel, with optional display filename override and initial comment.

Instructions

Uploads a file from the server filesystem to a Slack channel. Optionally overrides the display filename and adds an initial comment.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file_path": "<file_path>",
      "channel_id": "<channel_id>"
    },
    "name": "files_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNo
file_pathYes
channel_idYes
initial_commentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that the file is read from the server filesystem (not the client) and that filename and comment are optional additions, but it says nothing about size limits, permissions or membership requirements, whether the upload is persistent, or what happens on failure.

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?

Two tight sentences with the core action first and the two optional behaviors second. Nothing is redundant or padded.

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

Completeness3/5

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

For a four-parameter mutation with no annotations and no output schema, the description covers the essential mechanics but omits operational context an agent needs to call it reliably, notably channel-membership requirements, size or type restrictions, and error behavior.

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 0%, so the description must compensate, and it largely does: it clarifies that file_path refers to the server filesystem, that filename is a display-name override rather than a disk path, and that initial_comment is posted with the file. Only channel_id is left as self-evident by the destination phrase.

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?

States a specific verb and resource (uploads a file) plus both the source (server filesystem) and destination (Slack channel), which an agent can act on directly. It does not distinguish itself from siblings like messages_send, but no sibling appears to be a competing file-upload path, so the ambiguity cost is low.

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?

There is no when-to-use or when-not-to-use guidance, and no mention of prerequisites such as the file existing on the server or the app being a member of the target channel. The agent must infer usage entirely from the one-line purpose.

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