{"at":"2026-11-23T02:31:31.792Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:31:32.200Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T02:31:32.300Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T02:31:32.702Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"logging":{},"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"description":"Dutch case law (Rechtspraak Open Data + LiDO) over MCP. Data: Open Data van de Rechtspraak (rechtspraak.nl) & LiDO (linkeddata.overheid.nl). Served by rechtspraak-mcp — powered by PrudAI (https://prudai.com).","name":"rechtspraak-mcp","version":"0.1.0"}}}}
{"at":"2026-11-23T02:31:32.702Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:31:32.702Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:31:32.705Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Search Dutch case law (jurisprudentie/uitspraken) via the official Open Data API and get back ECLIs with links to the ruling and a PrudAI viewer. This is a faceted search: filter by rechtsgebied, instantie, date range and document type. It does not do free-text keyword matching. If you already have an ECLI, pass it as `query` and the tool returns that single decision's summary. Use list_waardelijsten to discover valid rechtsgebied/instantie identifiers.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"dateFrom":{"description":"Uitspraakdatum from, YYYY-MM-DD.","type":"string"},"dateTo":{"description":"Uitspraakdatum to, YYYY-MM-DD.","type":"string"},"from":{"description":"Zero-based pagination offset (default 0).","minimum":0,"type":"integer"},"instanties":{"description":"Court filter: a single OWMS creator URI (find it via list_waardelijsten).","items":{"type":"string"},"type":"array"},"max":{"description":"Max results to return (default 25).","exclusiveMinimum":0,"maximum":1000,"type":"integer"},"query":{"description":"A single ECLI to look up directly. (Open Data has no free-text search; non-ECLI keywords are ignored — use the facet filters instead.)","type":"string"},"rechtsgebied":{"description":"Rechtsgebied slug (e.g. 'civielrecht', 'strafrecht', 'bestuursrecht', 'internationaalpubliekrecht') or full PSI URI.","type":"string"},"sort":{"description":"'date' for newest-first; otherwise the API's default order.","enum":["relevance","date"],"type":"string"},"type":{"description":"Restrict to rulings or AG conclusies.","enum":["Uitspraak","Conclusie"],"type":"string"}},"type":"object"},"name":"search_uitspraken","title":"search_uitspraken"},{"description":"Run several Open Data lookups at once (3–10 entries). Pass ECLIs to resolve a batch of decisions' summaries in one call. Note: Open Data has no free-text matching, so non-ECLI terms fall back to facet-only results — prefer get_uitspraken_bulk when you already have the ECLIs. Use to cast a broad net before narrowing down via get_uitspraak.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"from":{"description":"Zero-based offset per term (default 0).","minimum":0,"type":"integer"},"pageSize":{"description":"Results per term (max 10, default 10).","exclusiveMinimum":0,"maximum":10,"type":"integer"},"terms":{"description":"3–10 distinct search terms, phrased differently.","items":{"minLength":1,"type":"string"},"maxItems":10,"minItems":3,"type":"array"}},"required":["terms"],"type":"object"},"name":"search_uitspraken_bulk","title":"search_uitspraken_bulk"},{"description":"Fetch the full text and metadata of a single Dutch court decision by ECLI, from the official Open Data API (data.rechtspraak.nl). Returns metadata (court, date, rechtsgebied, zaaknummer), the plain-text body, formal relations (conclusie/cassatie/etc.), and links to the ruling on rechtspraak.nl plus a PrudAI viewer. If the ECLI is not published or has no body text, the tool says so — do not invent or cite it in that case.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"ecli":{"description":"ECLI identifier, e.g. ECLI:NL:HR:2023:1234 (alias: id).","type":"string"},"id":{"description":"Alias for ecli.","type":"string"},"metadataOnly":{"description":"When true, fetch metadata only (no body text).","type":"boolean"}},"type":"object"},"name":"get_uitspraak","title":"get_uitspraak"},{"description":"Fetch multiple Dutch court decisions by ECLI in one call (1–10 ECLIs) from the official Open Data API. Returns a per-ECLI result with the body text, metadata, relations, and links — or an error for any ECLI that is unpublished or not found.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"eclis":{"description":"1–10 ECLI identifiers.","items":{"minLength":1,"type":"string"},"maxItems":10,"minItems":1,"type":"array"},"metadataOnly":{"description":"When true, fetch metadata only (no body text).","type":"boolean"}},"required":["eclis"],"type":"object"},"name":"get_uitspraken_bulk","title":"get_uitspraken_bulk"},{"description":"List the Rechtspraak value lists (waardelijsten) used to build valid search filters: instanties, instanties_buitenlands, rechtsgebieden, proceduresoorten, niet_nederlandse_uitspraken. 'rechtsgebieden' and 'instanties' return the identifiers/URIs you pass to search_uitspraken (rechtsgebied / instanties). Call without a name to see the available lists.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"name":{"description":"Which value list to fetch. Omit to list available names.","enum":["instanties","instanties_buitenlands","rechtsgebieden","proceduresoorten","niet_nederlandse_uitspraken"],"type":"string"}},"type":"object"},"name":"list_waardelijsten","title":"list_waardelijsten"},{"description":"Get the LiDO citation graph around a Dutch ECLI: rulings that cite it or are cited by it, referenced statute articles, and official publications, with typed Dutch link labels (e.g. 'Verwijst naar', 'Conclusie', 'Vernietigt'). Data comes from KOOP's live LiDO service (linkeddata.overheid.nl). Use it to position a ruling (is it a landmark? what does it cite?). Read-only and bounded (per-direction limit default 100, max 250). This returns structure, not full text — use get_uitspraak for the text of any neighbour.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"direction":{"description":"'both' (default), 'in' (only citing), 'out' (only cited).","enum":["both","in","out"],"type":"string"},"ecli":{"description":"ECLI identifier, e.g. ECLI:NL:HR:2019:1278. Case-sensitive local segment.","minLength":8,"type":"string"},"limit":{"description":"Per-direction edge limit (default 100).","maximum":250,"minimum":1,"type":"integer"},"linkTypeCodes":{"description":"Optional filter on link-type codes (e.g. ['lx-referentie', 'rvr-conclusie']).","items":{"minLength":1,"type":"string"},"type":"array"}},"required":["ecli"],"type":"object"},"name":"lido_related","title":"lido_related"}]}}}
