Skip to main content
Glama

test_mailbox

Read-only

Try the stored credentials of one mailbox, without reading or sending anything: IMAP logs in and lists, SMTP authenticates and hangs up. Required: mailbox_id OR email. The server's own answer is passed through verbatim — it says whether the password is wrong, the account locked, or an app password required, and that text is the instruction.

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_mailbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoEmail address
mailbox_idNoID of the mailbox

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / email / description
      Added value: +"Email address"
    • addedInput schema / properties / mailbox_id / description
      Added value: +"ID of the mailbox"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the readOnlyHint/openWorldHint annotations: it names the exact protocols and sequence ('IMAP logs in and lists, SMTP authenticates and hangs up'), so the agent knows a server LIST happens and a connection closes. It also discloses that the raw server response is passed through verbatim and that the diagnostic wording, not a summary, governs the interpretation.

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 sentences, front-loaded with purpose, then constraint, then return-handling guidance. No boilerplate or restated annotations; every clause carries actionable detail.

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, and the description compensates by explaining what the response looks like (raw server text with failure classifications such as wrong password, locked account, app password required). Minor gap: it does not state what a successful log-in result looks like, so an agent knows how to read a failure but not a pass.

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

Parameters5/5

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

Schema simply declares both properties as optional (0 required), so the schema alone would leave an agent unsure what to pass. The description resolves this by stating 'Required: mailbox_id OR email', supplying the mutual-exclusivity/at-least-one rule the schema does not encode.

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 specific verb and resource in the first clause ('Try the stored credentials of one mailbox') and immediately bounds the scope ('without reading or sending anything'). 'One mailbox' separates it from the many test_*_connection siblings that probe other systems.

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?

It conveys when this tool applies — validating one mailbox's saved credentials — and states the identifier requirement (mailbox_id OR email) up front. It does not name an alternative or say when not to use it, so it stops short of full when/when-not routing.

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.