Skip to main content
Glama

Search Case Law

search_case_law

Search Swedish court decisions and binding precedents from Domstolsverket and national judicial archives by legal issue, party, or case number; filter by court and limit results.

Instructions

Search Sweden (SE) court decisions and binding precedents via Domstolsverket (domstol.se / Lagrummet Rättsfallsdatabas) and open national judicial archives (Supported courts: Högsta domstolen (HD), Högsta förvaltningsdomstolen (HFD), Hovrätterna).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_case_law"
  }
}

Input Schema

NameRequiredDescriptionDefault
courtNoOptional court filter (Högsta domstolen (HD), Högsta förvaltningsdomstolen (HFD), Hovrätterna).
limitNoMaximum number of judgments to return.
queryYesLegal issue, keywords, party name, or ECLI/case number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It usefully discloses the data sources and the exact set of courts covered, which tells the agent about coverage boundaries. It says nothing about result language, ranking, pagination, rate limits, or freshness, and the read-only nature is only inferable from the verb 'Search'.

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?

A single front-loaded sentence that puts the verb and jurisdiction first. The trailing parenthetical court list duplicates the schema's court parameter description, which is mild waste, but nothing else is padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The presence of an output schema means return values need not be explained, and the description adequately covers sources and court coverage. What is missing is guidance relative to the closely related search and verification siblings, plus any note on result language or completeness of the archive. Adequate but with clear gaps for a tool in a crowded sibling set.

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 query, court, and limit are already documented in the schema. The description restates the court values but adds no new semantics such as how the query string is interpreted (keywords vs. ECLI vs. party name) or how filtering behaves. Baseline 3 applies when the schema does the heavy lifting.

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 gives a specific verb ('Search') and resource ('Sweden (SE) court decisions and binding precedents') and names the underlying sources (Domstolsverket, Lagrummet Rättsfallsdatabas) plus the supported courts. That is far more concrete than a generic 'search case law'. It does not, however, differentiate itself from the similarly named sibling search_tiered_court_decisions, so an agent cannot tell from this text alone which of the two to pick.

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 signal is the jurisdiction scope ('Sweden (SE)'), which implicitly says this is for Swedish case law. There is no statement of when to prefer this over search_tiered_court_decisions or verify_citation, and no exclusions or prerequisites. With a heavily overlapping sibling present, the absence of routing guidance is a real gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.