Skip to main content
Glama

AIsa Agent Mail

List Account List Entries

get_agentmail_list_entries
Read-onlyIdempotent

Lists the account-wide allow or block entries that apply to every inbox. direction selects inbound or outbound and type the list kind. Returns count, limit, next_page_token and entries; page with next_page_token. Each entry carries entry, entry_type, reason, direction, list_type, created_at and read_only. This is the organization-wide view spanning every inbox in the account. Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created; the inbox-scoped twin get_agentmail_inbox_list_entries is the one to use when a single inbox is meant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesType of list entry.
limitNoLimit of number of items returned.
directionYesDirection of list entry.
page_tokenNoPage token for pagination.
AuthorizationYesBearer authentication

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive behavior. The description adds useful context: pagination via next_page_token, the returned entry fields, and the cross-caller reach of the operation. There is no contradiction with annotations.

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?

The description is front-loaded with the core purpose and each sentence contributes scope, parameter, return format, or differentiation information. It is slightly longer than strictly necessary, but it does not waste words.

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 read-only list tool with an output schema and rich annotations, the description is complete: it covers account-wide versus inbox-scoped semantics, pagination, return fields, and the relevant sibling tool. Nothing essential for correct invocation 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 coverage is 100%, so the baseline is 3; the description does add conceptual meaning by explaining direction and type in the list context. However, its 'inbound or outbound' phrasing glosses over the schema's send/receive/reply enum, so it does not substantially improve on the schema.

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 opens with a precise verb and resource: it lists account-wide allow/block list entries. It explicitly names the account scope and contrasts itself with the inbox-scoped twin get_agentmail_inbox_list_entries, so an agent can distinguish it from siblings without inspecting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly states that this is the organization-wide view spanning every inbox, notes that every AIsa caller shares one account, and explicitly directs agents to the inbox-scoped sibling when a single inbox is intended. This is concrete when-to-use and alternative guidance.

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