Skip to main content
Glama

Mailbox File List

mailbox_file_list
Read-onlyIdempotent

List mailbox files with bounded pagination (100 by default, maximum 100). Use pagination.next_offset for subsequent pages. query searches file names/paths; folder lists immediate files. Use mailbox_email_list for received emails and durable arrival cursors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum files to return, up to 100; defaults to 100.
queryNoOptional case-insensitive contains-search over file names and paths.
folderNoOptional folder path to list only that folder's immediate files, name-ordered. Use "" or "/" for the mailbox root.
offsetNoOptional zero-based offset. Use pagination.next_offset for the next page.
reasonNoOptional reason for this action. AI agents should include a short purpose for intentional reads and changes when known. Do not invent a reason or include secrets, file contents, or transcripts.
account_idNoOptional account id from revdoku_status.accounts for this call only. Omit for the credential's default account. Client accounts require explicit Agency authorization; never infer an account from a mailbox id.
mailbox_idYesValue for mailbox id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYes
paginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the default and hard cap of 100 results, and the requirement to use pagination.next_offset for subsequent pages. It does not state result ordering outside the folder case or any rate limits, keeping it below 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?

Three compact sentences with zero filler, front-loaded on the primary verb and pagination constraint, then the disambiguating sibling reference. Every clause carries information the agent needs.

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?

An output schema exists, so return values need not be explained, and the description still supplies the key pagination contract (next_offset). With a 7-parameter schema fully documented and required mailbox_id clear, the definition is close to complete; only the query+folder interaction and result ordering are left implicit.

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 the schema already documents limit, query, folder, offset, account_id, and reason in detail. The description largely restates those semantics ('query searches file names/paths; folder lists immediate files') without adding format or edge-case detail beyond what the schema provides, so the baseline of 3 is appropriate.

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 states a specific verb and resource ('List mailbox files') and immediately scopes it with pagination bounds. It also explicitly separates this tool from mailbox_email_list, so an agent can distinguish it from the closest sibling without opening either schema.

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 tells the agent when to use this tool versus mailbox_email_list ('Use mailbox_email_list for received emails') and explains how to continue paging via pagination.next_offset. It lacks guidance on when to prefer mailbox_file_get or how query and folder interact when combined, so it falls short of full when/when-not coverage.

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.