Skip to main content
Glama

Mark Messages Read

nachricht_gelesen
Destructive

Markiert eine oder MEHRERE Nachrichten als gelesen (POST /agents/nachrichten/{id}/gelesen je Nachricht).

Setzt `gelesen_am`. Unbekannte `id` -> 404, durchgereicht.

RUNDEN: ein Beitrag mit `runde_slug` hat mehrere
Leser. Für ihn ist `persona_slug` PFLICHT -- quittiert wird dann nur der
Lesestand dieser Persona, nicht die Nachricht für alle. Ohne
`persona_slug` antwortet der Kern bei einem Runden-Beitrag mit 422.

MEHRERE AUF EINMAL: `id` nimmt auch eine Liste. Ein Postfach liefert
selten genau eine Nachricht, und wer drei Aufrufe machen muss, um eine
Disziplin einzuhalten, hält sie irgendwann nicht mehr ein.

EINE ANFRAGE JE BLOCK (Lehre 4234, 30.10.2026): bis dahin schickte der MCP
je ID eine Anfrage, und ein Rückstand von 181 scheiterte nach rund 100 an
der Ratenbegrenzung (429) -- ausgerechnet nach einem Ausfall, wenn man den
Rückstand quittieren muss. Eine Liste geht jetzt als EINE Anfrage an
`POST /agents/nachrichten/gelesen` (höchstens 500 IDs, eine Transaktion);
mehr als 500 gehen in Blöcken. Eine einzelne `id` nimmt weiter die
Einzelroute.

ALLES ODER NICHTS JE BLOCK: scheitert eine id (404), ist aus DIESEM Block
nichts quittiert -- die Blöcke davor stehen. Wer die Liste erneut schickt,
quittiert die schon quittierten einfach noch einmal. Bei einer Liste ist
die Rückgabe eine Liste in der Reihenfolge der Anfrage (doppelte IDs
nur einmal) und KOMPAKT: je Eintrag nur `{id, gelesen_am}` (30.10.2026, Live-Abnahme: 110 IDs
ergaben vorher 191.000 Zeichen); bei einer einzelnen `id` bleibt sie ein einzelner,
vollständiger Datensatz.

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": {
      "id": "<id>"
    },
    "name": "nachricht_gelesen"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
chatNoChat token returned by `persona_waehlen`. With it, the call acts as the persona of that chat; without it, as the unbound connection (Chat-Token aus `persona_waehlen`: mit ihm handelt der Aufruf als die Persona dieses Chats, ohne ihn als die ungebundene Verbindung).
persona_slugNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/destructive annotations, it discloses what actually changes (`gelesen_am`), the 404 passthrough, the 422 for Runden posts without `persona_slug`, the 500-ID block limit, all-or-nothing semantics per block, and the rate-limit motivation for batching. That is exactly the context annotations cannot carry.

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 core facts are front-loaded, but the historical war story ('Lehre 4234, 30.10.2026', 181-item backlog, 191,000 characters) adds narrative bulk that an agent does not need to call the tool. The mid-sentence line breaks also make it harder to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with error paths, batching, and per-item authorization rules, the description covers everything an agent must know before calling. Return-shape detail is even included, despite an output schema existing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%, so the description must compensate, and it does for `id` (accepts an integer, string, or list up to 500) and `persona_slug` (required for Runden posts, scopes the acknowledgement to one persona). The `chat` parameter is left to the schema text, which leaves a small gap.

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 first line states a concrete verb and resource in both singular and plural ('Markiert eine oder MEHRERE Nachrichten als gelesen') and names the underlying route per message. An agent can immediately tell this apart from sending or listing messages.

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?

The description gives clear conditional guidance: a single `id` uses the single route, a list uses the batch route, and `persona_slug` is mandatory for Runden posts. It does not explicitly name sibling tools or say when not to use this one, so it stops short of the top score.

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.