Skip to main content
Glama

E-Mails suchen

search_emails
Read-only

E-Mails suchen. text durchsucht Betreff+Inhalt, sender/recipient/subject sind Teilstrings. since/before als JJJJ-MM-TT (before ist exklusiv). folder="*" durchsucht alle Ordner außer Papierkorb/Spam.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNo
limitNo
sinceNo
beforeNo
folderNoINBOX
senderNo
accountNo
subjectNo
recipientNo
unread_onlyNo
flagged_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely non-obvious behavior: substring vs. full-text matching per field, the before-date being exclusive, and that folder="*" skips Trash and Spam — details not obtainable from the schema. It omits return shape and result ordering, hence not a 5.

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 dense sentences with no filler; the core search semantics come first and the format/edge-case rules follow. Every clause carries information an agent needs to build a correct query.

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 an 11-parameter tool with no output schema and no parameter descriptions, the definition is only partially sufficient — pagination via limit, multi-account selection, and the unread/flagged filters are unaddressed, and nothing describes what a result looks like. Adequate for basic queries, incomplete for full use of the schema.

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 0% across 11 parameters, so the description must compensate. It does explain text, sender, recipient, subject, since, before and folder meaningfully, but limit (default 20), account, unread_only and flagged_only are left completely unexplained in both schema and description.

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?

States a clear verb and resource ("E-Mails suchen") and immediately qualifies how the text filter behaves (subject+body) versus the substring filters. However, it never distinguishes itself from close siblings like list_emails or read_email, leaving the agent to guess which retrieval tool to pick.

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?

Usage is only implied through the filter semantics and the folder="*" scope note; there is no explicit "use this when... instead of list_emails" guidance and no exclusions. An agent can infer this is the filtered search tool, but must compare schemas to be sure it is not overlapping with list_emails.

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.

Resources