Originalarbeiterreichbar
Model Context Protocol, Tools (Stateful Tools)
modelcontextprotocol.io (externe Seite)
Die Tool-Seite der Spezifikation in der Fassung 2026-07-28. Der Abschnitt Stateful Tools ist ausdrücklich nicht normativ und beschreibt am Beispiel eines Warenkorbs, wie ein Server Zustand über Handles führt: Autorisierung bei jedem Aufruf, undurchsichtige Kennungen, eine Lebensdauer in der Tool-Beschreibung, ein verständlicher Fehler bei abgelaufener Kennung.
geprüft 10.11.2026
Worauf sich diese Seite beruft, wörtlich, abgerufen am 26.09.2026:
The protocol has no concept of a state handle
bestätigt 10.11.2026the server stores the cart contents under that key and looks them up on each call
bestätigt 10.11.2026there SHOULD always be a human in the loop with the ability to deny tool invocations
bestätigt 10.11.2026the protocol itself does not mandate any specific user interaction model
bestätigt 10.11.2026servers that declared the list
bestätigt 10.11.2026Changed capability SHOULD send a notification to clients that have opened a subscriptions/ listen stream with toolsListChanged: true