Skip to main content
Glama

mark_emails

DestructiveIdempotent

Gelesen-Status oder Markierung setzen. Required: email_ids und mindestens eines von read / flagged (je true oder false). Optional: email_account_id, from_folder. Wirkt auf dem SERVER, ist also auch im Mailprogramm des Anwenders zu sehen.

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

Input Schema

NameRequiredDescriptionDefault
readNotrue = als gelesen, false = als ungelesen markieren
flaggedNotrue = Markierung (Stern/Flagge) setzen, false = entfernen
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. Changed5 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 / flagged / description
      Added value: +"true = Markierung (Stern/Flagge) setzen, false = entfernen"
    • addedInput schema / properties / from_folder / description
      Added value: +"Ordner, in dem die Mails liegen; ohne Angabe der gespeicherte"
    • addedInput schema / properties / read / description
      Added value: +"true = als gelesen, false = als ungelesen markieren"
  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, so the safety profile is partly covered. The description adds a genuinely important behavioral fact the annotations do not convey: the change takes effect on the SERVER and is therefore visible in the end user's mail client. It stops short of saying whether the effect is reversible or what the response contains, but the server-visibility warning is real added value.

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 short sentences, front-loaded with the purpose, then the required combination, then optional parameters, then the server-visibility caveat. Nothing is repeated and every clause carries information an agent needs.

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 mutation tool with destructiveHint=true and no output schema, the description covers the essential risks: it names the required inputs, the optional scoping parameters, and warns that the effect is server-side and user-visible. It could say more about what happens when the message does not exist or which flags are supported, but nothing critical is missing.

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 meaning of read, flagged, from_folder, and email_account_id is already spelled out, and the baseline of 3 applies. The description does add a cross-parameter rule the schema does not express ('at least one of read / flagged'), which is meaningful, but it does not explain the interaction between from_folder and email_account_id.

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?

The description states a concrete verb and resource in German: setting the read status ('Gelesen-Status') or the flag ('Markierung') on emails identified by email_ids. An agent immediately knows this is a state-toggle on existing messages rather than a list, move, or delete operation. It does not explicitly contrast itself with siblings such as move_emails or trash_emails, which keeps it at a 4.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The text gives a hard invocation constraint ('Required: email_ids und mindestens eines von read / flagged'), which is genuinely useful for calling the tool correctly. However, it offers no when-to-use versus when-not-to-use guidance and no mention of any alternative tool, so the agent must infer from the name alone that this is the right choice for marking rather than moving or deleting.

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.