Skip to main content
Glama

Connected mailboxes

mail_accounts
Read-onlyIdempotent

The mailboxes the customer connected for the assistant, plus every domain on their hosting accounts with the mailboxes that exist there and whether each is connected. Each address is connected separately with connect_mailbox.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
domainsNo
mailboxesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so safety is covered. The description adds that results are composite, including unconnected mailboxes and per-address connection state, which is genuinely useful scoping information, but it says nothing about ordering, pagination, or freshness of the connection data.

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?

Two short sentences with no filler, and the composite scope is front-loaded. The opening is a bare noun fragment ('The mailboxes the customer connected...') which reads slightly awkwardly but does not impede comprehension.

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?

With zero parameters, an output schema, and annotations covering the safety profile, the description only needs to convey scope, which it does. The remaining gap is minor: it does not clarify whether the connected-mailbox list is account-wide or scoped to something, but nothing required for a correct call is missing.

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 there is nothing for the description to disambiguate; the baseline for a parameterless tool applies. No misleading parameter hints are present.

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 names the exact resource: mailboxes connected for the assistant plus every hosting-account domain with its mailboxes and per-address connection status. It is framed as a noun phrase rather than an explicit verb, but the read-only listing intent is unambiguous and clearly distinct from connect_mailbox.

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?

By stating that 'each address is connected separately with connect_mailbox,' it implicitly routes the agent to that sibling for the write action and positions this tool as the discovery view. However, it never says when to use this versus mail_list_messages or email_settings, nor any exclusions.

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.