Skip to main content
Glama

mail_accounts

Read-only

Lists accessible mailboxes and their permissions (read, draft, move/mark, send) so you can choose the right account before reading, searching, or sending mail.

Instructions

List the mailboxes post. can access and what it may do (read, draft, move/mark, send). Call this first if unsure which account to use.

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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, destructiveHint=false and openWorldHint=false, so the safety profile is settled. The description still adds something beyond them: it discloses the shape of the result (accounts plus permitted actions), which matters because there is no output schema. It does not cover failure modes or whether an empty list is possible, so not a 5.

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?

Two short sentences, zero filler, and the statement of what is returned is front-loaded ahead of the ordering advice. Every clause carries information an agent needs.

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?

For a parameterless, read-only, side-effect-free discovery tool with no output schema, the description supplies the one thing the structured fields cannot: what comes back and why to call it before anything else. Nothing material 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 the baseline of 4 applies. Nothing in the description needs to explain argument meaning, and it correctly avoids inventing options the schema would have to support.

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 gives a specific verb and resource ("List the mailboxes") plus the result scope: which mailboxes the caller can access and which capabilities it holds on each (read, draft, move/mark, send). That capability enumeration is genuinely distinct from the read/search/draft siblings, so an agent can tell this is a discovery tool rather than a content tool.

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?

"Call this first if unsure which account to use" is explicit, actionable when-to-use guidance that positions the tool at the start of a workflow. It stops short of stating when not to call it or naming a specific alternative for the case where the account is already known, which keeps it out of the 5 band.

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