Skip to main content
Glama
salviz

Google Workspace MCP Server

by salviz

gmail_list_history

Track Gmail mailbox changes by listing history from a specific history ID, with optional filters for label, event types, and pagination.

Instructions

List mailbox change history starting from a given history ID (from profile or message)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelIdNoFilter history to this label ID only
pageTokenNoPage token for pagination
maxResultsNoMax history records (default 50)
historyTypesNoComma-separated types: messageAdded, messageDeleted, labelAdded, labelRemoved
startHistoryIdYesHistory ID to start from (get from gmail_profile or message historyId)
Behavior2/5

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

No annotations provided, so description must disclose behavioral traits. It only states the action without mentioning that it is read-only, implications of invalid history IDs, rate limits, or authentication requirements.

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 a single, focused sentence that immediately conveys the tool's purpose without any extraneous words.

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?

The tool has 5 parameters and no output schema, but the description omits what the output contains (list of history records) and how pagination works. Details about filtering and limits are left to parameter descriptions, missing a high-level overview.

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?

Schema coverage is 100% so parameters are documented. The description adds valuable context that startHistoryId comes from a profile or message historyId, which enhances understanding beyond 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 clearly states the tool lists mailbox change history, specifying the verb 'list' and the resource 'mailbox change history' with a clear starting point from a history ID. This differentiates it from siblings like gmail_list or gmail_search that handle messages directly.

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 guidance on when to use this tool versus alternatives like gmail_list or gmail_search. The description does not specify prerequisites or context, such as needing a history ID from gmail_profile or message.

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

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