Skip to main content
Glama

trash_emails

DestructiveIdempotent

Mails in den Papierkorb legen. Required: email_ids. Optional: email_account_id, from_folder. Nicht endgueltig — der echte Papierkorb des Postfachs wird aus der Ordnerliste ermittelt (bei Outlook ueber deleteditems), nicht geraten, weil er auf deutschen Servern selten 'Trash' heisst.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "email_ids": "<email_ids>"
    },
    "name": "trash_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
email_idsYesListe von E-Mail-IDs
from_folderNoOrdner, in dem die Mails liegen; ohne Angabe der gespeicherte
email_account_idNoPostfach-ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / email_account_id / description
      Added value: +"Postfach-ID"
    • addedInput schema / properties / email_ids / description
      Added value: +"Liste von E-Mail-IDs"
    • addedInput schema / properties / from_folder / description
      Added value: +"Ordner, in dem die Mails liegen; ohne Angabe der gespeicherte"
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds meaningful nuance: the operation is "nicht endgueltig" (recoverable), and the real trash folder is resolved from the folder list rather than guessed, with Outlook's deleteditems named as an example. This folder-resolution logic is behavior an agent could not infer from annotations or schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence's required/optional parameter inventory largely duplicates the schema and could be dropped. The second sentence is dense but carries the genuinely useful information and is front-loaded after the purpose statement.

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?

For a three-parameter mutation with no output schema, the description covers purpose, required inputs, recoverability, and the folder-resolution mechanism. It does not describe what is returned or what happens to messages already in the trash, but the essentials for correct invocation are present.

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 100%, so the schema already documents all three parameters, and the description mostly restates the required/optional split. The note about the stored folder default adds nothing beyond the schema's own "ohne Angabe der gespeicherte" wording.

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?

"Mails in den Papierkorb legen" states a specific verb (verschieben/legen) and resource (Mails) with a clear destination. An agent can tell this is a soft-delete-to-trash action, though it does not explicitly contrast itself with siblings like move_emails or mark_emails.

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 lists required (email_ids) and optional (email_account_id, from_folder) inputs, which implies usage but does not say when to pick this tool over move_emails or mark_emails. There are no explicit exclusions or alternative-routing instructions.

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.