Skip to main content
Glama
benitomartin

Gmail Telegram MCP Server

by benitomartin

get_emails

Retrieve Gmail messages for a specified number of days and return JSON email data including sender, subject, date, and body.

Instructions

Fetch emails from Gmail for a specified number of days. Returns JSON array of emails with id, from, subject, date, and body fields.

Input Schema

NameRequiredDescriptionDefault
daysNo
max_resultsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the return shape (JSON array with id, from, subject, date, body), which is useful behavioral context, but says nothing about auth requirements, rate limits, or pagination behavior for large mailboxes.

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?

Two tight sentences: purpose first, return contract second. No filler, no redundancy.

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

Completeness4/5

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

For a two-parameter read tool with an output schema present, the description needn't restate return values, and purpose is fully covered. The remaining gap is the undocumented max_results parameter and absent auth/pagination context, which is minor given the tool's simplicity.

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% and nothing in the schema documents the two parameters. The description only vaguely gestures at 'a specified number of days' for the days parameter and never mentions max_results at all, leaving half the inputs unexplained.

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?

States a specific verb (fetch) and resource (emails from Gmail) plus the scoping dimension (number of days). The only sibling, tts_instagram_audio, is unrelated, so no differentiation is needed and an agent can immediately tell what this does.

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?

The description gives no guidance on when to use this tool versus alternatives, nor any prerequisites such as Gmail authentication or account scoping. Usage is only implied by the verb 'fetch'.

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

Deploy Server

Other Tools