Skip to main content
Glama

workspaces_mailboxes_test_connection_create

Opens a real connection and authenticates. With the default protocol: "all", every protocol the mailbox has enabled is tested — both for a dual-protocol mailbox, just the one that applies otherwise. Returns results with a per-protocol {protocol, success, message}; if any protocol fails the call is a 400 whose error summarises the failures.

Method: POST /api/v1/workspaces/{workspace_sqid}/mailboxes/test-connection/

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": {
      "sqid": "<sqid>"
    },
    "name": "workspaces_mailboxes_test_connection_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYesMailbox to test.
protocolNoWhich protocol to test. `all` (the default) tests every protocol the mailbox has enabled — both for a dual-protocol mailbox, just the one that applies otherwise. Naming a protocol the mailbox does not have enabled is a 400. * `smtp` - smtp * `imap` - imap * `all` - allall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: it discloses that a real network connection and authentication occur, that every enabled protocol is exercised by default, the per-protocol `results` shape, and that any failure surfaces as a 400 whose `error` summarizes failures. It omits credential/permission prerequisites and any side effects such as lockout or rate limiting after repeated failed attempts.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Content is front-loaded with the core action, then the default behavior, then the return/error shape, and the endpoint line is placed last. It is dense but each sentence conveys real information; the only waste is mild repetition of the `all` default already stated in the schema.

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?

There is no output schema, so the description's account of `results` as per-protocol `{protocol, success, message}` and the 400 error envelope is exactly the right compensation. For a two-parameter test operation the definition is nearly sufficient, with authentication prerequisites being the main remaining gap.

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?

Schema description coverage is 100%, so both `sqid` and `protocol` are already documented in the schema, including the enum meaning and the 400 condition. The description largely restates that protocol behavior rather than adding syntax, format, or scoping detail beyond it; baseline 3 applies.

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?

The description uses a specific verb+resource combination ("opens a real connection and authenticates" for a mailbox connection test) and states its scope via the protocol selection. It is clear what the tool does, but it does not explicitly differentiate itself from the sibling workspaces_mailboxes_health_check_create, which an agent might reasonably consider for the same goal.

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?

Usage is implied rather than stated: the description explains the default `all` behavior and warns that naming a non-enabled protocol yields a 400, which helps the caller pick a value. It never says when to reach for this versus health_check or when not to use it (e.g., for a mailbox not yet provisioned).

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.