Skip to main content
Glama
gaddobenedetti

MCP Email

getEmailsById

Retrieve specific inbox emails by their message IDs. Fetch full email details for selected IDs, returning a list of email objects for reading or processing.

Instructions

Returms a list of emails currenly in the inbox based on ID. Result is a list of dict objects representing the selected emails.

Args: ids: A list of integer based message IDs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes

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?

No annotations are supplied, so the description carries the full behavioral burden. It notes the return is a list of dict objects, but never says whether fetching marks messages as read, what happens to invalid/unknown IDs, ordering, limits, or permission requirements — significant gaps for an inbox-read tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and short, but it restates the same idea twice ("returns a list of emails" and "Result is a list of dict objects representing the selected emails") and contains typos ("Returms", "currenly") that reduce clarity.

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?

With no output schema, no annotations, and 0% parameter coverage, the description should carry everything; instead it omits error behavior for missing IDs, read-status side effects, and any bound on the ID list. The little it does provide is insufficient for a 1-param tool's full context.

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 0% and the array items are untyped, so the description does real work by specifying that ids are a list of integer message IDs. However it gives no constraints (max batch size, empty-list behavior, duplicate handling), so it only partially compensates for the coverage gap.

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 uses a clear verb+resource ("returns a list of emails ... in the inbox based on ID") so an agent knows it is a batch fetch-by-identifier. It does not explicitly distinguish itself from siblings like pollEmails or deleteEmailsById, so it falls short of a 5.

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?

There is no statement of when to use this over pollEmails (fetch latest) or deleteEmailsById, and no prerequisites or exclusions. Usage must be inferred entirely from the name, which is weak given four plausible sibling alternatives.

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