Skip to main content
Glama
Edison-Watch

mcp-template

by Edison-Watch

gmail_list_inbox

List recent Gmail inbox messages filtered by search query. Retrieve thread IDs for full conversation viewing.

Instructions

List recent inbox messages, optionally filtered by a Gmail search query. When the user asks to find or open a specific email, ALWAYS follow up by calling gmail_get_thread with the thread_id to render the full conversation in an interactive UI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryNo
user_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messagesYes
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions 'recent' but does not define recency, nor does it describe side effects (e.g., marking as read), rate limits, or pagination behavior.

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?

The description is concise (two sentences) and front-loaded with the core purpose. Every sentence adds value without redundancy.

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?

The description provides a minimal overview, but given that an output schema exists, return values need not be detailed. However, it omits important context such as message details returned, authentication requirements, and any limitations (e.g., only metadata).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It only hints at the 'query' parameter by mentioning Gmail search query, but provides no explanation for 'limit' or 'user_id', leaving their meanings unclear.

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 clearly states the tool's purpose: listing recent inbox messages with optional filtering. It uses specific verbs and resources (list, inbox messages) and distinguishes from siblings like gmail_get_thread by implying it's for listing, not retrieving a single thread.

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?

The description explicitly instructs the agent to follow up with gmail_get_thread when a user asks for a specific email, providing clear guidance on when to use this tool and what to do next.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Edison-Watch/Custom-MCPs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server