Skip to main content
Glama

Dutch Case Law API (Rechtspraak): court rulings by ECLI

search_dutch_case_law
Read-onlyIdempotent

Look up Dutch court decisions (uitspraken) by ECLI, or search them by court, legal area, date and keywords: court, decision and publication dates, case numbers, legal areas, procedure, the court's own summary (inhoudsindicatie), appeal / cassation / Advocate-General relations, referenced laws, and optionally the full text.

Pass ecli for one decision, or query and filters to search. For the text of a statute use get_uk_dutch_law, or get_eu_law for EU law.

Inputs: ecli (up to 100, comma-separated) fetches decisions directly. Otherwise query searches titles and summaries (commas separate alternatives, the words of one alternative must all appear), narrowed by courts (ECLI codes such as HR, RVS), legalAreas, dates and documentType. includeText adds the full text at the same price, cut at maxTextChars.

Read-only, no side effects. Charged per row returned, at the price below; a call that fails or runs out of time (55 s) is free. If one source does not answer, the rest still comes back and warnings names the gap. Limit: 60 calls a minute per key (10 on a new free key); past it the call is refused (rate_limited, free): retry after about 10 seconds.

Price: $0.005 per decision.

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

Input Schema

NameRequiredDescriptionDefault
ecliNoOne or more Dutch ECLIs, separated by commas or spaces, e.g. "ECLI:NL:HR:2024:123" or "ECLI:NL:HR:2024:123, ECLI:NL:RVS:2024:1000" (max 100)
queryNoWords to find in the decision's title and summary (inhoudsindicatie), case-insensitive
courtsNoCourt codes as used in the ECLI
dateToNoLatest decision date, inclusive, YYYY-MM-DD, e.g. "2024-12-31"
dateFromNoEarliest decision date (uitspraakdatum), YYYY-MM-DD, e.g. "2024-01-01"
legalAreasNoRechtsgebied names
maxResultsNoMost decisions to return from a search, most recently published or updated first, e.g. 20 (default)
includeTextNotrue = add the full decision as plain text (section headings as '## ', numbered paragraphs kept), cut at maxTextChars
documentTypeNo"uitspraak" = court decisions only, "conclusie" = opinions of the Advocate-General at the Hoge Raad only
maxTextCharsNoWith includeText: cap on the text per decision in characters, e.g. 20000 (default)

Output Schema

