files_get_shares
Get where a file has been shared (undocumented).
This record as markdown: /tools/karbassi-slack-mcp/files-get-shares.md
What files_get_shares does on Slack
AI agents call files_get_shares to retrieve information from Slack without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why files_get_shares is rated Low
This tool queries metadata about file sharing distribution without modifying, executing operations, or deleting data. While the read access is over potentially sensitive sharing information (which could expose organizational structure or collaboration patterns), the lack of side effects and irreversibility places it in Read category.
From the tool's definition Tool name is 'files_get_shares' with description 'Get where a file has been shared'. The verb 'Get' and action 'retrieves' information about file sharing locations indicate a read-only query operation.
Attacks that exploit this kind of access
The rule that runs files_get_shares safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Slack, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For files_get_shares, this is the rule to start with:
files_get_shares is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Slack, apply this rule, and every files_get_shares call is checked against it from then on.
Questions about files_get_shares
Get where a file has been shared (undocumented). It is categorised as a Read tool in the Slack MCP Server, which means it retrieves data without modifying state.
Register the Slack MCP server in PolicyLayer and add a rule for files_get_shares: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Slack. Nothing to install.
files_get_shares is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the files_get_shares rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for files_get_shares. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
files_get_shares is provided by the Slack MCP server (karbassi/slack-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Slack, and thousands of servers like it.
This server
Across the catalogue