Skip to main content
Glama

Save Statement

aussage_put
Destructive

Neue Aussage (POST /aussagen).

409 mit der geltenden Aussage im Klartext, wenn `ersetzt` fehlt und schon
eine geltende Aussage (sache, subjekt, art=regel) existiert; 422 bei
unbekannter Sache, Hypothese ohne frist+pruefweg, Stufenverstoß. Beides
kommt strukturiert beim Aufrufer an (ToolError mit JSON-Body), nie still.

`text` ist auf 600 Zeichen begrenzt -- eine HARTE Grenze der
Datenbank (schema.sql, `CHECK length(text) <= 600`), keine
Kürzung. Gemessen am 22.09.2026 gegen den echten Endpunkt: 600 Zeichen
-> 201 mit 600 gespeicherten Zeichen, 601 -> 422, 1000 -> 422. Der MCP
weist zu langen Text deshalb HIER ab, mit Feldname und Zahl, statt den
Aufruf zu schicken und eine Datenbankmeldung zurückzugeben.

Ausdrücklich KEINE weitere Längengrenze: im ganzen Schema gibt es genau
zwei (`compass_aussagen.text` <= 600 und `compass_lehren.titel` <= 160),
alle anderen Textfelder sind nach oben offen. Eine hier erfundene Grenze
würde gültige Eingaben abweisen -- schlimmer als keine Deklaration.

`subjekt_id` weglassen heißt: der Core wählt das Betrieb-Subjekt DES
AUFRUFENDEN MANDANTEN. `quelle_ref` setzen heißt: ein zweiter Aufruf mit
demselben Wert und demselben Inhalt legt nichts Neues an (idempotent);
derselbe Wert mit anderem Inhalt gibt 409.

ERGAENZEND (CMP-37): `ergaenzend: true` sagt AUSDRUECKLICH, dass dieser Fakt die anderen Fakten der Sache ergaenzt und ihnen nicht widerspricht -- nur fuer `art: fakt` (sonst 422). Nur Fakten, die BEIDE `ergaenzend` sind, melden keinen
Widerspruch untereinander; ein unmarkierter Fakt mit anderem Text meldet weiter, du bringst damit also keinen echten Widerspruch zum Schweigen. Du stehst als Urheber in der Spur, `GET /konflikte/ergaenzend-geschrieben` zeigt, was so
geschrieben wurde. Das Flag ist nur richtig, wenn es stimmt: ein Fakt, der etwas anderes behauptet, ist KEINE Ergaenzung.

NEUE FASSUNG DERSELBEN PRUEFUNG (CMP-37): `loest_ab: true` loest den vorigen geltenden Fakt derselben Pruefung selbst ab -- gleiche `sache`, gleiches Subjekt, gleiche `quelle`, `art: fakt`. Es braucht eine `quelle` (ohne sie gibt es keinen sicheren
Schluessel, 422), gilt nie zusammen mit `ersetzt` und raet nicht: gelten zu der `quelle` mehrere Fakten, ist es 409. Ist der Text derselbe, rueckt nur `beobachtet_am`, und die Antwort ist die bestehende Aussage (200).

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": {
      "sache": "<sache>",
      "art": "<art>",
      "text": "<text>",
      "herkunft": "<herkunft>",
      "angelegt_von": "<angelegt_von>"
    },
    "name": "aussage_put"
  }
}

Input Schema

NameRequiredDescriptionDefault
artYes
ortNo
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).
textYes
belegNo
fristNo
sacheYes
quelleNo
statusNogilt
ersetztNo
gilt_bisNo
herkunftYes
loest_abNo
frame_refNo
gilt_seitNo
ergaenzendNo
quelle_refNo
sicherheitNo
subjekt_idNo
schritt_keyNo
angelegt_vonYes
prozess_slugNo
beobachtet_amNo
pruefweg_slugNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: it enumerates the exact 409 condition (missing `ersetzt` with an existing sache/subjekt/art=regel statement) and the 422 conditions, and states errors arrive as a structured ToolError with JSON body, never silently. It also discloses idempotency via `quelle_ref` (same value + same content = no new row, same value + different content = 409), the tenant-default behaviour of `subjekt_id`, that the oversized-text rejection happens client-side with field name and count, and that `ergaenzend` writes are traceable via a named endpoint. For a destructive write tool this is unusually complete disclosure.

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?

Front-loaded correctly with the purpose, and the per-flag paragraphs are easy to scan. But it is long and carries meta-commentary aimed at the reader rather than the caller ('eine hier erfundene Grenze würde gültige Eingaben abweisen -- schlimmer als keine Deklaration', the dated endpoint measurement narrative), which dilutes an otherwise dense definition.

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 shapes need not be described, and the description instead covers the failure surface (409/422 categories, ToolError JSON body) and the 200-on-no-op case for `loest_ab`. For a destructive 24-parameter write tool the remaining gap is field-level meaning for the untouched optional parameters, not missing behavioural context.

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 schema description coverage at 4%, the description carries the load and does so for the highest-risk parameters: `text` (hard 600-char DB CHECK, verified 600→201 / 601→422), `subjekt_id` (tenant default), `quelle_ref` (idempotency key), `ergaenzend` (fakt-only, mutual non-contradiction semantics), `loest_ab` (requires `quelle`, excludes `ersetzt`, 409 on ambiguous quelle, 200 when text unchanged), and `ersetzt` indirectly. It still leaves roughly half the 24 parameters unexplained — `status` (default 'gilt'), `sicherheit`, `gilt_seit`/`gilt_bis`, `beleg`, `ort`, `frame_ref`, `schritt_key` — so the compensation is partial rather than total.

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?

Opens with a specific verb and resource plus the wire call: 'Neue Aussage (POST /aussagen)'. The purpose (creating a new statement/record) is unambiguous, though it never explicitly distinguishes itself from siblings like hypothese_put or lehre_put, even while mentioning that hypotheses are also accepted here (422 only if frist+pruefweg missing).

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?

Gives concrete conditional guidance for the tricky modes: use `ersetzt` when superseding an existing ruling statement, `quelle_ref` for idempotent retries, `ergaenzend` only for genuinely supplementary `art: fakt`, `loest_ab` for self-supersession with a `quelle` and never together with `ersetzt`. What is missing is tool-level routing: no sentence tells the agent when to call a sibling tool instead.

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.