Skip to main content
Glama

Aleva open data

Published court rulings

court_rulings
Read-onlyIdempotent

Published court rulings. Returns a list of records; pass next_cursor to get the next page. Fields: id (varchar); decided_on (date); published_at (timestamptz); court_code (varchar); court (varchar); kind (varchar): REFERAT (case report), DOM_ELLER_BESLUT (judgment or decision), ...; type (varchar); case_numbers (varchar); reference (varchar): Case report number, e.g. NJA 2026:12; keywords (varchar); laws (varchar): Provisions cited; summary (varchar).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many rows to return
cursorNonext_cursor from the previous result, for the next page
court_codeNoHDO Supreme Court, HFD Supreme Administrative Court, ... (equals)
decided_onNoDecision day (equals)
court_code_inNoHDO Supreme Court, HFD Supreme Administrative Court, ... (any of)
decided_on_gteNoDecision day (at least)
decided_on_lteNoDecision day (at most)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds pagination behavior and, critically, the full return-field list, which is real behavioral context given there is no output schema. It does not mention rate limits or auth, but the bar is lower with annotations present.

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?

Purpose and pagination are front-loaded in the first two clauses, followed by a compact semicolon-delimited field list. The field enumeration is long but each entry earns its place by documenting the (otherwise undocumented) response shape.

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?

With no output schema, the description usefully supplies the return fields and their meanings plus pagination semantics, which is what an agent needs to call and consume the tool. The one notable omission is guidance on choosing it over court_rulings_by_court.

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 all seven input parameters are already documented in the schema and the baseline is 3. The field list explains returned columns rather than adding input-parameter meaning, so it does not raise this above baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource (published court rulings) and that it returns a list of records, so the agent knows it is a query/read tool. However, it never distinguishes itself from the close sibling court_rulings_by_court, so an agent cannot route between the two from the description alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The only usage guidance is pagination ('pass next_cursor to get the next page'), which is procedural rather than selective. There is no statement of when to use this tool versus court_rulings_by_court or any of the other stats tools, and no exclusions or prerequisites.

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