Skip to main content
Glama
chandshy
by chandshy

Setup & Connection Status

setup_status
Read-only

Diagnoses your mailpouch installation end-to-end and returns the single next action to get connected: check credentials, Proton Bridge reachability, and agent access approval. Works before credentials or approval.

Instructions

CALL THIS FIRST. Diagnoses the mailpouch install end-to-end and returns the single next action to get connected: whether credentials are configured, whether Proton Bridge is reachable, and whether this agent's access has been approved. Always available — works even before the agent is approved or credentials are set. Use get_connection_status afterwards for live IMAP/SMTP auth health.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idNoOptional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
imapNo
smtpNo
stateYesOverall install state — pick the next step from this.
nextStepYesThe single most-important action to take next.
usernameNo
configPathNoPath to the config file (default ~/.mailpouch.json; overridable via the MAILPOUCH_CONFIG env var). Redacted to '~/.mailpouch.json' for callers whose grant is not yet active.
configuredYesA username and Bridge password are configured.
grantStatusNoThis agent's per-agent grant state, or null when the local-agent gate is off.
insecureTlsNoTLS validation is disabled (no pinned Bridge cert).
configExistsNo
bridgeReachableYesBoth IMAP and SMTP Bridge ports accept TCP connections.
credentialStorageNo
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is clear. The description adds behavioral details like 'returns the single next action' and 'always available', which go beyond annotations and help the agent understand what happens.

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?

Description is three sentences, front-loaded with the imperative 'CALL THIS FIRST', and no redundant information. Every sentence adds value.

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?

Given the tool has an output schema (not shown but referenced), the description adequately explains what it returns (single next action) and when it's available. It covers all necessary context for a diagnostic tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema covers the single optional parameter (account_id) with a clear description (100% coverage). The main description does not add new parameter details, which is acceptable given the schema quality, earning a baseline score.

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 explicitly states 'CALL THIS FIRST' and clarifies it diagnoses end-to-end connectivity, listing specific checks (credentials, Proton Bridge reachability, agent access). It distinguishes itself from the sibling 'get_connection_status' by specifying the latter is for live IMAP/SMTP health.

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

Usage Guidelines5/5

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

The description provides clear usage context: 'CALL THIS FIRST' and 'Use get_connection_status afterwards'. It also notes it works even before the agent is approved or credentials are set, setting expectations for when to invoke.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chandshy/mailpouch'

If you have feedback or need assistance with the MCP directory API, please join our Discord server