Skip to main content
Glama

Search Mailbox

search_mailbox

Durchsucht sichtbare Postfach-Nachrichten im lokalen Index (Volltext + Filter). Aktualisiert bei Bedarf den Index, ohne Nachrichten als gelesen zu markieren. Begrenzte Indexabdeckung; Forumbeiträge separat mit get_forum_thread/get_writing_context lesen.

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_mailbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
to_tsNo
offsetNo
from_tsNo
thread_keyNo
ungelesen_onlyNo

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {},
      +    "meta": {
      +      "type": "object"
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "error"
      +      ],
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "trace": {
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations it discloses two non-obvious traits: the tool may refresh the local index on demand (consistent with readOnlyHint=false and destructiveHint=false) and it does not mark messages as read. It also warns about limited index coverage, which sets expectations on result completeness. It stops short of describing result ordering or pagination behaviour.

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 compact sentences with no filler: capability and scope first, then behavioural caveats, then the routing pointer to alternative tools. Every sentence carries information an agent needs.

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?

An output schema exists, so return-value documentation is not required, and the safety profile is covered by annotations. For a 7-parameter search tool with zero schema coverage for any parameter, however, the description should explain the filter semantics to be complete; that gap is significant but not fatal.

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?

Schema description coverage is 0% for all 7 parameters (query, from_ts, to_ts, limit, offset, thread_key, ungelesen_only), so every semantic detail must come from the description. The description only alludes to 'Volltext + Filter' and never explains timestamp formats, what thread_key scopes, or what ungelesen_only does, leaving the agent to guess from parameter names.

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 states a specific verb plus resource ('Durchsucht sichtbare Postfach-Nachrichten im lokalen Index') and defines its scope as full-text plus filters over the local index. It also explicitly rules out forum posts and names the sibling tools to use instead, so an agent can distinguish it from get_forum_thread/get_writing_context without opening any 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?

It gives clear when-to-use context (full-text search with filters over the local index) and explicitly states that forum posts must be read separately via get_forum_thread/get_writing_context. It does not, however, position itself against other mailbox siblings such as list_mailbox or search_communications, so the routing decision among similar tools is left partly to inference.

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.