Skip to main content
Glama

test_mattermost_connection

Read-only

Check that the Mattermost connection works: reads the account the token belongs to and lists the teams it can see. Use this right after entering the server address and bot token — a wrong address answers 404 and a wrong token 401, and this call tells the two apart. Changes nothing.

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": "test_mattermost_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; "Changes nothing" largely echoes that. The description does add real behavioral context the annotations cannot: it performs live network reads of account and team data, and error responses map to distinct failure causes (404 vs 401), which is useful diagnostic signal.

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?

Three short sentences, front-loaded with what the call does, then when to call it, then the failure semantics. No redundant wording and each clause carries distinct information.

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

Completeness5/5

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

With no output schema, the description still tells the agent what comes back (the account and the visible teams) and how errors are surfaced (404 vs 401). For a zero-parameter diagnostic tool this is sufficient to invoke and interpret correctly.

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 takes zero parameters, so the baseline is a 4; there is nothing for the description to disambiguate. It correctly implies the server address and token are supplied through prior configuration rather than arguments.

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 concrete verb and scope: it verifies the Mattermost connection by reading the token's account and listing visible teams. That is specific enough for an agent to know exactly what the call does and to distinguish it from the sibling test_*_connection tools for other services.

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 explicit timing guidance — use it right after entering the server address and bot token — and explains the diagnostic value of a 404 (bad address) versus a 401 (bad token). It does not state when not to use it, but no plausible alternative within this service is presented, so the gap is minor.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.