Skip to main content
Glama
iskifogl

mcp-server-google-workspace

by iskifogl

gmail_list_emails

List recent Gmail emails with optional filters by time, quantity, and search query. Returns email metadata and content.

Instructions

List recent emails from Gmail inbox with optional filtering. Returns email metadata and content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hoursNoNumber of hours to look back (default: 24)
maxResultsNoMaximum number of emails to return (default: 50, max: 100)
queryNoGmail search query (e.g., "from:user@example.com", "has:attachment", "is:unread")
Behavior2/5

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

No annotations provided, so description must fully disclose behavior. It states 'Returns email metadata and content' but is vague on what that includes (e.g., body, attachments). No mention of auth, rate limits, or non-destructive nature.

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?

Two efficient sentences, front-loaded with key action. Could include a brief example or more structure, but overall concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, so description should explain return format. It does not specify whether 'content' includes full body or snippet, nor pagination or default ordering. Incomplete for a 3-parameter tool with no annotations.

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 baseline is 3. Description adds no extra detail beyond the schema's parameter descriptions, merely summarizing 'optional filtering'.

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?

Clearly states verb 'List' and resource 'emails from Gmail inbox'. Mentions optional filtering and return content, distinguishing it from gmail_read_email (specific email) and gmail_search_emails (broader search).

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus siblings like gmail_search_emails or gmail_read_email. The description implies for recent inbox emails but does not set boundaries or alternatives.

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/iskifogl/mcp-server-google-workspace'

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