Skip to main content
Glama

finland-law-mcp-server

Read Finnish Government Proposal

filaw_get_government_proposal
Read-only

Read a Finnish government proposal by HE number. Filter the outline by maximum depth or a parent heading, then pass a heading selector as part to read its text in Finnish or Swedish. PDF-only proposals include a download link.

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": {
      "proposal": "<proposal>"
    },
    "name": "filaw_get_government_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
partNoSelector from the outline or exact unique heading. Omit for the outline.
parentNoHeading selector whose descendants to list. Omit when reading a part.
languageNoFinnish (fin) or Swedish (swe).
proposalYesHE number, for example HE 157/2000 or 157/2000.
max_levelNoInclude headings at or above this outline depth. Omit when reading a part.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
resultNoProposal metadata, selected text, or a recoverable lookup outcome.
sourceNoFinlex attribution and transformation notice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/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 then adds genuinely new behavior — outline vs. full-text modes, Finnish/Swedish availability, and the PDF-only fallback that returns a download link instead of text. It stops short of noting any limits on size or partial-text coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with the identifier and purpose front-loaded, then the workflow, then the PDF caveat — no filler. Minor awkwardness ('pass a heading selector as part') costs it a top mark.

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?

With an output schema present, return values need no explanation, and the description covers both modes, language selection, and the PDF edge case. The only gap is the absence of any pointer on how to discover valid HE numbers.

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 the parameter descriptions already spell out 'Omit for the outline', 'Omit when reading a part', and the max_level semantics. The description restates rather than extends that, only lightly reinforcing the mutual exclusivity of outline-mode and part-mode parameters, so the baseline 3 applies.

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 and resource ('Read a Finnish government proposal') plus the identifying key (HE number), and sketches both operating modes, outline browsing and part reading. It is clearly distinct from a search tool, though it never names the sibling used to find HE numbers.

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 an actionable two-step workflow: narrow the outline with max_level or parent, then pass a heading selector as `part` to fetch text. It does not state when to prefer this over filaw_search_government_proposals or where an HE number comes from, so context is clear 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.