NameRequiredDescriptionDefault
rowsYes
toolNo
countYes
messageNo
warningsNo
balance_usdNo
charged_usdNo
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / ecli / examples
      Added value: +[
      +  "ECLI:NL:HR:2024:123"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "balance_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "charged_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "count": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "duration_seconds": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "message": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "rows": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "case_numbers": {
      +            "description": "Case numbers (zaaknummers) as published, e.g. [\"22/01066\"].",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "court": {
      +            "description": "Court (instantie) name, e.g. Hoge Raad, Raad van State, Rechtbank Amsterdam.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "court_code": {
      +            "description": "Court code from the ECLI, e.g. HR, RVS, CRVB, GHAMS, RBAMS.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "court_id": {
      +            "description": "The court's identifier URI in the Rechtspraak value list.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "data_url": {
      +            "description": "The official Open Data XML this row was read from.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "decision_date": {
      +            "description": "Date of the decision or opinion (uitspraakdatum), YYYY-MM-DD.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "document_type": {
      +            "description": "\"uitspraak\" (decision) or \"conclusie\" (Advocate-General's opinion).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "duration_seconds": {
      +            "description": "How long fetching this decision took.",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "ecli": {
      +            "description": "European Case Law Identifier of the decision, e.g. ECLI:NL:HR:2024:123.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "has_text": {
      +            "description": "Whether rechtspraak.nl publishes the decision text (false = metadata only).",
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "language": {
      +            "description": "Language code of the metadata record (nl); English translations say so in the summary.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "legal_areas": {
      +            "description": "Legal areas (rechtsgebieden), e.g. [\"Strafrecht\"].",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "modified": {
      +            "description": "Last change to the metadata or text, ISO 8601 (Rechtspraak local time).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "procedures": {
      +            "description": "Procedure types, e.g. [\"Cassatie\"], [\"Hoger beroep\"].",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "publication_date": {
      +            "description": "Date the text was published on rechtspraak.nl, YYYY-MM-DD.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "published_in": {
      +            "description": "Where the decision is published (vindplaatsen), e.g. [\"Rechtspraak.nl\", \"NJ 2014/336\"].",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "references": {
      +            "description": "References to legislation and case law: {type (law, case_law, eu_law, local_regulation), label, identifier (BWB jci or ECLI), bwb_id, article, url}.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "relations": {
      +            "description": "Formal relations to other decisions: {ecli, relation (hogerBeroep, cassatie, conclusie, ...), direction (earlier = the other decision is from an earlier instance, later = a later one), outcome (e.g. bekrachtiging/bevestiging, vernietiging, contrair), label, url}.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "replaced_by": {
      +            "description": "ECLI that replaces this one, if it was withdrawn.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "replaces": {
      +            "description": "Old identifiers (LJN) this ECLI replaces.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "retrieved_at": {
      +            "description": "When the row was made (ISO 8601, UTC).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "schema_version": {
      +            "description": "Output schema version.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "seat": {
      +            "description": "Place of session (zittingsplaats), when given.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "source_url": {
      +            "description": "The decision on uitspraken.rechtspraak.nl.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "summary": {
      +            "description": "The court's own summary (inhoudsindicatie) as plain text; null when none.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "text": {
      +            "description": "The decision as plain text (includeText only): '## ' section headings, numbering kept, footnotes at the end; cut at maxTextChars.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "text_chars": {
      +            "description": "Length of the full plain text in characters (null without text).",
      +            "type": [
      +              "null",
      +              "number"
      +            ]
      +          },
      +          "text_truncated": {
      +            "description": "True when text was cut at maxTextChars; null without includeText.",
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "title": {
      +            "description": "Rechtspraak's display title: ECLI, court, decision date and case numbers.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "warnings": {
      +            "description": "Caveats in plain words: text cut, metadata only, replaced ECLI, keyword scan limit.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    "tool": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "rows",
      +    "count"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world, and the description goes well beyond them: per-row pricing ($0.005 per decision), free calls on failure or 55 s timeout, partial results with a `warnings` field naming the missing source, and a 60/min rate limit (10 on a new free key) with a ~10 s retry and a `rate_limited` refusal code. That is exactly the operational context an agent needs before calling a paid external API.

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-loads purpose, then routing, then inputs, then cost and limits, then price — a logical order with no filler sentences. The opening facet list ('court, decision and publication dates, case numbers, legal areas, procedure...') partially duplicates the Inputs paragraph, which is the only real redundancy.

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?

For a 10-parameter, zero-required, open-world search tool with an output schema already present, the description covers selection mode, filter semantics, cost, truncation, failure/partial-result behavior and rate limits. The only thing left to the output schema is the response shape, which is appropriate.

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 adds genuine meaning the schema does not: the comma-as-OR / all-words-must-match semantics of `query`, the ECLI-code form of `courts` (HR, RVS), the 100-ECLI cap, and that `includeText` is priced the same and truncated at `maxTextChars`. Minor remaining gap: `legalAreas` and `documentType` are only lightly glossed beyond the schema.

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 ('Look up Dutch court decisions (uitspraken) by ECLI, or search them by court, legal area, date and keywords') and enumerates the retrievable facets. It also explicitly distinguishes itself from the statute tool get_uk_dutch_law and the EU tool get_eu_law, so an agent can route without opening a 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 a concrete selection rule: 'Pass `ecli` for one decision, or `query` and filters to search', and names the alternatives plus the condition that selects them ('For the text of a statute use get_uk_dutch_law, or get_eu_law for EU law'). Nothing about when to pick this versus a sibling is left to inference.

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.