Skip to main content
Glama
p-w-4-z

io.github.p-w-4-z/inbox-mcp

by p-w-4-z

search

Find emails by subject or sender in your IMAP folder. Specify a folder and limit results to locate messages quickly.

Instructions

Search messages by subject or sender.

Args: query: Search term to look for in subject and sender fields folder: IMAP folder to search in (default: INBOX) limit: Maximum number of results, up to 50 (default: 20)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
folderNoINBOX
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/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 that the tool searches subject and sender only (not body), constrains results up to 50, and defaults to INBOX folder. This is good transparency, though it doesn't mention return format or ordering.

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 extremely concise: a one-line purpose followed by a structured argument list. Every sentence adds necessary information with 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?

With an output schema present, return values need not be described. The description covers purpose, parameters, and key constraints like field scope and result limits. It could mention error handling or authentication, but for a search tool it is sufficiently complete.

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 description coverage is 0%, so the description must add meaning. It explains each parameter: query as search term for subject/sender, folder as IMAP folder with default, limit up to 50 with default 20. This adds significant value beyond the schema's names and types.

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 'Search messages by subject or sender', which includes a specific verb and resource. It distinguishes from siblings like list_messages by narrowing the scope to subject and sender fields.

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

Usage Guidelines3/5

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

The description does not explicitly provide usage guidance or alternatives. It implies usage through its description but lacks 'when to use' or 'when not to use' context relative to siblings like list_messages or read_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/p-w-4-z/inbox-mcp'

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