Skip to main content
Glama

Get Statistics

statistik
Read-only

Sechs Blöcke aus GET /statistik: Gehirn (Bestand + Zuwachs diese Woche), Köpfe (Brain-burst je Persona, derselbe Kern wie persona_brief(..., max_lehren=)s Stats), Anwesenheit (Status, zuletzt online, Modell, Stunden diese Woche, längste Lücke), Arbeit (Nachrichten/Aufträge diese Woche je Persona), Qualität (Lehren nach Art, Abweichungen, offene Fragen, Prüfwege) und System (Tabellengrößen, Zeilen, Kern-Antwortzeiten — Speicher/Platte der Container bewusst NICHT gemessen, siehe system.nicht_gemessen).

Ein fehlendes Signal ist hier immer `null`, nie eine erfundene 0 — z. B.
`gehirn.lehren`, solange die Hall of Lessons auf diesem Kern noch nicht
läuft, oder `arbeit.annahme_minuten_median`, weil der Kern (noch) keinen
Zeitstempel für den Auftrags-Statuswechsel selbst führt.

Rein lesend, kein Recht-Erfordernis über den normalen RO-Schlüssel
hinaus.

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

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

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnlyHint/destructiveHint, so safety is covered; the description still adds real behavioral context. The null-never-fabricated-zero contract (with two concrete examples: `gehirn.lehren`, `arbeit.annahme_minuten_median`) and the deliberate non-measurement of container memory/disk (pointing at `system.nicht_gemessen`) are exactly the kind of semantics an agent cannot get from structured fields. It also confirms no rights beyond the normal RO key.

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?

It is front-loaded with the useful 'six blocks' framing, but the block inventory is dense with nested parentheticals and Latin/German compound nouns, and the example list of null cases runs long. Much of the content is useful, yet the density makes it slower to scan than needed.

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?

An output schema exists, so return-value explanation is optional, and the description nonetheless gives a useful block map plus the null semantics that the schema alone may not convey. Combined with annotations covering the read-only profile and the parameter already documented, an agent has enough to call this correctly; only the routing relative to sibling tools is thin.

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?

There is only one optional parameter and schema description coverage is 100%, so the schema already explains the chat token and its bound/unbound semantics. The description adds nothing about the chat parameter. Baseline 3 is appropriate.

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 concretely what the tool returns: six named blocks (Gehirn, Köpfe, Anwesenheit, Arbeit, Qualität, System) from `GET /statistik`, each enumerated with its contents. That is far beyond restating the name. It only partially differentiates from siblings – it names `persona_brief` as sharing the Köpfe core but does not contrast with other stats-like siblings.

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

Usage Guidelines3/5

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

Usage is implied by the block inventory rather than stated: an agent can infer it is a read-only dashboard-style snapshot. There is an explicit overlap note with `persona_brief(..., max_lehren=)` stats, but no when-to-call-this-instead rule and no exclusions against siblings like `abweichungen` or `agents_systemstatus`, which cover adjacent ground.

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.