Skip to main content
Glama
ktrann24

yahoo-mail-mcp

by ktrann24

get_message_headers

Read-onlyIdempotent

Retrieve cached email headers including sender, subject, date, size, and safe unsubscribe methods for a given account, folder, and UID, enabling safe inbox auditing without downloading message bodies.

Instructions

Get the cached headers for one exact account/folder/UID reference.

Includes sender, subject, date, size, decision and safe unsubscribe method names. It never returns raw unsubscribe links or a message body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYes
folderYes
accountYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds value by specifying that the tool 'never returns raw unsubscribe links or a message body' and lists what is included, enhancing behavioral understanding beyond the annotations.

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 concise at three sentences, front-loading the primary action and efficiently listing contents and exclusions with no redundant information.

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

Completeness3/5

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

For a simple retrieval tool with three required parameters and no output schema, the description covers output behavior adequately but lacks parameter details, leaving the agent to infer parameter usage from names alone.

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?

With schema coverage at 0%, the description must compensate but merely mentions 'one exact account/folder/UID reference' without explaining the parameters' meanings, formats, or constraints. This leaves the agent with little guidance for correct invocation.

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 verb 'Get' and the resource 'cached headers for one exact account/folder/UID reference.' It lists specific included fields and explicitly states what it never returns, distinguishing it from siblings like get_sender_detail or list_recent_messages.

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

Usage Guidelines4/5

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

The description provides clear context for when to use the tool: retrieving cached headers for a specific message reference. However, it offers no explicit guidance on when not to use it or mentions alternative tools among the siblings.

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/ktrann24/yahoo-mail-mcp'

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