Skip to main content
Glama

finland-law-mcp-server

Resolve Finlex Citations

filaw_lookup_citation
Read-only

Resolve statutes, government proposals, and KKO, KHO, TT or MAO decisions by citation. Use a statute number, exact title, or supported abbreviation, with an optional provision address. SK selects the Statute Book text. HE, court numbers, and ECLIs identify proposals and decisions.

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": {
      "citations": "<citations>"
    },
    "name": "filaw_lookup_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoFinnish (fin) or Swedish (swe) source expression.
citationsYesWritten citations such as 55/2001, SK 55/2001, TSL 7:3, HE 157/2000, or ECLI:FI:KKO:2024:12. Processes the first 25 and returns the rest in deferred.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
sourceNoSource and licensing attribution.
noticesNoApplied batch limit when citations are deferred.
resultsNoOne resolution per processed citation in request order.
deferredNoUnprocessed citations for the next call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds domain behavior about how citation prefixes map to source types, but says nothing about permissions, failure modes for unrecognized citations, or the batching behavior (the 25-item cap lives in the schema, not here).

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?

Three short sentences, front-loaded with the verb and resource scope, then input forms, then prefix mapping. Nothing is repeated from the schema and no sentence is filler.

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?

Output schema exists, so return shape need not be described, and the two-parameter surface is fully covered by the schema. The one missing piece is workflow context: whether resolution yields an identifier intended for filaw_get_statute / filaw_get_decision or contains the text itself.

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?

Schema coverage is 100%, so baseline would be 3, but the description goes beyond it by explaining the prefix semantics ('SK selects the Statute Book text. HE, court numbers, and ECLIs identify proposals and decisions') that the schema's example list does not decode. It does not clarify how 'exact title' and 'supported abbreviation' differ in matching strictness.

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 (resolve) and named resource set (statutes, government proposals, KKO/KHO/TT/MAO decisions) qualified by 'by citation', which separates it from the get_* retrieval siblings. It stops short of explicitly saying the output is an identifier you then feed to a get_* tool, so the distinction is clear but not fully drawn.

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?

'Use a statute number, exact title, or supported abbreviation, with an optional provision address' describes valid inputs rather than when to choose this tool over siblings. No alternative is named and no exclusion is stated, leaving the agent to infer that search_* tools are for keyword discovery while this one is for known citations.

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.