Skip to main content
Glama
gamalan

mcp-email-client

by gamalan

get_emails_by_date

Retrieve emails within a specified date range using the configured email account. Provide start and end dates to filter results.

Instructions

Get emails within a date range

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesEmail configuration name
limitNoMaximum number of results (default: 100)
end_dateNoEnd date in ISO format (YYYY-MM-DD), defaults to today if not provided
start_dateYesStart date in ISO format (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

Without annotations, the description carries the full transparency burden. It implies a read-only operation ('Get emails') but does not explicitly state safety, side effects, or any constraints such as authentication or configuration 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, concise sentence with no unnecessary words or repetition. It is well-structured and easy to parse.

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?

Given the variety of sibling tools, the description is too minimal to be fully self-contained. It lacks information about output format, ordering, pagination, and the exact role of the 'name' parameter, which could lead to confusion when selecting among similar email retrieval tools.

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?

The schema covers all four parameters with descriptions (name, start_date, end_date, limit), including defaults for end_date and limit. This meets the baseline for schema coverage, though 'name' could be more detailed regarding what constitutes an email configuration.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (get emails) and the scope (within a date range), which distinguishes it from tools like get_all_emails. However, it does not explicitly mention the 'name' parameter, which might cause slight ambiguity regarding configuration context.

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

Usage Guidelines1/5

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

The description provides no guidance on when to use this tool compared to alternatives like search_emails or get_all_emails. It lacks any mention of the preferred use case or conditions that would make this tool the right choice.

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