Skip to main content
Glama

Get What Currently Holds

gilt
Read-only

Die eine geltende Regel: Text, Ort, Beleg, gilt_seit (GET /gilt/{sache}).

Ein 404 ("keine geltende Regel") ist Teil des Vertrags, kein Fehler —
kommt als `{"gilt": false, "detail": ..., "offen": [...]}` zurück.

`persona_slug`: die Persona-Kennung dieser Sitzung (`persona_brief` nennt
sie) — jedes Lesen gibt sie mit, damit der Core auf das
Sichtfeld dieser Persona filtert. Ein 403 ("außerhalb des
Sichtfelds") ist anders als das 404 oben ein echter Fehler, kein
Leerzustand — er kommt als ToolError mit klarem Text. `alle=True`
überschreibt das Sichtfeld bewusst und wird protokolliert.

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": {
      "slug": "<slug>"
    },
    "name": "gilt"
  }
}

Input Schema

NameRequiredDescriptionDefault
alleNo
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).
slugYes
subjekt_idNo
persona_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?

Beyond readOnlyHint/destructiveHint it discloses the full error contract: 404 arrives as a structured {"gilt": false, "detail": ..., "offen": [...]} payload rather than a failure, while 403 (outside the field of view) is a genuine ToolError with a distinct meaning. It also states that persona scoping is applied on every read and that `alle=True` bypasses it and is audited — exactly the kind of context an agent cannot get from annotations.

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?

Purpose and endpoint come first, followed by the 404 contract and then the persona/scope rules — a sensible front-loaded order with no filler sentences. It is dense but every paragraph carries information; only the parenthetical endpoint repetition borders on redundant.

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?

With an output schema present the description need not enumerate return values, and it still explains the notable shapes (404 payload, ToolError). Combined with the read-only annotations, what remains is the undocumented `subjekt_id` and an unclear statement of how this differs from the temporal sibling.

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?

Schema coverage is only 20% (only `chat` is documented in the schema), so the description carries most of the burden. It does add genuine meaning for `persona_slug` (session persona id, drives core-side filtering) and `alle` (deliberate override, logged), and the endpoint template implies `slug` is the "sache", but `subjekt_id` is never explained anywhere.

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?

"Die eine geltende Regel" plus the listed return fields (Text, Ort, Beleg, gilt_seit) and the endpoint GET /gilt/{sache} make it unambiguous that this fetches the single currently-valid rule for a subject. It is clearly distinguishable in spirit from a point-in-time sibling such as gilt_am, but it never names that sibling, so the differentiation is left implicit.

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 gives real decision context: a 404 means no rule currently holds and is a normal empty state, and `alle=True` is a deliberate, logged override of the persona field of view. What is missing is any explicit routing statement about when to prefer this over gilt_am or the other *_get siblings, and no exclusion of misuse cases.

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.