Skip to main content
Glama

finland-law-mcp-server

Search Finnish Statutes

filaw_search_statutes
Read-only

Find Finnish statutes by title substring, exact Finlex keyword, year, statute type, or Statute Book category. Search uses title and metadata filters. Results start with the oldest matches. Use filaw_get_statute to read a result.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "filaw_search_statutes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return. Values above 10 are clamped to 10.
titleNoCase-insensitive Finnish or Swedish title substring.
cursorNoContinuation from the preceding page of the same search.
keywordNoExact Finlex keyword label. The first page also tries initial capitalization if there are no matches.
categoryNoFilter new_statute or amending_statute in the as_enacted collection.
end_yearNoLast document year, inclusive.
in_forceNoFilter by Finlex in-force metadata. Available only for the consolidated collection.
languageNoSource expression language.
collectionNoConsolidated statutes or the Statute Book as enacted.consolidated
start_yearNoFirst document year, inclusive.
statute_typeNoFinlex statute type slug (act, decree, decision, announcement) or Finnish alias (laki, asetus, päätös, ilmoitus). See filaw_list_reference.
published_sinceNoPublication or change cutoff as an ISO 8601 timestamp with a timezone.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
itemsNoMatching statute expressions in Finlex list order.
limitNoApplied page size.
sourceNoSource and license attribution.
noticesNoPage-size adjustments, search recovery or source coverage notices when relevant.
next_cursorNoContinue the same search after the last listed expression.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With readOnlyHint and openWorldHint already declared, the description's real contribution is the non-obvious ordering disclosure ('results start with the oldest matches') and the clarification that matching is on title and metadata rather than full text. It says nothing about paging via cursor, about the collection-dependent nature of filters such as in_force, or about the 10-result effective cap, all of which the agent must discover from the schema.

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 purpose and filter facets, then ordering behavior, then the follow-up tool. No filler; even the seemingly redundant 'Search uses title and metadata filters' earns its place by ruling out full-text searching.

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 12-parameter faceted search with an output schema, the description covers the primary path, ordering, and the read-next step, and the fully documented schema carries the rest. It is thin on pagination strategy and the fact that some filters only apply to certain collections, which an agent must piece together from the schema.

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 the input schema already carries full parameter meaning. The description restates the main filter facets (title, keyword, year, statute type, category) but adds no syntax or edge-case detail, and leaves collection, in_force, language, published_since, limit and cursor untouched. Baseline 3 is appropriate.

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?

A specific verb (Find) plus resource (Finnish statutes) with the filter facets enumerated: title substring, exact Finlex keyword, year, statute type, Statute Book category. The resource word 'statutes' implicitly separates it from the decisions and government-proposal siblings, but no sibling is named explicitly and the description does not state how it differs from them beyond subject matter.

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?

It gives a clear next step ('Use filaw_get_statute to read a result'), which is useful workflow guidance, but never says when to prefer this over filaw_search_decisions or filaw_search_government_proposals, nor what happens when no filters are supplied. Usage is implied by the facet list rather than stated.

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.