Skip to main content
Glama

norway-legislation-mcp-server

Get Norwegian legislation provisions

norlaw_get_provision
Read-onlyIdempotent

Read cited provisions or exact source paths from one Norwegian legislation record, processing up to ten per call. Returns complete source Markdown, change notes, footnotes, and parallel future variants when present. Use document.recordId with a portable locator from a full outline, search hit, or verified citation. For a compact outline, combine its sourcePath with document.build to form the locator.

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": {
      "document": "<document>",
      "provisions": "<provisions>"
    },
    "name": "norlaw_get_provision"
  }
}

Input Schema

NameRequiredDescriptionDefault
editionNoSelect consolidated text or a promulgated gazette record. Omit to infer the edition from the citation.
documentYesReturned recordId, Lovdata URL, dokID, refID, date code, journal number, or exact title or alias.
languageNoSelect the explicitly published language. Grunnloven defaults to Bokmål when unpinned.
provisionsYesProvision selectors in request order, including any repeated selectors.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
foundNoWhether the document was resolved.
noticeNoGuidance for an unresolved lookup or deferred batch.
reasonNoReason a document could not be selected.
coverageNoPackage coverage of this response.
deferredNoUnprocessed selectors to submit with the same document, edition and language.
documentNoExact document citation, including its published language and build.
candidatesNoMatching records when disambiguation is required.
partReasonNoThe part embedded in the document citation could not be parsed.
provisionsNoOne independent provision outcome per selector, in request order.
attributionNoSource, licence, and conversion notice.
alternativesNoOther exact matches and published counterparts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world, so the safety profile is covered. The description does add genuine context beyond them — the ten-per-call cap and the fact that change notes, footnotes and parallel future variants may be returned — but says nothing about failure behavior for unresolvable locators or build mismatches, which matters for a build-bound selector.

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?

Four sentences, front-loaded with what is returned and the batch limit, then input sourcing. Dense and jargon-heavy ('portable locator', 'build-bound source locator') but no sentence is filler and ordering is sensible.

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?

An output schema exists, so return-shape explanation is optional, and the description still flags the notable extras (change notes, footnotes, future parallel variants). Combined with 100% parameter coverage this is nearly complete; the remaining gap is guidance on what happens when a supplied locator cannot be resolved against the given build.

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%, so baseline is 3 and the schema already explains recordId, edition inference, language defaulting and the two locator shapes. The one real contribution is the instruction to pair a compact outline's sourcePath with document.build, but that linkage is already implied by the build-bound schema object, so added meaning is modest.

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 cited provisions or exact source paths from one Norwegian legislation record, with a stated batch ceiling of ten. The scope ('provisions from one record') implicitly separates it from a whole-document reader like norlaw_get_document, but no sibling is named, so the differentiation is inferential rather than 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 concrete input provenance: take document.recordId together with a portable locator from a full outline, a search hit, or a verified citation, and for compact outlines combine sourcePath with document.build. That is actionable when-to-use context, though it never states when to prefer a sibling (e.g., a document-level or citation-lookup tool) instead.

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.