Skip to main content
Glama

list_mail_accounts

Read-onlyIdempotent

List Paperless mail accounts to find the account ID required for mail rules. Returns account details without exposing passwords.

Instructions

List Paperless mail accounts for selecting the account ID needed by mail rules. Does not expose account passwords.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
page_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description contributes one useful disclosure beyond them — that passwords are never returned — but says nothing about result volume, pagination behavior, or default page size despite accepting page/page_size.

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 tight sentences: purpose and intended use first, the password caveat second. No filler, no restatement of the tool name, and the key routing information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only list tool with annotations covering safety and no output schema to explain, the description is largely sufficient. The remaining gap is pagination semantics (page/page_size defaults and limits), which an agent would need in order to page through results reliably.

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 0% and the description says nothing about the two pagination-style parameters, so it does not compensate for the schema gap. With only two optional parameters and no enums or nesting, the omission is low-risk, keeping this at a minimum-viable level rather than a severe failure.

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 a specific verb and resource ("List Paperless mail accounts") and adds the downstream purpose (obtaining an account ID for mail rules), which lets an agent distinguish it from get_mail_account or rule-mutation siblings. It stops short of explicitly naming which sibling to use for single-account lookups.

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 agent learns it should call this when it needs an account ID for mail rules, which is genuine routing context. There is no explicit when-not guidance and no mention of get_mail_account as the alternative for retrieving one specific account.

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