Skip to main content
Glama

AIsa Agent Mail

Get Inbox

get_agentmail_inbox
Read-onlyIdempotent

Fetches one inbox by inbox_id. Returns inbox_id, email, display_name, client_id, pod_id, metadata, created_at and updated_at — settings only, no mail. For the messages in it use get_agentmail_inbox_messages, for conversations get_agentmail_inbox_threads. Discover ids with get_agentmail_inboxes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inbox_idYesThe ID of the inbox.
AuthorizationYesBearer authentication

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, but the description adds behavioral nuance: it returns settings only, no mail, and lists the exact fields. This goes beyond the structured annotations, clarifying the scope of the read operation.

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 sentences with no filler. The main action is front-loaded, followed by the return fields, a clarifying exclusion, and pointers to related tools. Every sentence earns its place.

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?

The description covers what the tool returns (settings fields), what it does not return (mail), how to find IDs, and where to go for messages and threads. With an output schema present and strong annotations, nothing essential is missing for correct invocation.

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?

Both parameters are fully documented in the schema (inbox_id and Authorization) with descriptions, so schema coverage is 100%. The description adds no additional parameter-level detail beyond referencing inbox_id in the action, which is redundant. 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 ('Fetches') and resource ('one inbox by inbox_id'), lists the returned fields, and explicitly distinguishes from sibling tools that handle messages and threads by naming them. It leaves no ambiguity about what this tool does.

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?

Provides explicit routing: 'For the messages in it use get_agentmail_inbox_messages, for conversations get_agentmail_inbox_threads. Discover ids with get_agentmail_inboxes.' This tells the agent exactly when to use this tool versus alternatives and how to find the required inbox_id.

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