Skip to main content
Glama

search_inbox

Read-only

Search YOUR connected mailboxes' threads (newest first): words in the subject, sender or body, or a participant's address. Returns thread ids for read_email_thread. Replies are drafted with draft_email + reply_to_thread_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax 25, default 10
queryNoWords to find (subject, sender, body)
stateNoDefault inbox
participantNoAn email address in the thread
unread_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds non-obvious behavior: results are ordered newest-first, which fields are matched, and that the output is thread ids rather than message content. This is meaningful context 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?

Three tight sentences, front-loaded with the action and scope, then the return value and the follow-up tools. No sentence is padding.

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?

There is no output schema, so the description correctly compensates by stating the return type (thread ids) and the ordering. Safety is covered by annotations and params by the schema. Missing only edge-case behavior such as empty results or multi-mailbox merge behavior, which keeps it at 4.

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 description coverage is 80%, so the schema already documents limit, query, state, participant and unread_only. The description restates the query/participant matching targets but adds no syntax, format, or interaction details (e.g., how query and participant combine). Baseline 3 is correct.

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 (Search) plus resource and scope (connected mailboxes' threads, newest first) and enumerates the searchable fields (subject, sender, body, participant address). An agent can distinguish it from siblings like read_email_thread or find_communications without opening a schema.

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?

Clearly frames the workflow context: it returns thread ids to be consumed by read_email_thread, and replies go through draft_email + reply_to_thread_id. It stops short of naming when NOT to use it or contrasting it with other search siblings (find_communications, search_freeform), so 4 rather than 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.