Skip to main content
Glama

Get Inbox Status

postfach_stand
Read-only

Wie viel im Postfach liegt — OHNE es anzufassen (GET /agents/{persona}/postfach).

Gedacht für reines Nachsehen. Die beiden naheliegenden Wege
haben eine NEBENWIRKUNG:

    nachrichten_abholen   stempelt `zugestellt_am` -- wer nur schauen
                          wollte, hat damit abgeholt
    agent_herzschlag      liefert `nachrichten_offen`, SCHREIBT aber die
                          Sitzungszeile

Eine Klingel, die den Briefkasten leert, ist keine Klingel. Dieses
Werkzeug lässt das Postfach unangetastet.

**DIE ZAHL GILT NUR FUER `projekt`.** Derselbe Persona-Slug kann in
MEHREREN Projekten liegen -- in einem aktiv, in einem anderen
verabschiedet. Eine `0` sagt nur etwas über DIESES Projekt; die Post
kann im Nachbarprojekt unter demselben Namen liegen. `aktiv`,
`verabschiedet_am` und `nachfolger_slug` stehen daneben: eine `0` von
einer verabschiedeten Stelle heißt etwas anderes als eine `0` von einer
Stelle im Dienst.

Rückgabe: `{persona, projekt, projekt_name, aktiv, verabschiedet_am,
nachfolger_slug, ungelesen, auftraege_offen, auftraege_angenommen,
aeltestes_ungelesen_am, nie_zugestellt, aeltestes_nie_zugestellt_am,
zugestellt_nie_gelesen, aeltestes_zugestellt_nie_gelesen_am, post_warnung,
regeln_seit, regelstand_jetzt}`. `ungelesen` setzt sich aus zwei Teilen
zusammen: `nie_zugestellt` (nie abgeholt) und `zugestellt_nie_gelesen`
(abgeholt, nie mit `nachricht_gelesen` quittiert -- das Zeichen eines
Takts ohne Quittung). `post_warnung` ist `null` oder sagt, dass Post liegt
und keine Sitzung läuft (`keine_sitzung_online`, `kein_frischer_herzschlag`,
`nie_ein_herzschlag`). `aeltestes_ungelesen_am` ist `null`, wenn nichts
ungelesen ist -- kein erfundener Zeitpunkt (vierte Eigenheit). Die Zahl
allein sagt nicht, wie lange etwas wartet, und genau das ist beim Postfach
die Frage, die weh tut.

**REGELN SEIT DEM BRIEF.** Der Brief einer Persona trägt eine Zeile
`Regelstand: <Zahl>`. Wird sie als `regelstand` mitgegeben, sagt `regeln_seit`,
wie viele Regeln aus Sicht der Persona (eigene und Firmenregeln im Sichtfeld)
seither neu, abgelöst oder beendet wurden. Ist es mehr als 0 -- oder
`null` --, ist der Brief veraltet; `persona_brief` liefert den aktuellen
Stand und `regelstand_jetzt` die aktuelle Zahl.
**`null` heißt UNBEKANNT, nicht keine:** ohne `regelstand` (oder mit einer
Zahl über dem aktuellen `regelstand_jetzt`) weiß COMPASS nicht, was die
Persona kennt. Eine eigene Regel zählt beim nächsten Takt mit -- ein Nachladen
zuviel, nie eines zuwenig.

Unbekannte Persona -> 404, durchgereicht.

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>"
    },
    "name": "postfach_stand"
  }
}

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).
regelstandNo
persona_slugYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is given. The description still adds real value beyond that: it guarantees the mailbox is untouched, explains that a 0 is project-scoped and ambiguous for a verabschiedete Stelle, documents the `post_warnung` states, and states the 404 pass-through for unknown personas. It does not cover rate limits or pagination, but for a single-object status read that is minor.

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 opening contrast is front-loaded and the block structure is easy to scan, but the description then reproduces the full return-object field list verbatim even though an output schema exists. The genuinely useful parts (ungelesen decomposition, post_warnung values, regelstand semantics) are buried after that enumeration and would land harder if trimmed.

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 read-only status tool the description covers everything an agent needs: what it does not mutate, why the count is project-scoped, how ungelesen splits into nie_zugestellt and zugestellt_nie_gelesen, what null timestamps mean, how to interpret post_warnung, and how to detect a stale brief. Error behaviour (404) is also stated.

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 `regelstand`, explaining where the number comes from (the `Regelstand: <Zahl>` line in the letter), what `regeln_seit` means, and that `null` means UNBEKANNT rather than zero. `persona_slug` is discussed conceptually (same slug across multiple projects) but its format is never stated, and `chat` is left entirely to the schema.

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?

States a specific verb and resource in the first line ('Wie viel im Postfach liegt — OHNE es anzufassen') and immediately distinguishes itself from the two siblings that look similar (nachrichten_abholen, agent_herzschlag). An agent can pick this over its neighbours without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use ('Gedacht für reines Nachsehen'), names both tempting alternatives, and explains the concrete side effect that rules them out (stempelt `zugestellt_am`, SCHREIBT die Sitzungszeile). It also states the scope condition that must accompany any reading of the number (only valid for `projekt`).

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.