Skip to main content
Glama

Fetch Messages

nachrichten_abholen
Destructive

Postfach einer Sitzung lesen (GET /agents/{persona}/nachrichten?sitzung=&nur_neue=).

Jede Nachricht trägt `alter_minuten` -- wie lange sie schon wartet.
Bei einer Anweisung ist das die Zahl, die sagt, ob sie
überholt sein könnte: `dringend` beschleunigt die Zustellung nicht, und
gemessen lagen zwischen Senden und Abholen 26 Sekunden bis 18 Minuten. Der
Stapel kommt mit `dringend` zuerst, dann nach Alter.

Mit `sitzung` markiert der Core die gelieferten Nachrichten als zugestellt
(`zugestellt_am`) — ein Lese-Aufruf mit Nebenwirkung im Core, kein
zweiter Schreibweg hier (die Invariante lebt ausschließlich im
Core). `nur_neue=True` (Default) liefert nur noch nicht zugestellte
Nachrichten; `nur_neue=False` alle. Als gelesen markieren ist ein
eigener Schritt: `nachricht_gelesen`; einen Auftrag annehmen/ablehnen
ist ebenfalls ein eigener Schritt: `auftrag_status`.

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": {
      "persona_slug": "<persona_slug>",
      "sitzung": "<sitzung>"
    },
    "name": "nachrichten_abholen"
  }
}

Input Schema

NameRequiredDescriptionDefault
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).
sitzungYes
nur_neueNo
persona_slugYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description goes well beyond the annotations (readOnlyHint=false, destructiveHint=true) by disclosing the concrete side effect: a call with 'sitzung' causes the Core to stamp delivered messages with 'zugestellt_am', so a later nur_neue=True call will no longer see them. It also documents ordering ('dringend' first, then by age) and observed delivery latency of 26 seconds to 18 minutes, which an agent needs to judge whether an instruction is stale. This is consistent with, and actually explains, the destructive hint rather than contradicting it.

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 endpoint, then behavior, then boundaries to sibling tools, so an agent can stop reading early. Some sentences (the remark that the invariant 'lebt ausschließlich im Core') are meta-commentary that cost tokens without changing how the tool is called.

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?

Given a mutation-with-consequences read tool, an existing output schema, and 4 parameters, the description covers the non-obvious risks: the delivered-stamp side effect, the nur_neue interaction with it, ordering, and the staleness signal in 'alter_minuten'. An agent can invoke this correctly and interpret the payload without further information.

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?

With only 25% schema description coverage, the description carries most of the load: it explains that 'sitzung' triggers the delivered-marking side effect and that 'nur_neue=True' (the default) returns only undelivered messages while False returns all. Only 'persona_slug' is left without any added explanation, and 'chat' is already covered by the schema text.

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 specific verb and resource plus the exact endpoint: 'Postfach einer Sitzung lesen (GET /agents/{persona}/nachrichten?sitzung=&nur_neue=)'. It is immediately distinguishable from the two siblings it later names (nachricht_gelesen, auftrag_status).

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 explicitly routes the agent away from this tool for two adjacent actions: marking as read is 'ein eigener Schritt: nachricht_gelesen' and accepting/rejecting an order is 'ebenfalls ein eigener Schritt: auftrag_status'. What is missing is an explicit when-to-call statement (e.g. polling for new instructions), which is only implied by the nur_neue explanation.

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.