Skip to main content
Glama

nu:legal Deutsches Recht

Change Feed

getChanges
Read-onlyIdempotent

What changed here, as JSON. Two ways to read it.

The cursor feed (send kinds, or cursor): everything that changed, oldest first, readable to the end without gaps: decisions added or changed, provisions with a new text (new Fassung, new provision, new law), and new citation links (decision X now cites Y, or decision Y gained a citer). Start with kinds (and since, default 7 days ago), then pass next_cursor back unchanged, with the same filters, until has_more is false; keep the cursor and poll with it later.

Without those arguments: the provisions that got a new text recently, newest first. Poll it with since set to the newest observed you have processed.

observed / observed_at is when the change reached this service, not when a court decided or a law came into force. Say so if you report a date. The window is the last 120 days; a provision's own history is listNormVersions.

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

Input Schema

NameRequiredDescriptionDefault
lawNoCursor feed: a law abbreviation (BGB). Leaves out links between decisions.
landNoCursor feed: a Land code (BY, NW, SN, BB, ...) or BUND.
courtNoCursor feed: a court, as the court segment of a decision URL (bgh).
kindsNoCursor feed: which kinds (decision, law, citation).
limitNoDefault 50 (date list) or 100 (cursor feed).
sinceNoOnly changes observed on or after this date (cursor feed: at most 120 days back, default 7).
cursorNoCursor feed: `next_cursor` of the previous call, unchanged.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "detail": {
      +          "type": "string"
      +        },
      +        "error": {
      +          "const": true
      +        },
      +        "reason": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "atom_feed": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "changes": {
      +          "anyOf": [
      +            {
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "citations_complete_to": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "complete_to": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "cursor": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "decisions_complete_to": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "filters": {
      +          "anyOf": [
      +            {
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "has_more": {
      +          "anyOf": [
      +            {
      +              "type": "boolean"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "html": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "next_cursor": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "note": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "since": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "window_days": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  2. Changed8 schema fields changed
    • addedInput schema / properties / court
      Added value: +{
      +  "description": "Cursor feed: a court, as the court segment of a decision URL (bgh).",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Cursor feed: `next_cursor` of the previous call, unchanged.",
      +  "maxLength": 1000,
      +  "type": "string"
      +}
    • addedInput schema / properties / kinds
      Added value: +{
      +  "description": "Cursor feed: which kinds (decision, law, citation).",
      +  "items": {
      +    "enum": [
      +      "decision",
      +      "law",
      +      "citation"
      +    ]
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / land
      Added value: +{
      +  "description": "Cursor feed: a Land code (BY, NW, SN, BB, ...) or BUND.",
      +  "maxLength": 8,
      +  "type": "string"
      +}
    • addedInput schema / properties / law
      Added value: +{
      +  "description": "Cursor feed: a law abbreviation (BGB). Leaves out links between decisions.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • removedInput schema / properties / limit / default
      Removed value: -50
    • addedInput schema / properties / limit / description
      Added value: +"Default 50 (date list) or 100 (cursor feed)."
    • changedInput schema / properties / since / description
      Previous value: -"Only changes observed on or after this date."New value: +"Only changes observed on or after this date (cursor feed: at most 120 days back, default 7)."
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, but the description adds what they cannot: a hard 120-day window, gap-free oldest-first ordering for the cursor feed vs. newest-first for the default list, filter-consistency requirements across a cursor chain, and the crucial semantic caveat that `observed` is ingestion time, not the legal event date. That last point materially changes how an agent reports results.

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?

Dense and well front-loaded: modes first, then the loop, then the timestamp caveat. A few clauses (the parenthetical 'new Fassung, new provision, new law' and the repeated cursor-polling advice) could be trimmed, but nothing is filler.

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?

An output schema exists, so return values need not be enumerated, yet the description still surfaces the key response fields an agent must act on (`next_cursor`, `has_more`, `observed`). Given seven optional parameters, two modes, and a retention window, this covers everything needed to invoke and iterate correctly.

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 100%, so the baseline is 3, but the description earns more by explaining that `kinds` or `cursor` switch the tool into a different mode entirely, that `since` defaults to 7 days and is capped at 120 days back, and that `law` suppresses decision-to-decision link results—none of which the schema descriptions state on their own.

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?

Opens with a specific resource ('what changed here') and immediately decomposes it into two named modes (cursor feed vs. date list). It also names the sibling that handles a related-but-different need ('a provision's own history is listNormVersions'), so an agent can route without opening other schemas.

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 explicit mode-selection rules: send `kinds` or `cursor` for the exhaustive cursor feed, otherwise you get the recent-new-text list. It also prescribes the operating loop (start with `kinds`/`since`, pass `next_cursor` back unchanged with the same filters until `has_more` is false, keep the cursor to poll later) and tells the polling agent to advance `since` from the newest processed `observed`.

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.