Skip to main content
Glama

nu:legal Deutsches Recht

Search German law

search
Read-onlyIdempotent

Find statutes and decisions on a topic or a question, in one call. Use it when you hold no citation yet. German keywords or a full question both work; decisions are matched by meaning. A decision hit carries url (pass it as case to the decision tools), ecli and cited_by; a statute hit carries slug and ref_norm (pass them as law and ref to getNorm). Full text is held for Bayern, Brandenburg, Hessen, Nordrhein-Westfalen and Sachsen (see getCoverage). Hessen rows (jurisdiction 'HE'): pass law_key as law and ref_norm as ref to getNorm. Decisions can be filtered by court, court_level, state, panel, from/to and decision_type, and sorted with sort (relevance, weight: most cited first, newest); the answer counts them in cases_total. Example: {"q": "Eigenbedarf Kündigung Härtefall"}

Input Schema

NameRequiredDescriptionDefault
qYesGerman query. Keywords, a citation, or a full question.
toNo
fromNo
sortNorelevance
courtNoOne court, by its slug: bgh, bverwg, olg-koeln, ovg-sachsen.
limitNo
panelNoA Senat of `court`: 'VIII. Zivilsenat', '2. Strafsenat' (BGH), '7. Senat' (BAG, BFH, BSG, BVerwG, BVerfG).
scopeNo'all' (default) searches both. Narrow only when you know which corpus answers.all
stateNoA Land code (BY) or name slug (bayern), or bund / eu.
court_levelNo
decision_typeNo
include_repealedNoInclude repealed (aufgehobene) provisions. Off by default; turn it on when researching an older state of the law.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / court
      Added value: +{
      +  "description": "One court, by its slug: bgh, bverwg, olg-koeln, ovg-sachsen.",
      +  "type": "string"
      +}
    • addedInput schema / properties / court_level
      Added value: +{
      +  "enum": [
      +    "federal",
      +    "higher",
      +    "regional",
      +    "lower",
      +    "state_constitutional",
      +    "european",
      +    "other"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / decision_type
      Added value: +{
      +  "enum": [
      +    "urteil",
      +    "beschluss",
      +    "gerichtsbescheid",
      +    "schlussantraege"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / from
      Added value: +{
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / panel
      Added value: +{
      +  "description": "A Senat of `court`: 'VIII. Zivilsenat', '2. Strafsenat' (BGH), '7. Senat' (BAG, BFH, BSG, BVerwG, BVerfG).",
      +  "type": "string"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "default": "relevance",
      +  "enum": [
      +    "relevance",
      +    "weight",
      +    "newest"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / state
      Added value: +{
      +  "description": "A Land code (BY) or name slug (bayern), or bund / eu.",
      +  "type": "string"
      +}
    • addedInput schema / properties / to
      Added value: +{
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description goes further by disclosing result shapes (url/ecli/cited_by for decisions, slug/ref_norm for statutes) and the handoff protocol into getNorm and the decision tools. It also flags a genuine quirk (Hessen rows need law_key/ref_norm) and corpus coverage limits via getCoverage. It stops short of describing result volume, ranking behavior beyond the sort enum, or empty-result behavior.

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?

Front-loaded with purpose and the citation-absence rule, then chained output/interop details, then filters, then an example — a sensible order. It is dense and parenthetical-heavy (semicolon-joined clauses about Hessen and field names), but almost every clause carries operational information an agent needs.

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?

For a 12-parameter discovery tool with no output schema, it covers the essentials: what comes back, how to route those fields into downstream tools, which corpora are covered, and how to constrain results. Remaining gaps (pagination behavior past limit, cases_total semantics, what happens on zero hits) are minor but real for a tool this broad.

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?

At 50% schema coverage the description does real work: it explains that q accepts German keywords or a full question and that decisions are matched semantically, enumerates which filters apply to decisions (court, court_level, state, panel, from/to, decision_type), and glosses the sort values as "relevance, weight: most cited first, newest." It adds little for limit (default 10, max 50, undescribed in both places) and leaves `sort`'s "weight" only partially defined.

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 verb and resource plus the scope of the corpus: "Find statutes and decisions on a topic or a question, in one call." It also pre-empts confusion with the citation-driven siblings by stating "Use it when you hold no citation yet," so the agent can classify it against resolveIdentifiers/getNorm without reading schemas.

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?

States a clear entry condition ("when you hold no citation yet") and repeats narrowing policy in the schema text ("Narrow only when you know which corpus answers"). What it never does is name the alternative tool to use when a citation IS held, leaving the agent to infer resolveIdentifiers as the counterpart.

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.