Skip to main content
Glama

Sickle — every mailbox for your agent

Get mailbox info

mailbox_info
Read-only

Get one folder's stats: how many emails it holds, how many are recent, its UIDVALIDITY, and which flags it supports.

Input Schema

NameRequiredDescriptionDefault
emailYesThe email account address
mailboxYesMailbox/folder name (e.g. "INBOX", "Sent", "Drafts")

Output Schema

NameRequiredDescriptionDefault
flagsYesFlags this folder supports, e.g. "\\Seen", "\\Flagged".
recentYesHow many arrived since the last session opened the folder (IMAP RECENT).
mailboxYesThe folder these numbers describe.
email_countYesHow many emails the folder holds.
uid_validityYesIMAP UIDVALIDITY. If it changes, every UID seen in this folder before is invalid.

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=true and openWorldHint=false, so the safety profile is covered. The description adds useful detail about the stats exposed (counts, UIDVALIDITY, flags), but does not mention per-account scoping, error behavior for missing folders, or other operational context.

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?

A single front-loaded sentence that names the operation and enumerates the returned stats with no filler. Every clause contributes directly to understanding what the tool produces.

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 100% schema coverage, explicit read-only annotations, and an output schema, the description is largely complete for a simple read tool. It could be stronger by clarifying its relationship to list_mailbox_folders, but nothing critical for invoking it correctly is missing.

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 required parameters are fully documented in the schema. The description's "one folder" implies the mailbox parameter but adds no syntax, format, or semantic detail beyond what the schema provides, making the baseline 3 appropriate.

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?

States a specific verb ("Get") and resource ("one folder's stats") and enumerates the exact fields returned: email counts, recency, UIDVALIDITY, and supported flags. It is clearly distinguishable from list_mailbox_folders in intent, though it never names a sibling explicitly.

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 by "one folder's stats," but there is no explicit guidance on when to choose this over list_mailbox_folders or list_emails. No exclusions, prerequisites, or alternative-tool routing are provided.

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.

Resources