Skip to main content
Glama
mienetic

Ghostvault

by mienetic

Read Gmail Inbox

gv_read_gmail
Read-only

Reads Gmail inbox messages from the active Google account, returning recent emails with subject, sender, and snippet. Use to access email content directly.

Instructions

Read the Gmail inbox of the active account.

Returns recent messages as [{id, subject, sender, snippet, url, date}, ...]. Gmail's DOM changes often — if this returns empty, use gv_open_url to mail.google.com and google_get_page_content (with screenshot) instead.

Args: limit: Max number of messages (default 20, max 50).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already set readOnlyHint=true, confirming read-only behavior. Description adds 'Gmail's DOM changes often — if this returns empty...' which warns of potential instability and suggests workaround. No contradictions.

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?

Four sentences, each serving a distinct purpose: action, return format, fallback strategy, and parameter details. No redundancy, well-structured, and front-loaded with core purpose.

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?

Comprehensive for a simple read tool: describes return format with fields, parameter constraints, and fallback behavior. Output schema hinted by the fields listed. No gaps given the low complexity.

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

Parameters4/5

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

Only parameter 'limit' described with default (20) and max (50). While schema provides default, description adds max constraint and clarifies it's the number of messages. Schema coverage is 0%, so description compensates significantly.

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?

Description clearly states 'Read the Gmail inbox of the active account' with specific verb and resource. It distinguishes from siblings like gv_open_url and google_get_page_content by focusing on reading inbox versus browsing or page interaction.

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?

Explicitly advises when to use alternatives: 'if this returns empty, use gv_open_url to mail.google.com and google_get_page_content (with screenshot) instead.' This provides clear fallback and context for when the tool may not be effective.

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/mienetic/Ghostvault'

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