Skip to main content
Glama

check_currency

Verify if a Swedish statute or provision is currently or historically in force. Use before citing to confirm it has not been repealed.

Instructions

Check if a Swedish statute or provision is in force (current or historical). Use before citing to verify statute hasn't been repealed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYesSFS number (e.g., "2018:218")
provision_refNoProvision reference to check (e.g., "3:5")
as_of_dateNoHistorical date (YYYY-MM-DD).
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the tool checks if a statute is in force but does not describe what happens if the statute doesn't exist, the return format (e.g., boolean, status), or any side effects. This is insufficient for an agent to understand expected behavior.

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, front-loaded with the core purpose, and every word adds value. No extraneous information.

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

Completeness2/5

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

Given the lack of output schema and moderate complexity (3 parameters), the description should provide more context about the return value or behavior. It only hints at the outcome, leaving the agent without enough information to fully understand the tool's response.

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?

The input schema has 100% coverage with descriptions for all three parameters. The tool description does not add extra meaning beyond what the schema provides, so it meets the baseline of 3.

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 verb 'Check' and the resource 'Swedish statute or provision' and specifies the outcome 'in force'. The hint 'Use before citing to verify statute hasn't been repealed' adds clarity and distinguishes from sibling tools like 'get_provision' that retrieve text rather than check currency.

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?

The description provides clear context for when to use the tool: 'before citing to verify statute hasn't been repealed'. However, it does not explicitly state when not to use it or mention alternative tools for different purposes, missing some guidance for agents.

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