Skip to main content
Glama

finland-law-mcp-server

Read Finnish Court Decisions

filaw_get_decision
Read-only

Read up to ten KKO, KHO, TT or MAO decisions by Finlex URI, court citation, ECLI, or collection and number. A URI selects its own expression language. Omit sections for the full published body. Early KKO records may contain a short summary only.

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": {
      "decisions": "<decisions>"
    },
    "name": "filaw_get_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoFinnish (fin) or Swedish (swe).
sectionsNoSelected published sections. Omit to include every body block.
decisionsYesProcesses the first ten decision selectors in request order and returns the rest in deferred.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
sourceNoFinlex attribution.
noticesNoApplied batch limit when selectors are deferred.
deferredNoUnprocessed decision selectors for the next call.
decisionsNoA separate result for each processed decision selector.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the bar is lower, and the description still adds real behavioral context: a hard batch cap of ten decisions, the fact that a URI overrides the language parameter, and the data-quality caveat that early KKO records may be summary-only. It does not mention failure modes for unknown citations, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and batching limit, followed by language, section, and data-completeness caveats. No filler and nothing that fails to inform a caller.

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?

Covers batching, input forms, language interaction, section selection, and record completeness, and an output schema handles return values. The main remaining gap for a complex identifier-resolution tool is what happens on unresolvable or ambiguous citations, which the description does not address.

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?

With 100% schema description coverage the baseline is 3, but the description adds cross-parameter meaning the schema does not: a URI selects its own expression language, so the language field is advisory for URI inputs. Omitting sections yielding the full body is a useful restatement, though it duplicates the schema text.

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?

States a specific verb and resource (read decisions) plus the four court series (KKO, KHO, TT, MAO) and the acceptable identifier forms (URI, citation, ECLI, collection+number), which clearly separates it from the sibling search tools. It does not name a sibling or state explicitly that keyword discovery belongs elsewhere, so it stops just short of full differentiation.

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

Usage Guidelines3/5

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

Usage is implied through the identifier-based retrieval framing, and it offers practical guidance on omitting sections to get the full body and on URI-determined language. It never states when to prefer this over filaw_search_decisions or what to do when a citation lookup fails, so the when-to-use decision 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.