Skip to main content
Glama

No Law Search

no_law_search
Read-onlyIdempotent

Find Norwegian acts (lover) by title, short title, abbreviation or law number. Give a subject word ("arbeidsmiljø"), a short title or abbreviation ("straffeloven", "mrl"), or the act's number as Norwegians cite it ("lov 21 mai 1999 nr 30", or "1999-05-21-30"). Returns the act id, full title, short title, entry-into-force date and the date of the last change in force, for the consolidated current acts published by Lovdata (about 750 acts, in Norwegian). Searches titles only, not the text of the acts; use no_law_get to read one. Every answer carries data_as_of, answered_from and the NLOD licence attribution. Keyless.

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": {
      "limit": 5,
      "query": "straffeloven"
    },
    "name": "no_law_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum acts to return, default 10, max 50.
queryYesTitle words, short title, abbreviation or law number, e.g. "arbeidsmiljøloven", "personopplysningsloven", "mrl", "lov 21 mai 1999 nr 30".

Output Schema

NameRequiredDescriptionDefault
hintNo
lawsNo
noteNo
foundNo
queryNo
reasonNo
sourceNo
licenceNo
messageNo
returnedNo
data_as_ofNo
attributionNo
answered_fromNo
total_matchesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safe-read profile (readOnly, idempotent, non-destructive, open-world), yet the description still adds real substance: the Lovdata corpus size (~750 acts), the Norwegian-language scope, the exact return fields, and the metadata envelope (data_as_of, answered_from, NLOD attribution) and keyless access. It stops short of noting truncation or ranking behavior when many titles match.

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-loads the verb, resource and accepted key formats, then moves to output shape, scope limits and the sibling pointer. Dense but nearly every clause carries information; the licensing/attribution sentence is the only part that borders on boilerplate.

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?

For a two-parameter search tool with a full output schema, nothing an agent needs is missing: corpus, language, what is searched, what is returned, and where to go next are all covered. The output schema carries the return structure, so the description need not elaborate further.

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 baseline is 3, but the description goes further by adding a citation format the schema does not show ("1999-05-21-30" alongside "lov 21 mai 1999 nr 30"). The limit parameter's default/max is left entirely to the schema, which is acceptable given full coverage.

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 ("Find Norwegian acts (lover)") plus the four accepted lookup keys (title, short title, abbreviation, law number). It is immediately distinguishable from no_law_get, which reads the act text.

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?

Explicitly bounds the tool ("Searches titles only, not the text of the acts") and names the alternative for the excluded case ("use no_law_get to read one"). It also supplies concrete query shapes so the agent knows what a valid invocation looks like.

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.