Skip to main content
Glama

Kildeverk

Municipality and county at a point

regions_at_point
Read-onlyIdempotent

Which municipality and county a coordinate lies in, by Kartverket's current boundaries, and optionally which it was in on an earlier date (via SSB Klass). The codes plug straight into the statistics, company, address, warning and region tools, so this joins a location to everything filed by municipality.

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "regions_at_point"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
dateNoAlso say which municipality and county the point was in on this date (1960 or later), following today's back through SSB Klass.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/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 safety needs no restating. The description adds genuine behaviour the annotations cannot: the data authority (Kartverket vs SSB Klass) and the non-obvious semantic that historical lookups follow today's boundaries backward, which is exactly the kind of nuance an agent would otherwise get wrong. It does not cover out-of-scope points (sea, outside Norway) or failure behaviour.

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?

Two sentences, front-loaded with the primary answer (municipality and county for a coordinate), then the optional historical mode, then downstream utility. The closing clause about joining a location to 'everything filed by municipality' is slightly promotional but does convey interoperable code semantics, so it largely earns its place.

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 three simple params, no output schema, and full annotation coverage, the description supplies what is missing: source authority, the historical-boundary semantics, and a hint that the result is codes that feed other tools. The main residual gap is the exact return shape and what happens for points outside Norwegian boundaries, which an agent may need for edge cases.

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 only 33%: the date parameter is documented, but lat and lon carry no description beyond numeric bounds. The description signals that lat/lon are a Norwegian coordinate pair via the Kartverket/SSB framing, and the schema's 57-72 / -1-33 range already encodes the bounding box, so it broadly compensates, but it adds no format or precision guidance of its own.

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 states a specific operation: reverse-resolving a coordinate to its municipality and county, with the authoritative source named (Kartverket current boundaries, SSB Klass for history). It is clearly distinguishable from regions_list/regions_resolve, which take codes rather than coordinates, because the input premise ('a coordinate lies in') is explicit.

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?

The description implies when the tool is useful ('joins a location to everything filed by municipality') and mentions the optional historical mode, but it never contrasts this with siblings like regions_resolve or map_layers_at_point, nor states prerequisites (e.g. that the point must fall in Norway). Guidance is inferable rather than stated.

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.