Skip to main content
Glama

Kildeverk

Profile of a municipality

municipality_profile
Read-onlyIdempotent

One Norwegian municipality from several sources at once: population and its change (SSB), companies and largest employers with their results, schools, traffic counting points, electricity use and production capacity, and warnings in force. Accepts today's code, a code from before the 2020 or 2024 reforms, or a name.

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": {
      "municipality": "<municipality>"
    },
    "name": "municipality_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
municipalityYesA municipality code, old or current ('1201', '4601'), or a name ('Bergen').
employer_accountsNoGive the largest employers' latest revenue and result (one call each).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds that this fans out across several external sources including live data ('warnings in force'), which hints at latency and possible partial results, but it never states that explicitly, nor does it discuss failure of individual sources or cost of the employer-enrichment call.

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?

A single front-loaded sentence that identifies the resource first and then lists its payload; the enumeration is dense but each clause maps to something the tool actually returns. No filler or repetition.

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, the description carries the burden of telling the agent what comes back, and it does so at a category level across six domains, which is the right altitude for a broad profile tool. It is not complete about shape, nesting, or partial-source failure behavior, which an aggregating tool arguably should mention.

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 description coverage is 100%, so the schema already documents both parameters. The description only restates the accepted identifier forms ('today's code, a code from before the 2020 or 2024 reforms, or a name'), adding the useful reform-year context but nothing about the employer_accounts toggle or the cost of enabling 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 opens with a concrete subject and scope ('One Norwegian municipality from several sources at once') and then enumerates the exact data domains returned (population, companies, schools, traffic points, electricity, warnings). It is clear what the tool produces, but it never names or contrasts the closest siblings such as compare_municipalities or electricity_municipality.

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: the aggregation framing suggests 'use this when you need a broad picture of one municipality'. There is no explicit when-to-use/when-not-to-use statement, no pointer to compare_municipalities for multi-municipality questions, and no guidance on preferring the narrower sibling tools for a single data domain.

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.