Skip to main content
Glama

finland-law-mcp-server

Read Finnish Statute

filaw_get_statute
Read-only

Read a Finnish statute outline with metadata, one chapter with its wording, or published entry-into-force provisions. Use filaw_get_provision for individual addresses. Select as_enacted for original Statute Book text or an exact version for adopted snapshot wording.

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>"
    },
    "name": "filaw_get_statute"
  }
}

Input Schema

NameRequiredDescriptionDefault
asofNoConsolidated effective date. Defaults to today in Europe/Helsinki without version.
partNoChapter such as 7 luku, or entry_into_force. Omit for the outline.
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.
include_evidenceNoInclude per-section evidence in an outline. Chapter reads always include it.

Output Schema

NameRequiredDescriptionDefault
asofNoDate used to resolve effective wording.
partNoRequested chapter or entry_into_force, when supplied.
typeNoFinlex statute type.
errorNoPresent when the call failed. Absent on success.
foundNoFalse if Finlex did not serve the requested identity.
statusNoStatute and part resolution outcome.
noticesNoStatute selection and batch notices.
statuteNoCanonical statute number/year.
versionNoRequested exact expression label.
chaptersNoChapter outline.
guidanceNoNext step for a miss or ambiguity.
keywordsNoFinlex keyword labels.
languageNoFinlex expression language.
sectionsNoSections outside numbered chapters.
downloadsNoSource manifestation links.
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.
corrigendaNoPublished corrections.
is_in_forceNoCurrent Finlex in-force flag.
commencementNoPublished commencement blocks of the selected expression.
effective_toNoStatute last effective day.
translationsNoFinlex foreign-language translations.
authoritativeNoFinlex authoritative marker.
source_creditNoFinlex attribution and licence.
effective_fromNoStatute commencement date.
expression_uriNoSelected Finlex expression URI.
latest_versionNoLatest adoption label available in this language.
unnumbered_textNoFinlex link for text without numbered headings, when supplied.
preparatory_worksNoRecorded original preparatory-work references.
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.
administrative_branchNoFinlex administrative branch.
issued_under_this_actNoDecrees issued under the statute.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and external-source profile is covered structurally. The description adds genuine behavioral context beyond that: it discloses what each read mode yields (outline and metadata, chapter plus its wording, entry-into-force provisions) and flags as_enacted as the authoritative Statute Book text. It does not discuss failure behavior or result size, 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?

Two tightly packed sentences with no filler: the first front-loads the three return modes, the second carries the disambiguation and selector guidance. Every clause conveys a decision-relevant fact.

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 seven-parameter tool with full schema coverage, an output schema, and read-only annotations, the description supplies what structured fields cannot: the set of read modes and the sibling boundary. It leaves some residual ambiguity about the relationship between asof and version beyond 'select one,' but overall an agent has enough to call it correctly.

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% across all seven parameters, so the schema already carries the burden and the baseline is 3. The description does clarify the interaction between the collection and version selectors (as_enacted for original text, exact version for adopted snapshot wording), which meaningfully helps an agent pick between overlapping date/version inputs, but it adds little about statute, part, language, or include_evidence beyond what the schema states.

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?

States a specific verb and resource ('Read a Finnish statute') and then enumerates the three distinct things it can return: an outline with metadata, one chapter with its wording, or published entry-into-force provisions. It also explicitly contrasts itself with the sibling filaw_get_provision for individual provision addresses, so an agent can separate the two without opening either schema.

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?

Gives a clear routing rule ('Use filaw_get_provision for individual addresses') and a selector rule for as_enacted versus an exact version, which is exactly the kind of when-to-use guidance an agent needs. It stops short of covering other plausible alternatives in the catalog (e.g. searching for a statute when the identifier is unknown, or listing amendments), 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.