Skip to main content
Glama

get_provision

Retrieve a specific provision from a Swedish statute using the SFS number or statute name, with optional chapter, section, or provision reference.

Instructions

Retrieve a specific provision from a Swedish statute. Do NOT use for keyword search โ€” use search_legislation instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYesSFS number (e.g., "2018:218") or statute name (e.g., "dataskyddslagen")
chapterNoChapter number (e.g., "3").
sectionNoSection number (e.g., "5", "5 a")
provision_refNoProvision reference: canonical "3:5" or Swedish "3 kap. 5 ยง". Alternative to chapter+section.
as_of_dateNoHistorical date (YYYY-MM-DD).
Behavior3/5

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

No annotations are provided, so the description carries the full burden. While 'retrieve' implies a read operation, the description does not explicitly state that it's read-only, nor does it mention any behavioral traits like authentication needs, rate limits, or error handling. It is adequate but lacks explicit safety disclosure.

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?

The description is two sentences with no wasted words. The first sentence states the purpose, and the second provides usage guidance. Efficient and well-structured.

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

Completeness3/5

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

Given the tool has 5 parameters and no output schema, the description is minimal. It does not explain the return format, pagination (if any), or error scenarios. While the sibling context helps, more detail on what the response contains would improve completeness.

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% (all 5 parameters have descriptions in the schema). The tool description adds no additional parameter information beyond what the schema provides. Baseline score of 3 is appropriate.

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?

The description clearly states the tool retrieves a specific provision from a Swedish statute and explicitly distinguishes it from the sibling tool search_legislation, which is for keyword search. The verb 'retrieve' and resource 'specific provision' are precise.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says 'Do NOT use for keyword search โ€” use search_legislation instead,' providing clear when-not conditions and a direct alternative tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ansvar-Systems/swedish-law-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server