Skip to main content
Glama

Kildeverk

Find a municipality or county

regions_resolve
Read-onlyIdempotent

Look up a Norwegian municipality or county by name or code, including former ones. Each match shows when the code was valid and what it is part of today, so 'Tromsø' returns 1902 (until 2019), 5401 (2020-2023) and 5501 (from 2024).

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": {
      "query": "<query>"
    },
    "name": "regions_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoLeave out to search both levels.
limitNo
queryYesA name or part of one (e.g. 'Tromsø', 'Viken') or a code (e.g. '1902').

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 readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description's real contribution is showing that one query returns multiple code-vintage matches with validity ranges and current parentage, which is useful return-content context, though it says nothing about no-match behavior or the effect of the limit parameter.

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?

Two sentences, front-loaded with the action and resource, then a concrete worked example. The Tromsø illustration is long but earns its place by demonstrating the multi-vintage return in a single line.

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?

With no output schema and only three parameters, the description carries the burden of return-shape disclosure and does so well via the worked example. Minor gaps remain: the limit parameter is unexplained and no-match behavior is unstated, but neither is likely to derail a correct call.

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 67%, with query and level already documented in the schema (level explicitly telling the agent to omit it to search both). The description's 'including former ones' meaningfully extends query semantics beyond the schema by indicating former names/codes also match, but the limit parameter remains undocumented in both places, so this sits at the baseline rather than above it.

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?

The description gives a specific verb ('look up') and resource ('Norwegian municipality or county by name or code') and adds the distinctive caveat 'including former ones', so an agent understands this is a historical-aware resolver rather than a plain list. It never names a sibling such as regions_list or regions_at_point, so differentiation is inferred from behavior rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer it should call this when it holds a name or code and needs the canonical code, but the description never states when to prefer it over regions_list or regions_at_point, nor any exclusions. The 'former ones' note hints at a specific use case (historical disambiguation) without spelling out the alternative path.

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.