Skip to main content
Glama

norway-legislation-mcp-server

Look up Norwegian legislation citations

norlaw_lookup_citation
Read-onlyIdempotent

Resolve exact legislation citations in request order, processing up to 25 per call. Accepts recordIds, Lovdata URLs and ELI, published IDs, Norwegian date citations, gazette journal numbers, and exact titles or abbreviations. Append an incorporated article address such as gdpr/a6 or emke/p1/a1 to a document citation. Omit edition to prefer consolidated text. Verified provisions include build-bound locators for norlaw_get_provision.

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": {
      "citations": "<citations>"
    },
    "name": "norlaw_lookup_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
editionNoExplicit edition filter. Omit to prefer consolidated records and allow promulgated-only matches.
languageNoSelect the explicitly published language. Grunnloven defaults to Bokmål when unpinned.
citationsYesCitations in the order to resolve them.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoGuidance for continuing a deferred citation batch.
resultsNoIndependent resolutions, in request order.
coverageNoPackage coverage of this response.
deferredNoUnprocessed citations to submit with the same edition and language.
attributionNoSource, licence, and conversion notice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: order preservation, a hard 25-item batch cap, consolidated-vs-promulgated preference when edition is omitted, and hand-off locators. It does not say what happens to unresolvable or ambiguous citations, which is the main open behavioral question for a resolver.

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 the verb and batch limit, then formats, then the article-append rule, then the sibling hand-off – a sensible ordering with almost no filler. The final sentence's 'build-bound locators' is jargon-heavy and slightly opaque, but it still carries information.

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?

An output schema exists, so return values need no explanation, and annotations cover safety and idempotence. What remains thin is the failure path: with up to 25 citations per call in mixed formats, an agent needs to know whether bad citations fail the whole batch or resolve partially – that gap keeps this from being fully complete.

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 genuinely extends it by enumerating accepted citation forms (recordIds, Lovdata URLs and ELI, published IDs, Norwegian date citations, gazette journal numbers, titles or abbreviations) and by showing an incorporated-article suffix pattern like gdpr/a6 or emke/p1/a1 – none of which the schema conveys. It also restates the edition-omission rule, which is minor duplication.

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 ('Resolve exact legislation citations') plus concrete scope ('in request order, processing up to 25 per call'), which separates it from the search_* and find_* siblings that take queries rather than exact citations. An agent can tell what it does and what it accepts without opening the 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?

Establishes the use case implicitly but firmly: exact' citations, not keyword search, and it names the downstream sibling ('build-bound locators for norlaw_get_provision'), so the resolve-then-fetch chain is clear. It never explicitly excludes the search or find tools, so the alternative routing is left to inference.

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.