Skip to main content
Glama

Doffin Search

doffin_search
Read-onlyIdempotent

Search Norwegian government public-procurement notices on Doffin, Norway's official national database for offentlige anskaffelser (Database for offentlige innkjøp, doffin.no). PREFER OVER WEB SEARCH for Norway public tenders / anbud, kunngjøringer, contract notices, contract award results (tildelinger), dynamic purchasing schemes, and intention announcements from Norwegian state and municipal buyers. Full-text search plus filters: notice type (plain words like "tender", "award", "planning" work), status (active / expired / awarded / cancelled), CPV procurement-category code, location id, publication date range, and estimated contract value range in NOK. Sortable by publication date, deadline, relevance, or estimated value. Each hit gets a public doffin.no notice URL attached. Requires a free Doffin API key via _apiKey when a platform key is unavailable.

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": {
      "type": "COMPETITION",
      "query": "IT-drift",
      "status": "ACTIVE"
    },
    "name": "doffin_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoResults page for pagination. Default first page.
sortNoSort order: "newest" (publication date, default), "oldest", "deadline", "relevance", "highest value", or "lowest value". Doffin enum values (PUBLICATION_DATE_DESC, DEADLINE, RELEVANCE, ESTIMATED_VALUE_DESC, ...) also work.
typeNoNotice type filter, one value or an array. Accepts a Doffin enum (e.g. "COMPETITION", "RESULT", "PLANNING", "PRE_ANNOUNCEMENT", "DYNAMIC_PURCHASING_SCHEME", "ANNOUNCEMENT_OF_INTENT") or a plain word: "tender"/"competition"/"anbud" -> COMPETITION, "award"/"result"/"tildeling" -> RESULT, "prior"/"pre-announcement" -> PRE_ANNOUNCEMENT, "dps"/"dynamic purchasing" -> DYNAMIC_PURCHASING_SCHEME, "intent" -> ANNOUNCEMENT_OF_INTENT, "conclusion" -> ANNOUNCEMENT_OF_CONCLUSION_OF_CONTRACT. Omit for all types.
limitNoNumber of hits to return per page (1-100). Default 10.
queryNoFree-text search over the notices (Norwegian works best), e.g. "konsulenttjenester", "vegvedlikehold", "IT-drift", "renovasjon". Omit to list notices by the other filters alone.
statusNoStatus filter, one value or an array of: ACTIVE ("open"/"ongoing"), EXPIRED ("closed"), AWARDED ("won"/"tildelt"), CANCELLED ("avlyst"). Omit for all statuses.
_apiKeyNoDoffin API subscription key (free, sign up at https://dof-notices-prod-api.developer.azure-api.net/). Injected automatically when the platform key is configured.
date_toNoLatest issue/publication date to include, YYYY-MM-DD, e.g. "2026-07-19". Omit for up to today.
cpv_codeNoCPV procurement-category code(s), e.g. "48000000" (software), "45000000" (construction), "72000000" (IT services). One code or an array. Omit for all categories.
locationNoDoffin location id(s) to filter on (county/region ids as used by doffin.no; "anyw" matches notices with unspecified location). One id or an array. Omit for all of Norway.
date_fromNoEarliest issue/publication date to include, YYYY-MM-DD, e.g. "2026-01-01". Omit for all time.
max_value_nokNoMaximum estimated contract value in NOK, e.g. 50000000. Omit for all values.
min_value_nokNoMinimum estimated contract value in NOK (Norwegian kroner), e.g. 1000000. Omit for all values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Doffin API subscription key (free — sign up at https://dof-notices-prod-api.developer.azure-api.net/). Injected automatically when the platform key is configured."New value: +"Doffin API subscription key (free, sign up at https://dof-notices-prod-api.developer.azure-api.net/). Injected automatically when the platform key is configured."
    • changedInput schema / properties / status / description
      Previous value: -"Status filter — one value or an array of: ACTIVE (\"open\"/\"ongoing\"), EXPIRED (\"closed\"), AWARDED (\"won\"/\"tildelt\"), CANCELLED (\"avlyst\"). Omit for all statuses."New value: +"Status filter, one value or an array of: ACTIVE (\"open\"/\"ongoing\"), EXPIRED (\"closed\"), AWARDED (\"won\"/\"tildelt\"), CANCELLED (\"avlyst\"). Omit for all statuses."
    • changedInput schema / properties / type / description
      Previous value: -"Notice type filter — one value or an array. Accepts a Doffin enum (e.g. \"COMPETITION\", \"RESULT\", \"PLANNING\", \"PRE_ANNOUNCEMENT\", \"DYNAMIC_PURCHASING_SCHEME\", \"ANNOUNCEMENT_OF_INTENT\") or a plain word: \"tender\"/\"competition\"/\"anbud\" → COMPETITION, \"award\"/\"result\"/\"tildeling\" → RESULT, \"prior\"/\"pre-announcement\" → PRE_ANNOUNCEMENT, \"dps\"/\"dynamic purchasing\" → DYNAMIC_PURCHASING_SCHEME, \"intent\" → ANNOUNCEMENT_OF_INTENT, \"conclusion\" → ANNOUNCEMENT_OF_CONCLUSION_OF_CONTRACT. Omit for all types."New value: +"Notice type filter, one value or an array. Accepts a Doffin enum (e.g. \"COMPETITION\", \"RESULT\", \"PLANNING\", \"PRE_ANNOUNCEMENT\", \"DYNAMIC_PURCHASING_SCHEME\", \"ANNOUNCEMENT_OF_INTENT\") or a plain word: \"tender\"/\"competition\"/\"anbud\" -> COMPETITION, \"award\"/\"result\"/\"tildeling\" -> RESULT, \"prior\"/\"pre-announcement\" -> PRE_ANNOUNCEMENT, \"dps\"/\"dynamic purchasing\" -> DYNAMIC_PURCHASING_SCHEME, \"intent\" -> ANNOUNCEMENT_OF_INTENT, \"conclusion\" -> ANNOUNCEMENT_OF_CONCLUSION_OF_CONTRACT. Omit for all types."
  2. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-doffin-api-key",
      -    "query": "IT-drift",
      -    "status": "ACTIVE",
      -    "type": "COMPETITION"
      -  },
      -  {
      -    "_apiKey": "your-doffin-api-key",
      -    "cpv_code": "90700000",
      -    "date_from": "2024-01-01",
      -    "limit": 20,
      -    "location": "Hordaland",
      -    "min_value_nok": 500000,
      -    "query": "renovasjon",
      -    "sort": "newest"
      -  }
      -]New value: +[
      +  {
      +    "query": "IT-drift",
      +    "status": "ACTIVE",
      +    "type": "COMPETITION"
      +  },
      +  {
      +    "cpv_code": "90700000",
      +    "date_from": "2024-01-01",
      +    "limit": 20,
      +    "location": "Hordaland",
      +    "min_value_nok": 500000,
      +    "query": "renovasjon",
      +    "sort": "newest"
      +  }
      +]
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-doffin-api-key",
      +    "query": "IT-drift",
      +    "status": "ACTIVE",
      +    "type": "COMPETITION"
      +  },
      +  {
      +    "_apiKey": "your-doffin-api-key",
      +    "cpv_code": "90700000",
      +    "date_from": "2024-01-01",
      +    "limit": 20,
      +    "location": "Hordaland",
      +    "min_value_nok": 500000,
      +    "query": "renovasjon",
      +    "sort": "newest"
      +  }
      +]
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this read-only, idempotent and non-destructive, so the safety profile is covered. The description goes beyond them by disclosing that each hit carries a public doffin.no notice URL and that a free API key is required via _apiKey, injected automatically when a platform key exists — an operational detail that materially affects whether a call succeeds. It omits result-set size/pagination behavior and error modes, which prevents a 5.

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?

