Skip to main content
Glama

E-Mails importieren

import_emails

E-Mails aus .eml-Dateien in einen Ordner des Postfachs legen, z. B. gesicherte Mails oder Mails aus einem anderen Programm. In Claude und ChatGPT öffnet sich dafür ein Upload-Formular im Chat, sonst liefert das Tool einen Link (30 Min. gültig). Die Dateien wählt der Nutzer dort selbst aus, sie gehen direkt ins Postfach. Der Zielordner muss bereits existieren. mark_as_read=True: Die importierten Mails gelten als gelesen.

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": "import_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderNoINBOX
accountNo
mark_as_readNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations only declare readOnly=false, destructive=false and openWorld=false; the description adds substantial context beyond that — the interactive upload form in Claude/ChatGPT versus a returned link valid for 30 minutes, that the user selects the files themselves, and that the files land directly in the mailbox. It does not say what happens to rejected or duplicate files, so 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.

Conciseness4/5

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

Front-loaded with the core action, followed by the execution mechanics and then the folder prerequisite and flag semantics. Every sentence carries information, though the upload-form/link explanation is wordy and could be tightened.

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 write tool with no output schema and zero schema documentation, the description covers the return path (link with 30-minute validity), the target-folder prerequisite and the read-flag semantics. The undocumented account parameter is the remaining gap.

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%, so the description must carry the parameter meaning. It explains mark_as_read well (imported mails count as read) and gives the folder parameter a constraint (must already exist), but the account parameter is never mentioned and the default folder INBOX goes unaddressed.

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 gives a concrete verb and resource: it places e-mails from .eml files into a folder of the mailbox, and illustrates the scenario (restored backups, mails from another program). The import direction is unambiguous and clearly opposite to an export sibling, so an agent can distinguish it without opening the 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 states when the tool applies (moving .eml files into the mailbox) and a hard prerequisite: the target folder must already exist. It does not name an alternative tool or explicitly exclude cases, but the usage context is clear enough to act on.

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