Skip to main content
Glama

Look Up Multiple Provisions

legal_lookup_batch
Read-onlyIdempotent

Retrieve multiple cited provisions or decisions in a single call without semantic fallback. Accepts 1-20 citations — norm citations and court-decision references, same forms as legal_lookup (e.g. ['§ 823 BGB', 'Art. 6 DSGVO', 'VII ZR 184/14']). Citations not found appear as found=false. Norm citations require an exact match. Decision references follow the same resolution as legal_lookup and can yield ambiguous, relaxed-reference or title-only matches; is_exact_match and the hint report that uncertainty. Each entry has its own match status and any ambiguity or truncation hint. Provision ambiguities include candidates and reachable citation_forms, as in legal_lookup. Decision matches return the lead section, not the complete judgment. Fuzzy resolution of a hard-to-find provision belongs to legal_lookup, not to this tool.

Input Schema

NameRequiredDescriptionDefault
languageNoDocument language: 'de' (documents in German, of every legal order in the scope) or 'en' (currently EDPB/EDSA data-protection guidance only). Omitted, the account's document language applies ('de' unless the account sets another). DE and EN are separate corpora — a document published in both languages has one entry per language under the same abbreviation. 'en' selects the English corpus regardless of the answer language; 'edsa' is published mostly in English.
citationsYesList of citation strings, e.g. ['§ 823 BGB', 'Art. 6 DSGVO']. Max 20.
source_typeNoSource the cited law or decision must come from: 'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'bgh', 'bpatg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk', 'taetigkeitsberichte' or 'gesetzesmaterialien'. An abbreviation names one law per source, so the source selects exactly one law — also between federal and state law, which 'de' covers together. Omitted, every source answers. Note: 'edsa' is published mostly in English: language='en' covers the full set, the German corpus only the translated documents.
jurisdictionNoLegal orders the cited law or decision must belong to, one or more: 'de' (all German law — federal AND state), 'eu', 'de_by', 'de_nw', 'de_sn'. A value matches its own family only: 'de' adds no EU law. Omitted, every legal order answers, and where an abbreviation names laws of several (e.g. 'EUV': a German Verordnung and the EU Treaty), the account's legal order decides; jurisdiction_scope names it. Set, nothing outside it answers: a not_found then lists in also_exists_in where the cited law exists.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / source_type / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "bayern_gesetze",
      -      "bgh",
      -      "bpatg",
      -      "bverfge",
      -      "bverwg",
      -      "dsk",
      -      "edsa",
      -      "eurlex",
      -      "eurlex_caselaw",
      -      "gesetzesmaterialien",
      -      "gii",
      -      "nrw_gesetze",
      -      "nrw_rechtsprechung",
      -      "rechtsprechung",
      -      "sachsen_rechtsprechung",
      -      "verwaltungsvorschriften"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "bayern_gesetze",
      +      "bgh",
      +      "bpatg",
      +      "bverfge",
      +      "bverwg",
      +      "dsk",
      +      "edsa",
      +      "eurlex",
      +      "eurlex_caselaw",
      +      "gesetzesmaterialien",
      +      "gii",
      +      "nrw_gesetze",
      +      "nrw_rechtsprechung",
      +      "rechtsprechung",
      +      "sachsen_rechtsprechung",
      +      "taetigkeitsberichte",
      +      "verwaltungsvorschriften"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / source_type / description
      Previous value: -"Source the cited law or decision must come from: 'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'bgh', 'bpatg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. An abbreviation names one law per source, so the source selects exactly one law — also between federal and state law, which 'de' covers together. Omitted, every source answers. Note: 'edsa' is published mostly in English: language='en' covers the full set, the German corpus only the translated documents."New value: +"Source the cited law or decision must come from: 'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'bgh', 'bpatg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk', 'taetigkeitsberichte' or 'gesetzesmaterialien'. An abbreviation names one law per source, so the source selects exactly one law — also between federal and state law, which 'de' covers together. Omitted, every source answers. Note: 'edsa' is published mostly in English: language='en' covers the full set, the German corpus only the translated documents."
  2. Changed2 schema fields changed
    • changedInput schema / properties / source_type / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "bayern_gesetze",
      -      "bverfge",
      -      "bverwg",
      -      "dsk",
      -      "edsa",
      -      "eurlex",
      -      "eurlex_caselaw",
      -      "gesetzesmaterialien",
      -      "gii",
      -      "nrw_gesetze",
      -      "nrw_rechtsprechung",
      -      "rechtsprechung",
      -      "sachsen_rechtsprechung",
      -      "verwaltungsvorschriften"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "bayern_gesetze",
      +      "bgh",
      +      "bpatg",
      +      "bverfge",
      +      "bverwg",
      +      "dsk",
      +      "edsa",
      +      "eurlex",
      +      "eurlex_caselaw",
      +      "gesetzesmaterialien",
      +      "gii",
      +      "nrw_gesetze",
      +      "nrw_rechtsprechung",
      +      "rechtsprechung",
      +      "sachsen_rechtsprechung",
      +      "verwaltungsvorschriften"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / source_type / description
      Previous value: -"Source the cited law or decision must come from: 'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. An abbreviation names one law per source, so the source selects exactly one law — also between federal and state law, which 'de' covers together. Omitted, every source answers. Note: 'edsa' is published mostly in English: language='en' covers the full set, the German corpus only the translated documents."New value: +"Source the cited law or decision must come from: 'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'bgh', 'bpatg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. An abbreviation names one law per source, so the source selects exactly one law — also between federal and state law, which 'de' covers together. Omitted, every source answers. Note: 'edsa' is published mostly in English: language='en' covers the full set, the German corpus only the translated documents."
  3. Changed4 schema fields changed
    • addedInput schema / properties / jurisdiction
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "description": "Jurisdiction of the legal document.",
      +        "enum": [
      +          "de",
      +          "eu",
      +          "de_by",
      +          "de_sn",
      +          "de_nw"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Legal orders the cited law or decision must belong to, one or more: 'de' (all German law — federal AND state), 'eu', 'de_by', 'de_nw', 'de_sn'. A value matches its own family only: 'de' adds no EU law. Omitted, every legal order answers, and where an abbreviation names laws of several (e.g. 'EUV': a German Verordnung and the EU Treaty), the account's legal order decides; jurisdiction_scope names it. Set, nothing outside it answers: a not_found then lists in also_exists_in where the cited law exists."
      +}
    • addedInput schema / properties / source_type
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "bayern_gesetze",
      +        "bverfge",
      +        "bverwg",
      +        "dsk",
      +        "edsa",
      +        "eurlex",
      +        "eurlex_caselaw",
      +        "gesetzesmaterialien",
      +        "gii",
      +        "nrw_gesetze",
      +        "nrw_rechtsprechung",
      +        "rechtsprechung",
      +        "sachsen_rechtsprechung",
      +        "verwaltungsvorschriften"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Source the cited law or decision must come from: 'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. An abbreviation names one law per source, so the source selects exactly one law — also between federal and state law, which 'de' covers together. Omitted, every source answers. Note: 'edsa' is published mostly in English: language='en' covers the full set, the German corpus only the translated documents."
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "found_count": {
      +        "type": "integer"
      +      },
      +      "jurisdiction_scope": {
      +        "properties": {
      +          "jurisdictions": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "language": {
      +            "type": "string"
      +          },
      +          "source": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "jurisdictions",
      +          "language",
      +          "source"
      +        ],
      +        "type": "object"
      +      },
      +      "not_found_count": {
      +        "type": "integer"
      +      },
      +      "results": {
      +        "items": {
      +          "additionalProperties": true,
      +          "allOf": [
      +            {
      +              "if": {
      +                "properties": {
      +                  "reason": {
      +                    "enum": [
      +                      "ambiguous_abbreviation",
      +                      "ambiguous_jurisdiction"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "reason"
      +                ]
      +              },
      +              "then": {
      +                "properties": {
      +                  "candidates": {
      +                    "items": {
      +                      "properties": {
      +                        "arguments": {
      +                          "properties": {
      +                            "citation": {
      +                              "type": "string"
      +                            },
      +                            "language": {
      +                              "type": "string"
      +                            },
      +                            "source_type": {
      +                              "type": "string"
      +                            }
      +                          },
      +                          "required": [
      +                            "citation",
      +                            "source_type",
      +                            "language"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        "jurisdiction": {
      +                          "type": "string"
      +                        },
      +                        "law_abbreviation": {
      +                          "type": "string"
      +                        },
      +                        "source_type": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "law_abbreviation",
      +                        "source_type",
      +                        "jurisdiction",
      +                        "arguments"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "candidates",
      +                  "candidate_count",
      +                  "hint"
      +                ]
      +              }
      +            }
      +          ],
      +          "properties": {
      +            "also_exists_in": {
      +              "items": {
      +                "properties": {
      +                  "jurisdiction": {
      +                    "type": "string"
      +                  },
      +                  "law_abbreviation": {
      +                    "type": "string"
      +                  },
      +                  "source_type": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "law_abbreviation",
      +                  "source_type",
      +                  "jurisdiction"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "candidate_count": {
      +              "type": "integer"
      +            },
      +            "citation": {
      +              "type": "string"
      +            },
      +            "found": {
      +              "type": "boolean"
      +            },
      +            "hint": {
      +              "type": "string"
      +            },
      +            "reason": {
      +              "enum": [
      +                "unparseable_citation",
      +                "not_found",
      +                "ambiguous_abbreviation",
      +                "ambiguous_jurisdiction",
      +                "ambiguous_provision"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "found"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "total": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "results",
      +      "found_count",
      +      "not_found_count",
      +      "total",
      +      "jurisdiction_scope"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "required": [
      +      "notice"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / language / description
      Previous value: -"Document language: 'de' (German-language documents from German and EU sources) or 'en' (currently EDPB/EDSA data-protection guidance only). Omitted, the account's document language applies ('de' unless the account sets another). DE and EN are separate corpora — a document published in both languages has one entry per language under the same abbreviation. 'en' selects the English corpus regardless of the answer language; 'edsa' is published mostly in English."New value: +"Document language: 'de' (documents in German, of every legal order in the scope) or 'en' (currently EDPB/EDSA data-protection guidance only). Omitted, the account's document language applies ('de' unless the account sets another). DE and EN are separate corpora — a document published in both languages has one entry per language under the same abbreviation. 'en' selects the English corpus regardless of the answer language; 'edsa' is published mostly in English."
  5. Changed1 schema field changed
    • changedInput schema / properties / language / description
      Previous value: -"Document language: 'de' (default, German-language documents from German and EU sources) or 'en' (currently EDPB/EDSA data-protection guidance only). DE and EN are separate corpora — a document published in both languages has one entry per language under the same abbreviation. 'en' selects the English corpus regardless of the answer language; 'edsa' is published mostly in English."New value: +"Document language: 'de' (German-language documents from German and EU sources) or 'en' (currently EDPB/EDSA data-protection guidance only). Omitted, the account's document language applies ('de' unless the account sets another). DE and EN are separate corpora — a document published in both languages has one entry per language under the same abbreviation. 'en' selects the English corpus regardless of the answer language; 'edsa' is published mostly in English."
  6. Changed2 schema fields changed
    • changedInput schema / properties / language / anyOf
      Previous value: -[
      -  {
      -    "description": "Content language of legal documents.\n\nUses StrEnum so values compare equal to plain strings for\nseamless PostgreSQL/Qdrant compatibility.",
      -    "enum": [
      -      "de",
      -      "en"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Document language, independent of the language of the answer.",
      +    "enum": [
      +      "de",
      +      "en"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / language / description
      Previous value: -"Corpus language: 'de' (default — the full German + EU corpus) or 'en' (English-language corpus: currently EDPB/EDSA data-protection guidance only; much smaller than 'de'). DE and EN are separate corpora — a document published in both languages has one entry per language under the same abbreviation. 'en' selects the English corpus regardless of the answer language; 'edsa' is published mostly in English."New value: +"Document language: 'de' (default, German-language documents from German and EU sources) or 'en' (currently EDPB/EDSA data-protection guidance only). DE and EN are separate corpora — a document published in both languages has one entry per language under the same abbreviation. 'en' selects the English corpus regardless of the answer language; 'edsa' is published mostly in English."
  7. Changed1 schema field changed
    • changedInput schema / properties / language / description
      Previous value: -"Corpus language: 'de' (default — the full German + EU corpus) or 'en' (English-language corpus: currently EDPB/EDSA data-protection guidance only; much smaller than 'de'). DE and EN are separate corpora — a document published in both languages has one entry per language under the same abbreviation. Set 'en' only when the user explicitly works in English or asks for the English version."New value: +"Corpus language: 'de' (default — the full German + EU corpus) or 'en' (English-language corpus: currently EDPB/EDSA data-protection guidance only; much smaller than 'de'). DE and EN are separate corpora — a document published in both languages has one entry per language under the same abbreviation. 'en' selects the English corpus regardless of the answer language; 'edsa' is published mostly in English."
  8. Changed1 schema field changed
    • addedInput schema / properties / language
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "Content language of legal documents.\n\nUses StrEnum so values compare equal to plain strings for\nseamless PostgreSQL/Qdrant compatibility.",
      +      "enum": [
      +        "de",
      +        "en"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Corpus language: 'de' (default — the full German + EU corpus) or 'en' (English-language corpus: currently EDPB/EDSA data-protection guidance only; much smaller than 'de'). DE and EN are separate corpora — a document published in both languages has one entry per language under the same abbreviation. Set 'en' only when the user explicitly works in English or asks for the English version."
      +}
  9. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only cover the read-only/idempotent profile, and the description adds substantial behavior beyond that: misses return found=false, norm citations require exact matches, decision references can yield ambiguous/relaxed/title-only matches reported via is_exact_match and hints, and decision matches return only the lead section rather than the full judgment. That is exactly the uncertainty and truncation context an agent needs.

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 scope, then the failure/uncertainty semantics, then the sibling exclusion. Slightly repetitive around ambiguity ('can yield ambiguous...' followed by 'any ambiguity or truncation hint' and 'Provision ambiguities include candidates'), which costs a point but nothing is padded.

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, yet the description still covers the result shape that matters for interpretation — per-entry match status, found=false, is_exact_match, hints, candidates and citation_forms, and the lead-section limitation for decisions. Nothing needed to call or interpret it correctly is missing.

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 description coverage is 100%, so the schema already documents citations, language, source_type and jurisdiction in depth. The description reinforces the citation forms and the 1-20 bound but adds no meaning beyond the schema for the three filter parameters. Baseline 3 applies.

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?

States a specific verb and resource ('Retrieve multiple cited provisions or decisions in a single call') and immediately bounds the scope with 'without semantic fallback'. It distinguishes itself from the sibling legal_lookup explicitly, so an agent can choose between them without opening either schema.

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 both the when ('multiple cited provisions... in a single call', 1-20 citations) and the when-not ('Fuzzy resolution of a hard-to-find provision belongs to legal_lookup, not to this tool'). The alternative tool is named and the condition that routes to it is stated.

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.

Resources