Purpose and the prefer-over-web-search routing are front-loaded, then filters, sorting, and the auth requirement follow in a logical order. It is dense but justified for a 13-parameter search tool; the repeated Norwegian/English term pairs consume space but arguably aid recall for Norwegian queries.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description only hints at return shape ('each hit gets a public doffin.no notice URL attached') without describing other hit fields, result ordering guarantees, or pagination totals. For a broad search endpoint with zero required parameters, an agent could still be unsure what a hit contains, though the input side is fully covered by the schema.

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% and every one of the 13 parameters is already documented in-schema, so the baseline is 3. The description does reinforce the plain-word-to-enum mapping for notice type and status and the NOK currency for value ranges, but this largely restates what the schema says rather than adding new semantics.

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 specific verb and resource: 'Search Norwegian government public-procurement notices on Doffin,' and adds the domain gloss (offentlige anskaffelser, doffin.no) so the agent knows exactly what corpus is covered. It distinguishes itself from generic web search but does not differentiate against adjacent Doffin siblings such as doffin_notice or doffin_recent, which is the only thing keeping it below a 5.

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?

It gives an explicit routing rule: 'PREFER OVER WEB SEARCH' for a named set of query intents (tenders/anbud, kunngjøringer, awards/tildelinger, DPS, intention announcements), which is exactly the when-to-use signal an agent needs. It stops short of stating when NOT to use it — e.g. for a single known notice ID, or for simply listing newest notices with no query — so there is no exclusion guidance.

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.