Skip to main content
Glama

Se Law Get

se_law_get
Read-onlyIdempotent

Fetch one Swedish statute by its SFS number "year:number", e.g. "2018:218" (the Act with supplementary provisions to the EU Data Protection Regulation); "SFS 2018:218" is accepted too. Returns title, SFS citation, issue date, ministry, whether the Riksdag marks it repealed (with repeal date and the repealing act) and how far it is amended, then the text in Swedish. Pass section (e.g. "5", "3 a", or "2:1" for chapter 2 section 1, since chapters restart section numbers) for one section only; without it the text is capped at max_chars with a chapter list. A section with scheduled changes returns each version with the Riksdag's own marker line.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "2018:218",
      "section": "2:1"
    },
    "name": "se_law_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSFS number as "year:number", e.g. "2018:218"
sectionNoSection number, e.g. "5" or "3 a"; with chapters use chapter:section, e.g. "2:1"
max_charsNoCap on returned text when no section is given (default 20000, max 100000)

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
hintNo
noteNo
textNo
foundYes
titleNo
issuedNo
sourceNo
sectionNo
chaptersNo
citationNo
ministryNo
repealedNo
versionsNo
truncatedNo
data_as_ofNo
repealed_byNo
repealed_onNo
total_charsNo
empty_reasonNo
section_countNo
source_updatedNo
amended_throughNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the read-only/idempotent safety profile, and the description goes well beyond them: it enumerates returned metadata (title, citation, issue date, ministry, repeal marker with date and repealing act, amendment extent), notes the text is in Swedish, and discloses truncation behavior with max_chars and multi-version sections.

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?

Front-loaded with verb, resource, and identifier format, and every sentence carries operational detail. The sentences are long and heavily parenthetical, which slightly slows scanning, but nothing is filler.

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?

An output schema exists, yet the description still summarizes the return payload, and it covers ID format, section addressing, and truncation. Nothing an agent needs to invoke this correctly is missing.

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 genuine meaning: the rationale for '2:1' (chapters restart section numbers), acceptance of the 'SFS 2018:218' prefix variant, and the interaction between omitting section and max_chars truncation.

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 ('Fetch one Swedish statute by its SFS number') plus the exact identifier form with a concrete example, which makes it distinguishable from a search tool like se_law_search. The scope limit ('one statute') is explicit.

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 clear when-to guidance for the section parameter (one section only, chapter:section form because chapters restart numbering) and for omitting it (capped text plus chapter list). It never explicitly names the alternative for discovering an SFS number, so it stops short of full routing 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.