Skip to main content
Glama
Slack MCP Server

Slack MCP Server

by mynghn

refresh_credentials

Manually refresh Slack user credentials (token and cookie) to restore authenticated access. Returns success status and error details; available only when using user token authentication.

Instructions

Manually trigger a refresh of Slack user credentials (token and cookie). Returns the refresh result including success status and any error details. Only available when using user token authentication.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "refresh_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
errorNo
messageNo
successYes
refreshedAtNo
totalRefreshesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/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 behavioral burden. It discloses the manual refresh action, the credential types affected, the return shape, and the user-token prerequisite, but it does not describe side effects such as whether old tokens are invalidated, rate limits, or failure recovery behavior.

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 three tight sentences with no wasted wording. The purpose is front-loaded, followed by return behavior and the authentication constraint.

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?

An output schema exists, so the description does not need to fully explain return values, though it helpfully summarizes them. For a zero-parameter credential action, the description covers the essential purpose and availability, with only minor gaps around side effects and safety.

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?

The tool has zero parameters, so the baseline is 4. The description adds no parameter meaning because there are no parameters to explain, which is appropriate.

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 states a specific action ('Manually trigger a refresh') and a specific resource ('Slack user credentials (token and cookie)'). It is clearly distinct from the read-oriented sibling tools such as message search and channel listing.

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?

The description provides an important availability condition: 'Only available when using user token authentication.' However, it does not say when a refresh should be invoked (for example, after auth failures) or name alternatives because none exist in the supplied sibling set.

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