Skip to main content
Glama

finland-law-mcp-server

Read Finnish Statute Provisions

filaw_get_provision
Read-only

Read up to ten provision addresses of one Finnish statute. Use an effective date, an exact consolidated adoption label, or as_enacted for original Statute Book text. Dated results show missing evidence and future changes. Use filaw_get_statute for chapter and section identifiers or filaw_list_amendments for amendment history.

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": {
      "statute": "<statute>",
      "provisions": "<provisions>"
    },
    "name": "filaw_get_provision"
  }
}

Input Schema

NameRequiredDescriptionDefault
asofNoConsolidated effective date. Defaults to today in Europe/Helsinki without version.
statuteYesStatute number/year, exact Finlex title, or curated abbreviation.
versionNoRead an exact consolidated adopted expression. Omit asof.
languageNoFinnish fin or Swedish swe.
collectionNoUse as_enacted for authoritative Statute Book text.
provisionsYesAddresses such as 21:1, 7 luku 3 § 2 mom. 1 kohta, or 3 a §. Processes the first ten and returns the rest in deferred. Repeats remain in input order.

Output Schema

NameRequiredDescriptionDefault
asofNoDate used to resolve effective wording.
errorNoPresent when the call failed. Absent on success.
foundNoFalse if Finlex did not serve the requested identity.
statusNoStatute resolution outcome.
noticesNoStatute selection and batch notices.
statuteNoCanonical statute number/year.
versionNoRequested exact expression label.
deferredNoUnprocessed addresses for the next call.
guidanceNoNext step for a miss or ambiguity.
languageNoFinlex expression language.
title_finNoFinnish Finlex title.
title_sweNoSwedish Finlex title.
as_enactedNoUse this identity to retrieve the as-enacted expression.
candidatesNoCandidate statute identities.
collectionNoConsolidated acts or the original Statute Book.
provisionsNoResults in the same order as the processed provision selectors.
authoritativeNoFinlex authoritative marker.
source_creditNoFinlex attribution and licence.
expression_uriNoSelected Finlex expression URI.
latest_versionNoLatest adoption label available in this language.
expression_versionNoAdoption label on the selected expression.
commencement_blocksNoCommencement blocks keyed by the adoption labels cited in evidence.
first_served_versionNoEarliest adoption label available in this language.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-data dependence are covered. The description adds two genuinely new behavioral facts: results are capped at ten addresses, and dated results surface missing evidence and future changes. It does not discuss how the three selectors interact (e.g. that version and asof are mutually exclusive), which the schema only hints at.

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 core action, followed by selector guidance and then sibling routing. No filler, no repetition of the schema, and the cap of ten is stated up front where it matters most.

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?

For a six-parameter tool with an output schema and annotations, the description covers scope, batch limit, selector choice, and alternatives. The remaining gaps (interaction between asof and version, language default behavior) are handled by the schema, so an agent can call it correctly from this definition.

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 the baseline is 3, but the description adds real meaning by explaining the purpose of the selector parameters — a date for consolidated-as-of text, an exact adopted label, or as_enacted for original Statute Book text. That is decision-relevant semantics rather than a restatement of field descriptions.

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

Purpose5/5

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

The opening sentence gives a specific verb and resource ('Read up to ten provision addresses of one Finnish statute'), including the batch cap and the single-statute scope. This is clearly distinguishable from filaw_get_statute (chapter/section identifiers) and filaw_list_amendments (amendment history), both of which are named later.

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

Usage Guidelines4/5

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

It routes the agent to two named siblings with the condition that selects them, and explains which selector to choose (effective date vs. exact consolidated adoption label vs. as_enacted). It stops short of stating when this tool is the wrong choice for other nearby tasks such as citation lookup or statute search, so it is strong but not exhaustive.

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.