Skip to main content
Glama

Aleva open data

Rulings per court

court_rulings_by_court
Read-onlyIdempotent

Rulings per court. Returns a list of records; pass next_cursor to get the next page. Fields: court_code (varchar); court (varchar); rulings (bigint); latest (date).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many rows to return
cursorNonext_cursor from the previous result, for the next page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed (non-open-world) dataset, so the safety profile is covered. The description usefully adds pagination behavior via the cursor loop and enumerates the shape of rows, but says nothing about ordering, volume, or freshness beyond the 'latest' field.

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?

Three short, front-loaded sentences with no filler: purpose, pagination, then the result fields. Terse and effective, though the field list reads slightly like a schema dump rather than prose.

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 correctly compensates by listing the returned columns and explaining the cursor pagination loop. The notable remaining gap is the absence of any differentiation from the near-identical sibling court_rulings.

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 both limit and cursor are already documented. The description restates pagination ('pass next_cursor') without adding format or range detail beyond the schema, making the baseline 3 appropriate.

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 name/title plus 'Rulings per court' plus the returned field list (court_code, court, rulings count, latest date) make clear this is an aggregate of ruling counts grouped by court. This distinguishes it in substance from the bare sibling court_rulings, but the description never explicitly contrasts them, so it falls short of a 5.

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?

There is no guidance on when to reach for this aggregate versus the sibling court_rulings, nor any stated preconditions. The only procedural note ('pass next_cursor to get the next page') is pagination mechanics, not usage selection.

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