Skip to main content
Glama

finland-law-mcp-server

Search Finnish Government Proposals

filaw_search_government_proposals
Read-only

Find government proposals by Finnish or Swedish title substring, year, or publication change date. Results start with the oldest matches. Use filaw_get_government_proposal to read a proposal.

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_government_proposals"
  }
}

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.
end_yearNoLast document year, inclusive.
languageNoSource expression language.
start_yearNoFirst document year, inclusive.
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 government proposal 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

A4.1/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 the bar is lower. The description adds genuinely useful behavior beyond them: results are returned oldest-first, which materially affects how an agent paginates with the cursor. It does not mention result fields, page size behavior, or that all filters are optional/ANDed.

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, zero redundancy. The capability statement is front-loaded, the ordering caveat follows, and the follow-up tool reference closes it out.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, annotations covering the safety profile, and 100% parameter description coverage, the description only needs to supply what structure cannot: what the tool finds, the result ordering, and the read-one sibling. All three are present.

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 coverage is 100% and every parameter is documented in the schema, including the limit clamping, language enum, and date-time format. The description restates only three of the seven filters (title, year, publication date) and says nothing about limit, cursor, or language, so it adds little meaning beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 ("Find government proposals") and enumerates the three filterable dimensions: Finnish/Swedish title substring, year, and publication change date. It also names the sibling to use for reading a single proposal, so an agent can tell search from retrieval without opening a 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 for the follow-up step: use filaw_get_government_proposal to read a proposal, implying search returns summaries/identifiers. It does not state when to prefer this over the other search tools (decisions, statutes) or when not to use it, so it stops short of full when/when-not guidance.

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.