Skip to main content
Glama

Browse Law Table of Contents

legal_get_toc
Read-onlyIdempotent

Get the table of contents of a specific law or court decision. Returns norm keys (e.g. '§ 1', 'Art. 3'), titles, and chapter headings in document order.

Gives the overview of a law's structure; a returned norm_id feeds legal_get_context for the full text. Paginated for large laws.

Input Schema

NameRequiredDescriptionDefault
limitNoMax entries per page (default 100).
offsetNoStart position for pagination.
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.
source_typeNo'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'bgh', 'bpatg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk', 'taetigkeitsberichte' or 'gesetzesmaterialien'. Empty = auto-detect; where an abbreviation names a law in two sources, the answer lists both. Note: 'edsa' is published mostly in English: language='en' covers the full set, the German corpus only the translated documents.
jurisdictionNoLegal orders the law must belong to, one or more ('de', 'eu', 'de_by', 'de_nw', 'de_sn'; 'de' matches federal AND state law). Omitted, every legal order answers, and where the abbreviation names laws of several, the account's legal order decides; jurisdiction_scope names it.
law_abbreviationYesLaw abbreviation, e.g. 'bgb', 'dsgvo', 'stgb'.

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: -"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'bgh', 'bpatg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Empty = auto-detect; where an abbreviation names a law in two sources, the answer lists both. Note: 'edsa' is published mostly in English: language='en' covers the full set, the German corpus only the translated documents."New value: +"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'bgh', 'bpatg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk', 'taetigkeitsberichte' or 'gesetzesmaterialien'. Empty = auto-detect; where an abbreviation names a law in two sources, the answer lists both. 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: -"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Empty = auto-detect; where an abbreviation names a law in two sources, the answer lists both. Note: 'edsa' is published mostly in English: language='en' covers the full set, the German corpus only the translated documents."New value: +"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'bgh', 'bpatg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Empty = auto-detect; where an abbreviation names a law in two sources, the answer lists both. Note: 'edsa' is published mostly in English: language='en' covers the full set, the German corpus only the translated documents."
  3. Changed1 schema field 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 law must belong to, one or more ('de', 'eu', 'de_by', 'de_nw', 'de_sn'; 'de' matches federal AND state law). Omitted, every legal order answers, and where the abbreviation names laws of several, the account's legal order decides; jurisdiction_scope names it."
      +}
  4. Changed2 schema fields 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."
    • changedInput schema / properties / source_type / description
      Previous value: -"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Empty = auto-detect; where an abbreviation names a law in two sources, the answer lists both. Note: 'edsa' is published mostly in English: language='en' covers the full set, the DE default only the translated documents."New value: +"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Empty = auto-detect; where an abbreviation names a law in two sources, the answer lists both. Note: 'edsa' is published mostly in English: language='en' covers the full set, the German corpus only the translated documents."
  5. Changed2 schema fields 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."
    • changedInput schema / properties / law_abbreviation / maxLength
      Previous value: -128New value: +512
  6. Changed4 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."
    • changedInput schema / properties / source_type / anyOf
      Previous value: -[
      -  {
      -    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      -    "enum": [
      -      "gii",
      -      "eurlex",
      -      "eurlex_caselaw",
      -      "rechtsprechung",
      -      "sachsen_rechtsprechung",
      -      "sachsen_gesetze",
      -      "bayern_gesetze",
      -      "nrw_gesetze",
      -      "nrw_rechtsprechung",
      -      "gesetzesmaterialien",
      -      "edsa",
      -      "bverfge",
      -      "bverwg",
      -      "verwaltungsvorschriften",
      -      "dsk"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New 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"
      +  }
      +]
    • changedInput schema / properties / source_type / description
      Previous value: -"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Leave empty to auto-detect; where an abbreviation names a law in two sources, the answer lists them so you can retry. Note: 'edsa' is published mostly in English: language='en' covers the full set, the DE default only the translated documents."New value: +"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Empty = auto-detect; where an abbreviation names a law in two sources, the answer lists both. Note: 'edsa' is published mostly in English: language='en' covers the full set, the DE default only the translated documents."
  7. Changed2 schema fields 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."
    • changedInput schema / properties / source_type / description
      Previous value: -"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Leave empty to auto-detect; where an abbreviation names a law in two sources, the answer lists them so you can retry. Note: 'edsa' is published mostly in English — pair it with language='en', or the DE default leaves you only the few translated documents."New value: +"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Leave empty to auto-detect; where an abbreviation names a law in two sources, the answer lists them so you can retry. Note: 'edsa' is published mostly in English: language='en' covers the full set, the DE default only the translated documents."
  8. Changed1 schema field changed
    • changedInput schema / properties / source_type / description
      Previous value: -"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Leave empty to auto-detect. Note: 'edsa' is published mostly in English — pair it with language='en', or the DE default leaves you only the few translated documents."New value: +"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Leave empty to auto-detect; where an abbreviation names a law in two sources, the answer lists them so you can retry. Note: 'edsa' is published mostly in English — pair it with language='en', or the DE default leaves you only the few translated documents."
  9. Changed1 schema field changed
    • changedInput schema / properties / source_type / description
      Previous value: -"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', or 'verwaltungsvorschriften'. Leave empty to auto-detect."New value: +"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'bverfge', 'bverwg', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', 'verwaltungsvorschriften', 'edsa', 'dsk' or 'gesetzesmaterialien'. Leave empty to auto-detect. Note: 'edsa' is published mostly in English — pair it with language='en', or the DE default leaves you only the few translated documents."
  10. Changed2 schema fields changed
    • changedInput schema / properties / source_type / anyOf
      Previous value: -[
      -  {
      -    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      -    "enum": [
      -      "gii",
      -      "eurlex",
      -      "eurlex_caselaw",
      -      "rechtsprechung",
      -      "sachsen_rechtsprechung",
      -      "sachsen_gesetze",
      -      "bayern_gesetze",
      -      "nrw_gesetze",
      -      "gesetzesmaterialien",
      -      "edsa",
      -      "bverfge",
      -      "bverwg",
      -      "verwaltungsvorschriften",
      -      "dsk"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      +    "enum": [
      +      "gii",
      +      "eurlex",
      +      "eurlex_caselaw",
      +      "rechtsprechung",
      +      "sachsen_rechtsprechung",
      +      "sachsen_gesetze",
      +      "bayern_gesetze",
      +      "nrw_gesetze",
      +      "nrw_rechtsprechung",
      +      "gesetzesmaterialien",
      +      "edsa",
      +      "bverfge",
      +      "bverwg",
      +      "verwaltungsvorschriften",
      +      "dsk"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / source_type / description
      Previous value: -"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'sachsen_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', or 'verwaltungsvorschriften'. Leave empty to auto-detect."New value: +"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'sachsen_rechtsprechung', 'nrw_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', or 'verwaltungsvorschriften'. Leave empty to auto-detect."
  11. Changed1 schema field changed
    • changedInput schema / properties / source_type / anyOf
      Previous value: -[
      -  {
      -    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      -    "enum": [
      -      "gii",
      -      "eurlex",
      -      "eurlex_caselaw",
      -      "rechtsprechung",
      -      "sachsen_rechtsprechung",
      -      "sachsen_gesetze",
      -      "bayern_gesetze",
      -      "nrw_gesetze",
      -      "gesetzesmaterialien",
      -      "edsa",
      -      "bverfge",
      -      "bverwg",
      -      "verwaltungsvorschriften"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      +    "enum": [
      +      "gii",
      +      "eurlex",
      +      "eurlex_caselaw",
      +      "rechtsprechung",
      +      "sachsen_rechtsprechung",
      +      "sachsen_gesetze",
      +      "bayern_gesetze",
      +      "nrw_gesetze",
      +      "gesetzesmaterialien",
      +      "edsa",
      +      "bverfge",
      +      "bverwg",
      +      "verwaltungsvorschriften",
      +      "dsk"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  12. Changed2 schema fields changed
    • changedInput schema / properties / source_type / anyOf
      Previous value: -[
      -  {
      -    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      -    "enum": [
      -      "gii",
      -      "eurlex",
      -      "eurlex_caselaw",
      -      "rechtsprechung",
      -      "sachsen_rechtsprechung",
      -      "sachsen_gesetze",
      -      "bayern_gesetze",
      -      "nrw_gesetze",
      -      "gesetzesmaterialien",
      -      "edsa",
      -      "bverfge",
      -      "bverwg"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      +    "enum": [
      +      "gii",
      +      "eurlex",
      +      "eurlex_caselaw",
      +      "rechtsprechung",
      +      "sachsen_rechtsprechung",
      +      "sachsen_gesetze",
      +      "bayern_gesetze",
      +      "nrw_gesetze",
      +      "gesetzesmaterialien",
      +      "edsa",
      +      "bverfge",
      +      "bverwg",
      +      "verwaltungsvorschriften"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / source_type / description
      Previous value: -"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'sachsen_rechtsprechung', 'bayern_gesetze', or 'nrw_gesetze'. Leave empty to auto-detect."New value: +"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'sachsen_rechtsprechung', 'bayern_gesetze', 'nrw_gesetze', or 'verwaltungsvorschriften'. Leave empty to auto-detect."
  13. Changed1 schema field changed
    • changedInput schema / properties / source_type / anyOf
      Previous value: -[
      -  {
      -    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      -    "enum": [
      -      "gii",
      -      "eurlex",
      -      "eurlex_caselaw",
      -      "rechtsprechung",
      -      "sachsen_rechtsprechung",
      -      "sachsen_gesetze",
      -      "bayern_gesetze",
      -      "nrw_gesetze",
      -      "gesetzesmaterialien",
      -      "edsa",
      -      "bverfge"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      +    "enum": [
      +      "gii",
      +      "eurlex",
      +      "eurlex_caselaw",
      +      "rechtsprechung",
      +      "sachsen_rechtsprechung",
      +      "sachsen_gesetze",
      +      "bayern_gesetze",
      +      "nrw_gesetze",
      +      "gesetzesmaterialien",
      +      "edsa",
      +      "bverfge",
      +      "bverwg"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  14. Changed1 schema field changed
    • changedInput schema / properties / source_type / anyOf
      Previous value: -[
      -  {
      -    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      -    "enum": [
      -      "gii",
      -      "eurlex",
      -      "eurlex_caselaw",
      -      "rechtsprechung",
      -      "sachsen_rechtsprechung",
      -      "sachsen_gesetze",
      -      "bayern_gesetze",
      -      "nrw_gesetze",
      -      "gesetzesmaterialien",
      -      "edsa"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      +    "enum": [
      +      "gii",
      +      "eurlex",
      +      "eurlex_caselaw",
      +      "rechtsprechung",
      +      "sachsen_rechtsprechung",
      +      "sachsen_gesetze",
      +      "bayern_gesetze",
      +      "nrw_gesetze",
      +      "gesetzesmaterialien",
      +      "edsa",
      +      "bverfge"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  15. Changed2 schema fields 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."
      +}
    • changedInput schema / properties / source_type / anyOf
      Previous value: -[
      -  {
      -    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      -    "enum": [
      -      "gii",
      -      "eurlex",
      -      "eurlex_caselaw",
      -      "rechtsprechung",
      -      "sachsen_rechtsprechung",
      -      "sachsen_gesetze",
      -      "bayern_gesetze",
      -      "nrw_gesetze",
      -      "gesetzesmaterialien"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      +    "enum": [
      +      "gii",
      +      "eurlex",
      +      "eurlex_caselaw",
      +      "rechtsprechung",
      +      "sachsen_rechtsprechung",
      +      "sachsen_gesetze",
      +      "bayern_gesetze",
      +      "nrw_gesetze",
      +      "gesetzesmaterialien",
      +      "edsa"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  16. Changed1 schema field changed
    • changedInput schema / properties / source_type / description
      Previous value: -"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'sachsen_rechtsprechung', 'sachsen_gesetze', 'bayern_gesetze', or 'nrw_gesetze'. Leave empty to auto-detect."New value: +"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'sachsen_rechtsprechung', 'bayern_gesetze', or 'nrw_gesetze'. Leave empty to auto-detect."
  17. Changed1 schema field changed
    • changedInput schema / properties / source_type / anyOf
      Previous value: -[
      -  {
      -    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      -    "enum": [
      -      "gii",
      -      "eurlex",
      -      "eurlex_caselaw",
      -      "rechtsprechung",
      -      "sachsen_rechtsprechung",
      -      "sachsen_gesetze",
      -      "bayern_gesetze",
      -      "nrw_gesetze"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      +    "enum": [
      +      "gii",
      +      "eurlex",
      +      "eurlex_caselaw",
      +      "rechtsprechung",
      +      "sachsen_rechtsprechung",
      +      "sachsen_gesetze",
      +      "bayern_gesetze",
      +      "nrw_gesetze",
      +      "gesetzesmaterialien"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  18. Changed2 schema fields changed
    • changedInput schema / properties / source_type / anyOf
      Previous value: -[
      -  {
      -    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      -    "enum": [
      -      "gii",
      -      "eurlex",
      -      "eurlex_caselaw",
      -      "rechtsprechung",
      -      "sachsen_gesetze",
      -      "bayern_gesetze"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Known legal document source types.\n\nUses StrEnum so values compare equal to plain strings\n(e.g. ``SourceType.GII == \"gii\"``), which keeps Qdrant\npayloads and PostgreSQL columns compatible without conversion.",
      +    "enum": [
      +      "gii",
      +      "eurlex",
      +      "eurlex_caselaw",
      +      "rechtsprechung",
      +      "sachsen_rechtsprechung",
      +      "sachsen_gesetze",
      +      "bayern_gesetze",
      +      "nrw_gesetze"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / source_type / description
      Previous value: -"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'sachsen_gesetze', or 'bayern_gesetze'. Leave empty to auto-detect."New value: +"'gii', 'eurlex', 'eurlex_caselaw', 'rechtsprechung', 'sachsen_rechtsprechung', 'sachsen_gesetze', 'bayern_gesetze', or 'nrw_gesetze'. Leave empty to auto-detect."
  19. Changed2 schema fields changed
    • addedInput schema / properties / law_abbreviation / maxLength
      Added value: +128
    • addedInput schema / properties / law_abbreviation / minLength
      Added value: +1
  20. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that: it discloses the pagination trait ('Paginated for large laws') and the ordering and shape of entries, both of which the annotations do not convey. Return format is partly redundant with the output schema, which slightly limits the gain.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short paragraphs with no waste, and each sentence does work: what is returned is front-loaded, followed by the workflow link and the pagination caveat. Nothing repeats the schema or the annotations.

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 and annotations cover safety, so the description does not need to explain return values, yet it still gives a useful shape preview. It is complete enough to call the tool correctly. A small gap remains: the description does not mention that language and source_type map to separate corpora and are auto-detected, though the schema covers that in detail.

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?

With 100% schema description coverage, the baseline is 3 because the schema already documents all six parameters, including the limit/offset pagination semantics and the language-corpus nuance. The description mentions pagination generally but adds no parameter-level detail or syntax beyond what the schema provides.

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 (Get the table of contents) and resource (law or court decision), and further specifies the returned elements: norm keys, titles, chapter headings, in document order. The distinction from legal_get_context is made explicit, so an agent can tell the two apart 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states its role clearly as the structural overview and routes the agent onward: 'a returned norm_id feeds legal_get_context for the full text.' That is concrete workflow guidance. It stops short of saying when NOT to use it, or how it relates to siblings such as legal_search or legal_list_laws, which keeps it from a 5.

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